Base solution for your next web application
Open Closed

Migration Best Practice ZERO // ABP.IO #7597


User avatar
0
andmattia created

We have a large solution based on Zero and we plan to upgradre to NetCore in next months so now the question is:

  • move to Zero .NETCore
  • move to ABP.IO (after the release)

Regards


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

    Hi @andmattia

    Q1: Do you mean .NET Core 3.0 or from .NET Framework to .NET Core ? Q2: We will not officially support this but we will try to create a guide for it.

  • User Avatar
    0
    andmattia created

    Q1: from .NET Framework to .NET Core Q2: so at the moment the only way is move to ZERO Core. But the modularity of ABP.IO is very good option...

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    For Q1, we have a document like this https://medium.com/volosoft/migrating-from-asp-net-mvc-5-x-to-asp-net-core-520c9aa65e2c which can help you.

    For Q2, you are right :). But, Zero also provides a good infrastructure if your app is monolithic.

  • User Avatar
    0
    andmattia created

    Hi,

    about Q1 this but can be use to move from ZERO .Net to ZERO .NetCore obvisuly with some difference because in this way we can move in to step:

    • Step 1: .NET to .NETCore
    • Step 2: AngularJS and AngularCore Hybrid
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @andmattia

    Yes, definitely you can move from AspNet Zero .NET Framework to AspNet Zero .NET Core. When you complete that, you can move from AngularJS to Angular.

  • User Avatar
    1
    andmattia created

    Hi @ismcagdas

    ok thaks for your answer. So we can plan to move in first step to AspNetZero Core using AngularJS and in second step we can plan to move AngularJS to Angurlar

  • User Avatar
    0
    andmattia created

    I @ismcagdas

    we start to move our solution from .NET -> .NETCore so after some internal discussion we start from MVC project and customize/dupliate the x.Web.Mvc module (because this module is a front-end app like .Web.Host or .Web.Public).

    Our first step is create an AngulrJs App and after full moved to NETCore plan to migrate from AngularJs to Angular.

    We find a first issue i create the AngularJs js client for ABP AngularJs Client Proxy the suggestion is to use "nswag tool" but it generate only TypeScript Client and our AngularJs is actually written on JS. Is all correct or I missing somthing? Which is the best way to approch this problem?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @andmattia,

    Sorry for the delay. We haven't used NSWag for AngularJS, we are using it for Angular version. Are you currently using AngularJS ?

  • User Avatar
    0
    andmattia created

    Yes. So I try to use NSWAG and I've generated the Script in AngularJs. We need to convert our solution in 2 step, 1 .NET -> Core, 2 UI. In this path the method removed (create angularjs script) create this issue so we try to use NSwag.

    Actualy we have a MVC project converted to AngularJs and we move our AngularJs from JS to TypeScript. I thik a lot of aspnetzero can be in the same situation if it start to work on this framework since verion 0.7.0 :)

  • User Avatar
    0
    ismcagdas created
    Support Team

    @andmattia

    You are right :). But, as I said before, it is not directly possible to use Typescript clients in current app. You can keep it as JS and generate Typescript proxies when you are moving to Angular.

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because of no recent activity. Please open a new issue if you are still having this problem.