Base solution for your next web application
Open Closed

Update to AspnetZero Core #1771


User avatar
0
sampath created

Hi, I have updated my app to V : 1.12.2.Now it is working fine.But I do have only one issue after the update where I have put it here [https://github.com/aspnetzero/aspnet-zero/issues/360]).Hope you'll give a solution for that.

This is my question about the Core version.

I have downloaded the latest version form here :[https://github.com/aspnetzero/aspnet-zero-core/releases/tag/v2.0.1]).If I replace that source code with my app's code (V 1.12.2),then will it work ? Will I have to face any issues.I would like to know about this approach from you.Thanks.


2 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    OK, we will continue for <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/360">https://github.com/aspnetzero/aspnet-zero/issues/360</a> on Github.

    If you noticed that new AspNet Core solution has different solution format (project.json/xproj rather than .csproj). I didn't tried to work with AspNet Zero with the old format before.

    Also, if you copy all files on your solution, it will overwrite your files and changes. How will you handle it?

    My suggested approach is that:

    • Follow this guide: <a class="postlink" href="http://volosoft.com/migrating-from-asp-net-mvc-5x-to-asp-net-core/">http://volosoft.com/migrating-from-asp- ... -net-core/</a>
    • Compare code side by side and copy partially. Thus, you don't overwrite to your changes. (you can create a new project from aspnetzero.com with the same name. this is easier than getting code from Github)

    It will take time (it took our 2 weeks), because this is not a simple upgrade, but it's a port/migration. Probably you will do it in a shorter time since you have a guid a converted solution.

  • User Avatar
    0
    sampath created

    Hi,

    OK sure.I'll follow the above doc and will let you know if I'll have any issues.Thanks a lot.