BenchmarkDotNet allows you to test the performance on .NET methods. So let’s answer a question: is the Enum.HasFlag method really that slow?
Continue reading
Internal members can be accessed only within the same assembly. And for different assemblies? Here’s for you the InternalsVisibleTo attribute!
Continue reading
Singleton, Scoped and Transient: these are the possible lifetimes for DI with .NET Core. How do they change the way objects are constructed?
Continue reading
Having a robust logging system is crucial for any application. There are many tools, and one of these is Serilog. Here you’ll learn how to use it in a .NET application and how to integrate it with Seq.
Continue reading
Azure Functions are one of the best examples of serverless applications. By default you can’t use Dependency injection: here’s how you can configure it by adding the Startup class.
Continue reading