Open Closed

Add MVC project to Microservice based solution #5563


User avatar
0
abpnewtonvisionco created
  • ABP Framework version: v7.2.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Auth Server Separated (for Angular): yes

Hey guys,

I need to add a new MVC project to a microservice based solution, however I can't find a way to add it with the CLI, and the suite doesn't allow me to add the microservice solution. (I am basically adding it since I added ELSA using Razor for the dashboard to my microservice based solution)

Is there a way for me to add this so it uses ABP roles and all the other things that the microservice uses? (For example, create an ELSA role and only that role be allowed to check my ELSA implementation)

Thanks for the help.


4 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Is this can help you? https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice

    At present, there is no way to add automatically. You need to manually add it to the solution.

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    I think you want to add an application instead of a microservice.

    There is no automated way to add application currently. You can check the public-web application and create a new one similar to it.

  • User Avatar
    0
    abpnewtonvisionco created

    Hi guys, thanks for the answers.

    No Liang, I don't think I need to add a new MicroService (I might be wrong), as gterdem mentioned I want to add an application (Like Auth server is, just as example).

    All I can find with "public-web application" is the docs is a nuget package, can you guys send me a link to this? I would really appreciate it.

    Thanks!

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    You can check the docs at https://docs.abp.io/en/commercial/latest/startup-templates/microservice/applications#public-application-landing-page

    You can create new microservice template and examine the public-web application. AuthServer configuration details are in the docs.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09