DEV Community

Discussion on: the new features of AutoMapper in .net

mincasoft profile image

How to register as singleton in real app .NET Framework, such as WPF

diogenespolanco profile image
Diógenes Polanco Author

Well this article does not talk about patterns but if you need to use Singleton in .net I recommend using this package that will help you implement dependency injection.

You can install it from nuget:
dotnet add package Autofac