DEV Community

Discussion on: the new features of AutoMapper in .net

Collapse
 
mincasoft profile image
mincasoft

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

Collapse
 
diogenespolanco profile image
Diógenes Polanco

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

You can install it from nuget:
dotnet add package Autofac