Filter by topic
Our latest updates and announcements from Microsoft Build including .NET Aspire, .NET 9 Preview 4, C# 13, Blazor, .NET MAUI, and more!
.NET Aspire Preview 2 is now available and includes many improvements and new capabilities.
In this post I show how you can add redaction to your [LogProperties] and [TagProvider] objects using the Microsoft.Extensions.Compliance.Redaction package
In this post I describe the changes to .NET 8 docker files in .NET 8 including changes to images, new image types and changes to image tagging
In this article, you will learn about Stack v/s Heap Memory - C#.
Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications.
Analyzers did become an integral part of the .NET ecosystem. Their main responsibility is to find potential code issues and warn you. Often times this comes even with potential fixes you can directly apply. And Microsoft will continue this journey with the upcoming .NET 8 release. This blog post will show you potential candidates, which will make the cut.
In preparation for my latest talk on Tactics for Building Background Services in .NET, I've been working on a sample project to demonstrate the concepts. It's amazing how much easier it is to build Window Services today than it used to be!
In this article we will be adding AutoMapper to our AspNetCore 6 application. You can watch the... Tagged with dotnet, automapper, csharp, aspnetcore.
Here's a quick example using IOptions with .NET 6 API Endpoints.
Read the Code Review Guidelines for .NET Developers, which describes best practices of the peer review process.
Whether you’re starting out with a new project or refactoring a mature codebase, good folder and file organization makes your life less stressful.
.NET Core 3.1 will reach end of support on December 13, 2022, this blog breaks down all the valuable information you need to know and how to update to .NET 6.0.
This post looks at viewing configuration values, which is useful when you want to find out where a value came from
As some of you know, I do a lot of public speaking and blogging, although the blogging seems to have taken a vacation lately :smile:. One of the side effects of blogging and speaking is that I have a lot of versions of .NET on my machine, along with other software. Today, after installing the latest version of .NET, I took a look at what versions of the SDK and runtime I have on my machine. I was a bit surprised to see that as to how many versions of .NET were on my machine.
In this post, I describe how to use round-robin DNS using HttpClient in a .NET application.
gRPC JSON transcoding is a new feature for .NET that allows gRPC services to be called with REST + JSON. Try it now in .NET 7 preview 4.
This is a quick post to show how to configure a .NET 5.0 API to allow CORS requests from any origin as well as with credentials.
Let's take a look at how you can add code metrics and diagrams for your open-source .NET repositories with GitHub Actions.
Announcing .NET 7 Preview 1, the first preview of a major .NET version that will focus on app modernization, cloud native, containers and more.
An article about benchmarks of the open-source eCommerce platform after migrating to the latest Microsoft technology, .NET 6.
In this article, we are going to do a small demo on integrating Azure Redis Cache into the AspNetCore Application using Distributed cache
In this post, I describe how to automatically update all of the files to use File Scoped Namespaces (C# 10 feature).
.NET 6 is now available. It is easier to use, runs faster, and has many new features.
.NET 6 Release Candidate 2 is now available.
Dealing with access tokens (including renewal) in dotnet.
Debugging our .NET applications can be cumbersome. With the DebuggerDisplay attribute we can simplify it by displaying custom messages.
In this post, we explore the DateOnly and TimeOnly types introduced in the .NET 6 core library for representing dates and times independently.
The ZipArchive wraps any stream to read, create, and update ZIP archives. You can send the result to the client using ASP.NET MVC, Razor Pages, and endpoints.
Resilient microservices can be a challenging endeavour. We look at how the .NET library Polly helps us overcome some of the common problems.
It's a new year and sure to be on your list, as well as mine, is learning. Here is a quick list of some .NET learning resources for you to check off that resolution for 2020.
I had a reader send me a question yesterday. She basically wanted to use her existing .NET Framework libraries in an ASP.NET Core application, and it wasn't ...
An exception is thrown when an error is encountered in a running application, whether from bad code or bad user input. This post describes when and how to raise the ArgumentException and InvalidOperationException standard .NET exception types.