Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Produce a System.Web.HttpContext adapter based on ASP.NET Core HTTP types #40001

Closed
17 of 22 tasks
pranavkm opened this issue Feb 4, 2022 · 6 comments
Closed
17 of 22 tasks
Assignees
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Milestone

Comments

@pranavkm
Copy link
Contributor

pranavkm commented Feb 4, 2022

This is part of our effort to allow migrating apps targeting .NET Fx / System.Web to .NET Core. We'd like to enable users targeting .NET Framework, and possibly .NET Standard class libraries, to target a library that shims System.Web.HttpContext and related types that are implemented using Microsoft.AspNetCore.Http types. Users could then cross-compile their libraries, referencing these types
and run their apps on .NET Core with minimal changes to existing code.

This issue tracks

@pranavkm
Copy link
Contributor Author

pranavkm commented Feb 4, 2022

FYI @twsouthwick

@nil4
Copy link
Contributor

nil4 commented Feb 5, 2022

Something similar to dotnet/corefxlab#2940 ?

@pranavkm
Copy link
Contributor Author

pranavkm commented Feb 5, 2022

@nil4 not particularly. That one is a ref-only assembly to make it possible to compile code that uses System.Web types. This would let you run the same code by shimming the implmentaiton.

@adityamandaleeka adityamandaleeka added this to the .NET 7 Planning milestone Feb 7, 2022
@ghost
Copy link

ghost commented Feb 7, 2022

Thanks for contacting us.

We're moving this issue to the .NET 7 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@adityamandaleeka
Copy link
Member

Moving this to Preview 3 tentatively since this is actively being worked on.

@twsouthwick twsouthwick changed the title Produce a System.Web.HttpContext shim based on ASP.NET Core HTTP types Produce a System.Web.HttpContext adapter based on ASP.NET Core HTTP types Feb 16, 2022
@adityamandaleeka
Copy link
Member

@twsouthwick I'm closing this since further work will be tracked in the systemweb-adapters repo.

@ghost ghost locked as resolved and limited conversation to collaborators Jul 3, 2022
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

No branches or pull requests

5 participants