Move IServerVariables feature and friends to Http.Abstractions
See original GitHub issueThe IIS server adds an HTTP feature IServerVariablesFeature. Server Variables are not an IIS-exclusive concept and date all the way back to CGI so it seems reasonable that a server may want to provide them. We should move this type out of Servers.IIS and in to HttpAbstractions.
Specific changes:
- Move
IServerVariablesFeatureto Http.Features - Add
GetServerVariablesextension method in Http.Features. - Change
GetIISServerVariablesextension method to just callGetServerVariables(and mark as[Obsolete]?) - Update all reference assemblies
- Add
TypeForwardedToAttributetoServers.IIS’sAssemblyInfo.cspointing at the new type.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Move IServerVariables feature and friends to Http. ...
The IIS server adds an HTTP feature IServerVariablesFeature. ... Move IServerVariables feature and friends to Http.Abstractions #10167.
Read more >Microsoft.AspNetCore.Http.Features split up - .NET
Http.Features package has been split, and no longer ships as a package. ... The following types have been moved to the new Microsoft....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Type forwarding IServerVariablesFeature would be compatible, no? Unless you change the namespace.
GetIISServerVariables can stay for compat, GetServerVariables would be a new extension method. Note GetServerVariables does not go in Http.Features, it would go into Http.Extensions.
Acceptance checklist (check one item)