Base solution for your next web application
Open Closed

Update AspNet zero to latest version #3844


User avatar
0
huntethan89 created

HI ,

How can i update my project files to latest ASP NET zero version without any problem on my current project. I want to update to latest version of ASP net zero. Currently i am using 2.3 version.

Thanks


12 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @smartlayer,

    It is not easy to upgrade AspNet Zero. You can check this forum topic for alternative ways #1073.

    Thanks.

  • User Avatar
    0
    AndrewT created

    I am also keen to find a solution for upgrading... maybe this can be extended for Core? <a class="postlink" href="https://gist.github.com/princeppy/ae0f24417f6ccdc7ccc73587ed9f1769#file-how-to-setting-up-aspnetzero-with-modular-application-md">https://gist.github.com/princeppy/ae0f2 ... ication-md</a>

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @AndrewT,

    This solution is offered by community, maybe they can provide a sample for core version as well. Have you asked it to <a class="postlink" href="https://github.com/princeppy">https://github.com/princeppy</a> ?

    Thanks.

  • User Avatar
    0
    strix20 created

    <cite>ismcagdas: </cite> Hi @AndrewT,

    This solution is offered by community, maybe they can provide a sample for core version as well. Have you asked it to <a class="postlink" href="https://github.com/princeppy">https://github.com/princeppy</a> ?

    Thanks.

    Given that you are releasing major changes almost monthly to the platform, I think it would be really beneficial to your users to provide a means to upgrade via nuget.

    I know this is possible, even with content pages, as Umbraco provides this feature.

    I also know it is a big undertaking, but I think for long term growth of Zero, it would be a strong investment for your company, especially since most of the complaints about the framework are in regards to the upgrade process.

  • User Avatar
    0
    ervingayle created

    I think with every major version release there will be needed changes even with the nuget approach. I believe that the ease of referencing certain components within Abp and accessing the source code will change somehow if the upgrade paths were automated. I am in favor of its current design.

    While I may not be leveraging Abp for as long as other members on the forum, my environment has been successfully upgraded from 4.1 to 4.2 to 4.3 and 4.4 versions successfully leveraging Visual Studio TS and Master / DEV branches. Its really not as hard as everyone thinks for the core projects and files. If you are not using branching then yes it will be a nightmare.

    Would love to share experiences with anyone who may need it via Skype or Teamviewer.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @strix20,

    We will investigate Umbraco's system but current offered solution using a source control (git/tfs) to merge latest version of AspNet Zero to your developed solution is the best way I think.

    Thanks a lot @ervingayle :)

  • User Avatar
    0
    soonjoo created

    I am currently using 4.2, and I want to upgrade to 4.5, however, my app is already on production. I did not do any branching previously, how should I upgrade now without affecting the existing data in the database?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @soonjoo,

    You must definitely create a new branch, and then you can follow the approach offered in above posts to merge new version of AspNet Zero into your own version.

    As far as I remember the changes, your existing data will not be lost. But it is better to backup your existing database and work on backup database with merged project and see if it effects your existing data.

  • User Avatar
    0
    huntethan89 created

    Is there any official way available to upgrade the version of ASPNET Zero?

  • User Avatar
    0
    ismcagdas created
    Support Team

    @smartlayer no actually. There are several ways offered by our customers;

    * https://github.com/aspnetzero/aspnet-zero/issues/96

  • User Avatar
    0
    huntethan89 created

    Hi,

    I am just wondering if there is any official method available now to upgrade my ASP .NET zero project version from 10.4.0 to latest one.

  • User Avatar
    0
    ismcagdas created
    Support Team