Closed stephenpatten closed 7 years ago
Ensure you register a single instance of ILogger
:
builder.Register(c => ConfigureLogger()).As<ILogger>().SingleInstance();
otherwise it will be transient by default
Ensure you register a single instance of
ILogger
:builder.Register(c => ConfigureLogger()).As<ILogger>().SingleInstance();
otherwise it will be transient by default
What would be its equivalent in MVC5?
Hello,
Given the following setup in an ASP.Net website startup:
I'm wondering what might be causing multiple files to be generated as shown in the attached screenshot.
Thank you, Stephen