Open Closed

How to upgrade Microservice app from 7.3. to 9.0. #8860


User avatar
0
duyan11110 created
  • ABP Framework version: v7.3.0

  • UI Type: MVC

  • Database System: EF Core (SQL Server, PostgreSQL)

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

  • Exception message and full stack trace:

  • Steps to reproduce the issue:
    Hi,
    I would like to upgrade my Micrcoservice app from 7.3 to 9.0, but I see that the architect (structure) is so different. Do you have any guide to upgrade?
    Thank you so much.


7 Answer(s)
  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hi @duyan11110

    Unfortunately we don't have a way to automatically migrate your old solution to the new microservice template.
    If you want to use the features in ABP Studio for microservice development, I think the easiest way is to create a new microservice solution and move your project's source code to the new project step by step.

    See more: https://abp.io/support/questions/8755/ABP-studio-not-able-to-add-new-micro-service-in-the-existing-solution

  • User Avatar
    0
    duyan11110 created

    Hi,

    In Abp Studio, can I still use DDD for each service in my app? If yes, pls tell me how.

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hi,

    Unfortunately, you cannot create a layered(DDD) service with ABP Studio or ABP CLI. Here is the reason why: https://abp.io/support/questions/7648/Unable-to-create-layering-for-microservices#answer-3a1447fd-ff9a-f065-3800-a436cfe3d88d

  • User Avatar
    0
    duyan11110 created

    Hi,

    In version 7.3, I already had some services in DDD, so can I use those services in version 9.0 in parallel? It means that, if I create new service I will follow the architect of version 9.0 but old services are still in old architect of version 7.3?

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hi,

    It's entirely up to you. Since each service is independent, you can also update the packages that your services depend on to the latest version of ABP.

    Also see more: https://abp.io/support/questions/8755/ABP-studio-not-able-to-add-new-micro-service-in-the-existing-solution

  • User Avatar
    0
    duyan11110 created

    Hi,

    If so, I understand that, I can't run my app with Abp Studio, right? So how can I run my entire app? use Tye?

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    No, this does not mean that you cannot run the application with ABP Studio. It just means that you cannot add a new service with ABP Studio.

    If you want to run your solution via ABP Studio, follow steps below:

    1-) Click on the "Initialize existing solution" menu item like below:

    Screenshot 2025-02-26 at 15.02.20.png

    Select your solution(*.sln) file.

    2-) Then, if there is no solution runner profile, you can add it and add your services to it. This document explains how to do it.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08