If you have any I/O-bound needs (such as requesting data from a network or accessing a database), you'll want to utilize asynchronous programming. You could also have CPU-bound code, such as performing an expensive calculation, which is also a good scenario for writing async code.
Async/Await - Best Practices in Asynchronous ProgrammingThese days there’s a wealth of information about the new async and await support in the Microsoft .NET Framework 4.5. This article is intended as a “second step” in learning asynchronous programming; I assume that you’ve read at least one introductory article about it.
What is a website that everyone should know about but few people actually know about?Of course not otherwise how else will the great Pearson stay afloat? /s Someone created an algorytm that wrote every possible 1000 digit paragraph bthat features lowercase letters and the punctuation marks , . and ? With a space of course.
A little trick when working with ConcurrentDictionaryConcurentDictionary 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
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.