locked
How to migrate existing asp.net dynamic data website/project to an mvc core 3 one? RRS feed

  • Question

  • User1291059823 posted

    It is possible to migrate an existing asp.net dynamic data website/project to mvc core 3 under vs2019?

    Pet

    Saturday, March 28, 2020 11:03 PM

Answers

  • User-1330468790 posted

    Hi petloki,

      

    It is possible to migrate an existing asp.net dynamic data website/project to mvc core 3 under vs2019?

    It is not quite possible to migrate an asp.net dynamic data website/project to MVC core 3.

    Fundamentally, a dynamic data website is established on Webforms where Dynamic Data is just a new controls for DetailsViewFormViewGridView, or ListView controls along with a lot of meta-infrastructure classes to make it possible. However, webforms and MVC are quite different architectures, so if you change it, you might as well rewrite it from scratch.

      

    You might need to know more about .core technology so that you can easily rewrite your application to .net core MVC.

    https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-2.1

    In case you need a reference on how to migrate ASP.NET to ASP.NET core (MVC or WebApi), you can refer to:

    https://docs.microsoft.com/en-us/aspnet/core/migration/proper-to-2x/?view=aspnetcore-2.1

      

    Hope this can help you.

    Best regards,

    Sean

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 30, 2020 6:17 AM