Articles on Dotnet

Last updated: 2023/03/24

Top deep-dives on Dotnet

CQRS and MediatR in ASP.NET Core

So we've had posts about design patterns (forgot that word last time). And it's because I like them. Like I said before, I feel like a lot of time and decision effort is lost when you're building out a big project and maybe forget how you've been doing things. Well this article presents two different patterns, then goes on to explaining how these patterns are used in the MediatR library for networking in ASP.NET.

File IO improvements in .NET 6

Reading from/writing to files is going to a play a role in most systems, making it a crucial feature of any language/framework. Well with .NET 6, there have been a number of changes to the FileStream class. In this expansive article, Adam Sitnik covers all of the improvements for FileStream that fall under performance, thread-safe file IO, scatter/gather IO, and some breaking changes.

How Async/Await Really Works in C# - .NET Blog

The support for asynchronous programming in C# and .NET has been around for over a decade. In that time, it’s transformed how scalable code is written for .NET. Stephen Toub dives into the history leading to, the design decisions behind, and implementation details of asynchronous programming in C# and .NET.
Some highlights:

  • .NET has a universal representation for any asynchronous operation
  • C# and the compiler are capable of rewriting normal control flow into a state machine implementation of coroutines
  • There are established patterns that bind everything together

Performance Improvements in .NET 7

The Stephen Toub writes about how performance is a key focus in the development of .NET 7 and how there has been a lot of progress made in this area in the last year. Stephen goes on to say that there are almost 1000 performance-related Pull Requests (out of 7000 total). The article covers: JIT, GC, Native AOT, Mono, Reflection, Interop, Threading, Primitive Types and Numerics, Arrays, Strings, and Spans, Regex, Collections, LINQ, File I/O, Compression, Networking, JSON, XML, Cryptography, Diagnostics, Exceptions, Registry, and Analyzers. It's way too long for highlights, just read it.

Creating a Static Web Content Project for Publishing with WebDeploy

Rick Strahl presents how to deploy a static website with .NET Core and Visual Studio.

(Re) Introducing Jasper as a Command Bus

Jeremy D. Miller reveals a new version of a .NET open source library he's developed for in memory command bus or asynchronous messaging in applications.

Want to see more in-depth content?

subscribe to my newsletter!

Other Articles