All posts with Tag .NET 11

Preview image blogpost

BackgroundService exceptions now propagate in .NET 11

Here's a bug that lived in .NET for over four years As in: Reported over 4 years ago. If your BackgroundService threw an exception after its first await, your host would catch it, log a critical message, and then exit cleanly with exit code 0.

So everyone would think it terminated successfully. That got fixed!

Read the whole article

Preview image blogpost

ConfigurationIgnoreAttribute in .NET 11

Microsoft.Extensions.Configuration has had ConfigurationKeyNameAttribute since .NET 6 which it lets you rename the key a property maps to. But there was never an official way to say "don't bind this property at all." That gap is finally closed in .NET 11 with ConfigurationIgnoreAttribute.

Read the whole article

Preview image blogpost

FullJoin in .NET 11 - potentially

We have Join. We have LeftJoin. We have RightJoin. But somehow we still don't have a proper full outer join in LINQ. That might come soon!

Read the whole article

Preview image blogpost

Mime Type Helper in .NET 11

New helper will be available with .NET 11: MediaTypeMap.GetMediaType and MediaTypeMap.GetExtension which makes the web-development a bit easier!

Read the whole article

An error has occurred. This application may no longer respond until reloaded.Reload x