ConcurentDictionary has one specific feature: in some cases it may not behave exactly as you'd expect. Here is a small example.
Eyes wide open - Correct Caching is always hardIn my last post I talked about Caching and some of the stuff I've been doing to cache the results of a VERY expensive call to the backend that hosts my podcast. As always, the comments are better than the post! Thanks to you, Dear Reader.
Making ConcurrentDictionary GetOrAdd thread safe using LazyI was browsing the ASP.NET Core MVC GitHub repo the other day, checking out the new 1.1.0 Preview 1 code, when I spotted a usage of ConcurrentDictionary that I thought was interesting.
Supercharger : Visual Studio MarketplaceXamarin allows you to build native Android, iOS, and Windows applications using .NET. Common patterns, such as MVVM, combined with good application layering, will maximize code sharing and result in an application that is easier to understand, test and maintain.
Implementing Authentication and Authorization with ASP.NET Core 2 - Chris KlugAuthentication and authorization is not a fun topic for most people. It is generally that thing that has to be there, but nobody really cares about. And on top of that, every time the requirements are a little different. And every time we have to figure out how to write all the plumbing to get it do
Dependency Injection revisited - Mark SeemannOver the last decade, Dependency Injection has moved from obscurity into the realm of something that every library and framework must address. During the same time, functional programming has gathered much interest. Dependency Injection is an attempt to control non-deterministic behaviour, but the w
The State of C# - What Have I Missed - Filip EkbergOne of the most popular programming language on the market is getting even better. With every iteration of C# we get more and more features that are meant to make our lives as developers a lot easier. Support for writing (hopefully) better and more readable asynchronous code, being able to do patter
C# 8 - Jon Skeet and Mads TorgersenJust in case the stream of C# 7 point releases hasn't given you enough to think about, let's have a look at what might be in C# 8.Nullable reference types? Shapes? Extension everything? One thing's for sure: this talk won't be pinned down until it's being delivered...
Introduction to Software ArchitectureThis lecture, recorded at the University of Colorado Boulder in September 2012, is an introduction to the major concepts of software architecture. The audience consisted of 70 seniors majoring in computer science. It is based on material taken from the book Just Enough Software Architecture.Most d
This Read-It-Later-list is just that, bookmarks of stuff I intend to read or have read. I do not necessarily agree with opinions or statements in the bookmarked articles.
This list is compiled from my Pocket list.