Last post Mar 09, 2017 09:21 AM by AngelinaJolie
Mar 07, 2017 03:31 PM|MetRec72|LINK
Hi, I have an asp.net WebForms application (target framework 4.0).
The most important pages, are dynamically rendered from a server side component that inherits from the System.Web.UI.WebControls.CompositeControl. A big number of inner controls are instantiated in this CompositeControl.
I would like to execute the porting of the application to ASP.NET Core MVC. I know that, ASP.NET WebForms is not a good candidate to this kind of porting. Anyway, as far as business logic dlls, the .NET Compatibility Diagnostic Tool measured a compatibility
of about 99% to the .net core platform. The most obstacles refers to the System.Web.UI.WebControls classes of the application's user interface, that are not supported in .net core platform.
If it was not possible to reference an asp.net core dll from an asp.net web form project, what could be the best and the faster approach to re-implement the WebForms application's code behind (and in particular the CompositeControl logic) in ASP.NET Core
Thanks in advance for your attention.
Mar 08, 2017 12:46 AM|MetRec72|LINK
is there any utility to ease or automate the porting, supporting the process of code-behind's conversion in cshtml code?
Mar 08, 2017 01:19 AM|markfitzme|LINK
There's nothing on the market that would of great value that I have seen yet. The primary reason is the stack of technologies can be completely different as well as the design approach. The heavy grids of webforms can be replaced by lightweight HTML/CSS
There are tools like IronSpeed, but I haven't seen them applied to asp.net core yet as it's still fresh and doesn't have functional parity with the full .Net framework.
Mar 09, 2017 09:21 AM|AngelinaJolie|LINK
No ,the core doesn't support Web Form any more ,and no very good way to achieve migration .
Just like this