(Felipe Martínez Tabaco) C# has many lesser known features, some more useful than others, and one of them is the ConditionalWeakTable (keep in mind that TKey and TValue must be reference types).
Tag: Development
Pipeline Implementations in C#: TPL Dataflow Async steps and Disruptor-net
(Michael Shpilt) In this 3rd part of the series, we’ll continue our journey to explore multi-threaded pipeline pattern implementations in C#. Let’s do a quick recap of the previous parts:
REST And GraphQL Are Not Your Only Choices When Building An HTTP API
(Ben Nadel) I don’t believe that the web development community is having an honest discussion about GraphQL. This is because, GraphQL is almost exclusively presented as an alternative to REST (Representational State Transfer).
Totally unsupported hacks – Add Windows Terminal to the Win+X Shortcut menu
(Scott Hanselman) You shouldn’t do this and if you choose to do this you may hurt yourself or one of your beloved pets.
Asynchronous Producer Consumer Pattern in .NET (C#)
(Alex Basiuk) Microsoft created in a new API in .NET Core some time back which is effectively a recommended option for producer consumer now.This article introduces this new .NET API for implementing asynchronous version of the producer-consumer pattern.
How to Handle Multiple HttpClients in the Same ASP.NET Core Application
(Peter Vogel) It’s not impossible that you’re accessing several different methods from the same Web Service in your application.
Avoid multithreading traps with Roslyn: Lock object selection
(cezarypiatek) Multithreading is one of the most difficult aspects of programming and can cause a lot of headaches. The main source of problems is often improper usage of synchronization mechanisms, which can result in deadlocks or a complete lack of synchronization despite our expectations.
Change Default Location Of Views And Razor Pages In ASP.NET Core
(Bipin Joshi) ASP.NET Core MVC web applications typically store view files under Views folder and Razor Pages are stored under Pages folder.
Solutions Don’t Have To Work For Everyone
(Ben Nadel) I used to believe that when I added a new feature to a web application, said feature had to help all users. But, as I’ve grown older – and I’ve had to operate under greater constraints at work – I’ve come to embrace the idea that solutions don’t have to work for everyone.
Docker for PHP: A Start-to-Finish Guide
(Kevin Cunningham) You’ve probably seen mentions of Docker over the past few years. This guide explains the basics so you can get up and running with Docker for PHP in your local development environment.