BlazorWebFormsComponents icon indicating copy to clipboard operation
BlazorWebFormsComponents copied to clipboard

Suggestion: dotnet global tool to convert ascx to razor

Open SQL-MisterMagoo opened this issue 5 years ago • 6 comments

It would be a great companion tool to have to convert ascx files to razor components - fixing any obvious name changes along the way (thinking the @context vs Item problem here)

SQL-MisterMagoo avatar Jan 07 '20 17:01 SQL-MisterMagoo

I love this idea, and it is a big rock to be addressed as a future project on its own. Perhaps as part of a larger collection of tools that augment the Blazor conversion of applications

csharpfritz avatar Jan 08 '20 22:01 csharpfritz

Hi @csharpfritz I just saw your project yesterday, I like it .. you remind me with an old project I made to support WebForms in .NET Core, I hope to do some contributions

Just one question following your project will still close the possibility for VB developers to migrate their code. Any idea about this?

hishamco avatar Jan 08 '20 22:01 hishamco

@hishamco maybe use Telerik Code Converter ? https://converter.telerik.com/

odin88 avatar Jul 28 '20 18:07 odin88

@odin88 Telerik converter converts a syntax from C# to VB.NET and vise versa, but the case here to introduce a dotnet tool for doing the conversion from ASP.NET WebForms User Controls to Razor Components

hishamco avatar Jul 28 '20 19:07 hishamco

@hishamco I'm referring to your last line "Just one question following your project will still close the possibility for VB developers to migrate their code"

odin88 avatar Jul 29 '20 03:07 odin88

What I mean is going with Blazor will enforce everyone to use C#

hishamco avatar Jul 29 '20 03:07 hishamco