Exposing GetService method inside HttpContextWrapper
birojnayak opened this issue · 3 comments
birojnayak commented
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.
twsouthwick commented
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
twsouthwick commented
@birojnayak I'm assigning this to you :)
twsouthwick commented
Fixed in #457