How to migrate existing ASP.NET Application with JavaScript and JQuery based UI to Blazor web assembly project

RKG 1 Reputation point
2022-02-03T15:29:57.65+00:00

How to migrate existing ASP.NET Application with JavaScript and JQuery based UI to Blazor web assembly project?
Can you please let me know the possible solutions including open sources, third party tool etc. also possible best practices etc?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,385 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,253 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 55,601 Reputation points
    2022-02-03T16:13:11.35+00:00

    It is more of a rewrite than migrate. if the old app was a spa like and make ajax calls, you can reuse the webapi code. React based UI sites are the most architecturally similar to Blazor apps and probably the easiest to port.

    You should learn Blazor first. Then decide on a migration plan.

    Telerik as always has a lot of controls.

    if your current site uses razor view, you might start by converting to a razor page site. then razor page to Blazor.

    0 comments No comments

  2. AgaveJoe 26,201 Reputation points
    2022-02-03T16:23:03.443+00:00

    Your question is far to open to answer accurately.

    A main benefits of moving to Blazor WASM is you get to use .NET on client side. Blazor has the ability to invoke JavaScript form .NET. This information is openly published in the official Blazor docs.

    Blazor JavaScript interoperability (JS interop)

    I question the reasoning to migrate a working JavaScript/jQuery based application to Blazor WASM unless you intend to rewrite some if not all the JavaScript/jQuery to .NET.

    0 comments No comments

  3. RKG 1 Reputation point
    2022-02-04T11:34:38.627+00:00

    Interested to know if there are any open source or licensed tools available to migrate the existing .NET application UI from Java script /JQuery to ASP.NET Blazor Web Assembly ?