LazyCache 2.0 released

LazyCache is a library that makes it easy for developers to add in-memory caching to dotnet apps. Version 2 is a major rewrite to change from the .Net Framework 4.5 to Netstandard 2.0, and is now available from nuget.org/packages/LazyCache. Getting started Install from nuget: dotnet add package LazyCache --version 2.0.0 And then cache object that are slow or expensive to produce: IAppCache cache = new CachingService(); Func<ComplexObjects> complexObjectFactory = () => methodThatTakesTimeOrResources(); ComplexObjects cachedResults = cache....

March 22, 2019 · 2 min · 414 words · Alastair Crabtree

Sites worth reading for .net developers | Mar 2016

Some stuff I have read in the last couple of weeks that I think are worth checking out, mostly new but some old stuff too. All worth subscribing to. ASP.NET Core is approaching its full release and the polish is starting to shine. Using Kestral it passed node in some benchmark perf a while back, and now it’s getting silly. 1 million requests a second | ageofascent.com 3 top notch free videos from Thoughtworks and Martin Fowler, especially the last one on microservices....

March 16, 2016 · 2 min · 298 words · Alastair Crabtree

Sites worth reading for .net developers | Feb 2016

Some stuff I have read in the last couple of weeks that I think are worth checking out, mostly new but some old stuff too. All worth subscribing to. The command line tooling shipped with git for windows is pretty useful, even if you are not using git itself. I often find myself dropping into the bash shell for ls, touch, less, and grep and Matt Wrock gives another useful tip....

February 29, 2016 · 2 min · 320 words · Alastair Crabtree