FritzAndFriends / BlazorWebFormsComponents

A collection of Blazor components that emulate the ASP.NET Web Forms controls of the same name
MIT License
428 stars 72 forks source link

Suggestion: dotnet global tool to convert ascx to razor #18

Open SQL-MisterMagoo opened 4 years ago

SQL-MisterMagoo commented 4 years ago

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)

csharpfritz commented 4 years ago

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

hishamco commented 4 years ago

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?

odin88 commented 4 years ago

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

hishamco commented 4 years ago

@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

odin88 commented 4 years ago

@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"

hishamco commented 4 years ago

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