Italian way of code

Latest articles

Testing internal members with InternalsVisibleTo

Internal members can be accessed only within the same assembly. And for different assemblies? Here's for you the InternalsVisibleTo attribute!

2020-Jun-024 Min Read

Dependency Injection lifetimes in .NET - my epiphany

Singleton, Scoped and Transient: these are the possible lifetimes for DI with .NET Core. How do they change the way objects are constructed?

2020-May-267 Min Read

5 more things about enums in C#

We've already seen some of the things you should know about enums in C#. Here we'll dive into Flagged enumerations, serialization and so on.

2020-May-195 Min Read

First steps with Docker: download and run MongoDB locally

Docker is a project that allows you to create and run applications in an isolated environment. Let's try it to run MongoDB on your machine!

5 things you didn't know about enums in C#

Enums are often used with C#. Boring, right? Maybe there is something you didn't know: casting, parsing and flagged enums.

Logging with Serilog and Seq

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.