WebForms port to ASP.NET Core seeks publicity #59620
Unanswered
simonegli8
asked this question in
Ideas
Replies: 2 comments 2 replies
-
This would be great for the next .net Community Standup. I am curious how you have implemented the solution, what's the interaction between asp.net core and the legacy webforms code. |
Beta Was this translation helpful? Give feedback.
2 replies
-
"Some features are still lacking as for example sharing of authentication & session state between ASP.NET Core and WebForms." - I wonder if you could use System.WebAdapters for this task. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've ported the WebForms libraries as available in the Reference Source to ASP.NET Core as an OpenSource project on GitHub. Unfortunately my project does not appear on google if one searches for "WebForms for ASP.NET Core" so very few people know about it. I'd be very grateful, if some Microsoft people could write a blog post about my library, so it gets a bit more publicity. The library is just a port of all the System.Web dll's to NET Core, and some middleware to call it from ASP.NET Core. With the aid of this library, one can run ordinary WebForms legacy projects on ASP.NET Core, also on Linux. The library is on GitHub here: https://github.com/webformsforcore/WebFormsForCore. There's also a minimal website about it here. A video tutorial on how to convert a simple WebForms site to ASP.NET Core can be found here.
We successfully ported the SolidCP Control Panel, a huge WebForms code base, to ASP.NET Core & Linux with the aid of this library. The goal of running SolidCP on Linux without porting everything to Blazor was also my motivation of creating WebFormsForCore. There is also another similar commercial project CoreForms, but it's license is very expensive. Also there are a few projects on GitHub WebFormsCore & CoreWebForms that don't provide a port of System.Web but only of part of the functionality, but those projects don't allow to port existing WebForms to NET Core without modification.
Greetings & Blessings,
Simon
Beta Was this translation helpful? Give feedback.
All reactions