Starting with .NET 4.7.2 (released April, 30st, Microsoft offers an endpoint to plug our favorite dependency injection container when developing ASP.Net Webforms applications , making possible to inject dependencies into UserControls, Pages and MasterPages.
See blog post: USING ASP.NET WEBFORM DEPENDENCY INJECTION WITH .NET 4.7.2 for addtional details