.NET 4.7.2 Dependency Injection in ASP.NET WebForms Website - Constructor injection not working
问题 We are currently working with an older project (ASP.NET Web Forms Website) and trying to see if we can set up dependency injection for it. Need to emphasize: this is NOT a Web Application project... it's the older type, the Website. It is currently targeting .NET 4.7.2: <httpRuntime targetFramework="4.7.2" /> So far, we've included the NuGet package: <package id="Microsoft.AspNet.WebFormsDependencyInjection.Unity" version="1.0.0" targetFramework="net472" /> Defined some dummy interface and