Autofac In ASP NET Core - How To Avoid This Debugging Nightmare
Learn how to use Autofac in ASP NET Core applications with only a couple of lines of code! Avoid this common problem when setting up dependency injection.
In-depth C# and .NET tutorials covering structured logging with Serilog, building Roslyn analyzers, NuGet packaging, and other core language and tooling topics.
Showing 169–174 of 264 articles
Learn how to use Autofac in ASP NET Core applications with only a couple of lines of code! Avoid this common problem when setting up dependency injection.
Using reflection in DotNet to create object instances? See the performance of ConstructorInfo compared to other methods provided by reflection in DotNet!
Let's compare Activator.CreateInstance vs Type.InvokeMember! Check out this head to head battle for ways to create instances using reflection in dotnet!
Learn how to safely use async event handlers in C#. Understand the dangers and discover best practices for managing async event handlers in your C# code.
Learn how to automatically cast between types in C#! Leveraging implicit operators in C#, we can do away with explicit casts to convert between types.
Learn why async void methods in C# can be dangerous with clear code examples. A perfect for beginner software engineers wanting to understand the risks.