Giter Site home page Giter Site logo

Support dot net core about lazycache HOT 21 CLOSED

alastairtree avatar alastairtree commented on June 8, 2024
Support dot net core

from lazycache.

Comments (21)

alastairtree avatar alastairtree commented on June 8, 2024 7

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.

alastairtree avatar alastairtree commented on June 8, 2024 3

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.

PureKrome avatar PureKrome commented on June 8, 2024 2

Any news on this?

from lazycache.

matthewacme avatar matthewacme commented on June 8, 2024 2

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.

bradbamford avatar bradbamford commented on June 8, 2024 2

Final beta (3) was published in May (to be released in a days). Is there any reason that release didn't happen?

from lazycache.

bbrandt avatar bbrandt commented on June 8, 2024 1

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.

alastairtree avatar alastairtree commented on June 8, 2024 1

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.

alastairtree avatar alastairtree commented on June 8, 2024 1

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.

AugustoDeveloper avatar AugustoDeveloper commented on June 8, 2024 1

It's very nice version, i'm using and it's so much fast.

from lazycache.

burnchar avatar burnchar commented on June 8, 2024 1

Thank you for your efforts!

from lazycache.

burnchar avatar burnchar commented on June 8, 2024

.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.

artstalker avatar artstalker commented on June 8, 2024

What about .net core support? Are you going to release dot net core version of this product?

from lazycache.

Nucs avatar Nucs commented on June 8, 2024

+1, netstandard makes it simpler.

from lazycache.

alastairtree avatar alastairtree commented on June 8, 2024

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.

Tersken avatar Tersken commented on June 8, 2024

Any news?

from lazycache.

matthewacme avatar matthewacme commented on June 8, 2024

I have a working version that is multi-targeted to net45, net46, and netstandard2.0 see #24

from lazycache.

lookingcloudy avatar lookingcloudy commented on June 8, 2024

Great - it looks like the beta version works with .Net Core 2.0.

from lazycache.

TrevorVonSeggern avatar TrevorVonSeggern commented on June 8, 2024

Are there any blockers for this issue to get resolved?

btw, great work on this!

from lazycache.

avikenjale avatar avikenjale commented on June 8, 2024

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.

agltestshr avatar agltestshr commented on June 8, 2024

Would love to know when the final version will be released.
I'm unfortunately not allowed to use the beta version. Thanks!

from lazycache.

alastairtree avatar alastairtree commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.