ASP.NET Core 5: Make your options immutable

added by DotNetKicks
8/19/2020 4:14:20 PM

558 Views

If you've been using ASP.NET Core 5 for a while, you'll be delighted to learn that a major improvement of C# 9, in other words C# 9 (delivered with .NET 5) that allows the creation of immutable objects through Init-only properties. As a result, you'll have the ability to set up your application options so that they're immutable.


0 comments