Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Ported to .NET Core #15

Open
VahidN opened this issue Sep 18, 2016 · 2 comments
Open

Ported to .NET Core #15

VahidN opened this issue Sep 18, 2016 · 2 comments

Comments

@VahidN
Copy link
Owner

VahidN commented Sep 18, 2016

I've ported this library to .NET Core. You can find it here:
https://github.com/VahidN/EFSecondLevelCache.Core

This version supports a lot different cache providers including Redis, because it uses the CacheManager library as an infrastructure.

@Ramin-Bateni
Copy link

Ramin-Bateni commented May 4, 2018

Hi dear @VahidN.
You direct us in the Redis issues of this repository to EFSecondLevelCache.Core but my project is MVC. Can I use EFSecondLevelCache.Core in a MVC project that is not MVC Core?!

I used this library and it works InMemory. Now I want use this library with Redis cache provider. But I dose not know how and where should I configure EF Cache provider to use Redis Cache Provider.

  • May you please write about how should I set Redis as EF Second Level Cache?
    and
  • If you know a safe sample of RedisCacheProvider class please give me a link.

Note: I use StructureMap

Thank you.

@VahidN
Copy link
Owner Author

VahidN commented May 4, 2018

Can I use EFSecondLevelCache.Core in a MVCproject that is not MVC Core?!

Yes. But you should use EF Core with it and not EF 6.x.
You can use all of the .NET Standard based libraries with Full .NET framework too. If a library supports .NETStandard 1.3, it means it's usable in .NETFramework 4.5.1+ apps and if a library supports .NETStandard 2.0, it means it's usable in .NETFramework 4.6.1+ apps. EFSecondLevelCache.Core supports both of them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants