Comments (21)
Just published a final beta (3). Assuming no-one has any issues I can release in a few days. Also need to finish updating the docs to version 2.0. For those upgrading from version 0.7 I have added some upgrade docs at https://github.com/alastairtree/LazyCache/wiki/upgrade-to-2
from lazycache.
I have started work on this, and the basics are now working. Decided to target netstandard 2 and there are a number of breaking changes so this will be a major bump to version 2.0. Feel free to check out https://github.com/alastairtree/LazyCache/tree/feat/netcore2 if you are keen. Any feedback is welcome, and let me know if you think the breaking changes are unreasonable - I hope they should be very quick to fix. If you are really keen the latests nupkg is available at https://ci.appveyor.com/project/alastairtree/lazycache/build/artifacts but I think it still needs some work so not a proper release yet.
from lazycache.
Any news on this?
from lazycache.
Well done @alastairtree , hope my little contribution helped, we are converting over to use your "official" LazyCache in our core library (replacing my temp one).
from lazycache.
Final beta (3) was published in May (to be released in a days). Is there any reason that release didn't happen?
from lazycache.
The library to depend on now seems to be Microsoft.Extensions.Caching.Memory which is a .NETStandard 1.3 and .NETFramework 4.5.1 library.
from lazycache.
There is now a beta version of LazyCache 2.0 for netstandard 2 on nuget.org. Feedback most welcome.
dotnet add package LazyCache --version 2.0.0-beta02
In addition there are a set of dependency injection bindings available:
dotnet add package LazyCache.AspNetCore --version 2.0.0-beta02
from lazycache.
Version 2.0.0-beta02 has been released to nuget.org with some minor refactorings and a new GetOrAdd method that allows the cache item factory/lamda define the cache duration/expiry at execution time rather than in advance, see #5 for an example.
from lazycache.
It's very nice version, i'm using and it's so much fast.
from lazycache.
Thank you for your efforts!
from lazycache.
.NET Core and full .NET are likely to be used alongside each-other for years.
Is it practical to support both caching methods?
from lazycache.
What about .net core support? Are you going to release dot net core version of this product?
from lazycache.
+1, netstandard makes it simpler.
from lazycache.
Agree we want to make this netstandard at this point, and 1.3 would be a good place to aim for. Also worth looking at the memory/distributed options in dotnetcore as these also have nicer APIs than the old .net4 ones. See
https://docs.microsoft.com/en-us/aspnet/core/api/microsoft.extensions.caching.memory
https://docs.microsoft.com/en-us/aspnet/core/api/microsoft.extensions.caching.distributed
from lazycache.
Any news?
from lazycache.
I have a working version that is multi-targeted to net45, net46, and netstandard2.0 see #24
from lazycache.
Great - it looks like the beta version works with .Net Core 2.0.
from lazycache.
Are there any blockers for this issue to get resolved?
btw, great work on this!
from lazycache.
Any idea by when can LazyCache.AspNetCore 2.0.0 final version release? Due to some reason, I am not allowed to use beta.
from lazycache.
Would love to know when the final version will be released.
I'm unfortunately not allowed to use the beta version. Thanks!
from lazycache.
Quick note to say docs are updated, last few tweaks completed and final version 2.0.0 has been released to nuget.org. Sorry it took so long!
from lazycache.
Related Issues (20)
- Get doesn't call function delegate added with Add HOT 4
- Named binding error after upgrading ninject package HOT 1
- LazyCache.TryGetValue appears to return null value HOT 17
- Create a sectioned IAppCache
- how do I clean the cache items by wildcard of a key HOT 2
- Add TryGetValueAsync that evaluates GetValueFromAsyncLazy HOT 1
- Cache eviction policy when cache is full? HOT 1
- Absolute expiration does not work v2.4.0 HOT 1
- Implement MemoryCache.Trim() to allow explicit removal
- LongRunning shouldn't run more than once HOT 1
- About Cache availability mechanism HOT 2
- CachingService.TryGetValue returning wrong value HOT 2
- Cannot dispose of cache HOT 3
- How to create separate caches? Not seeing how this is done. HOT 1
- Do you have plans to upgrade to dotnet7 HOT 5
- Question/Proposal on the limit of Cache keying to strings vs. "TKey"
- Is it possible to have some kind of management console to show the list of keys and their expiry?
- Bug in Wiki: Why does the Cancellation Tokens example use two CancellationTokenSource?
- Singleton constraint conflict if IMemoryCache already exists
- Is it possible to set the maximum size limit of the LazyCache as is possible in IMemoryCache by MS? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazycache.