Closed birojnayak closed 8 months ago
Looks like HttpContextWrapper does not override HttpContextBase.GetService, so it should do that. Also, it may be worthwhile to update System.Web.HttpContext.GetService
to delegate out to Microsoft.AspNetCore.Http.HttpContext.RequestServices
so the IServiceProvider
off of the System.Web.HttpContext
types is actually useful
@birojnayak I'm assigning this to you :)
Fixed in #457
Wanted to know if there is any limitation on exposing GetService method inside HttpContextWrapper reference source. This would help my porting effort in Webform as mentioned in the issue.
If there are no limitation, would be happy to contribute.