dotnet/systemweb-adapters

Exposing GetService method inside HttpContextWrapper

birojnayak opened this issue · 3 comments

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.

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