资讯

Simple Injector demo in ASP.NET Core MVC To demonstrate dependency injection using Simple Injector, we’ll first create a service, but only with minimal implementation for the sake of simplicity.
Click Create. In the “Create New ASP.NET Core Web Application” window shown next, select .NET Core as the runtime and ASP.NET Core 3.1 (or later) from the drop-down list at the top.