Open Closed

Microservice Template does not work in 6 #3835


User avatar
0
Baytech created
  • ABP Framework version: v6
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Just start a new template with 6 as a microservice template.

Does not compile.


5 Answer(s)
  • User Avatar
    0
    malik.masis created

    Hi,

    I've generated a new microservice template successfully and ran it via tye. Could you give more detail by telling me to step by step?

    Regards

  • User Avatar
    0
    scottlmarx created

    I am having the same issue.

    abp new MySolution -t microservice-pro -u mvc Followed instructions for running app - Works great abp new CategoryService -t microservice-service-pro Followed instructions to add new microservice - Feels like steps are missing Use ABP Suite to add Entity From there all sorts of issues were found. Not all the files were created Had to run the following to get scripts to generate abp generate-proxy -t csharp -u https://localhost:44948 -m CategoryService

    abp generate-proxy -t js -u https://localhost:44948 -m CategoryService

    Unabled to add new entries into new enitity get the following error.

  • User Avatar
    0
    Baytech created

    Using tye worked, I think the issue was the other projects were not built first. Meaning the service folder needed to be built before you compile the main one. I think.

    Scott, just look at the docs online and follow them to the letter. It will work!

    Malik, are you going to swap out Ocelet for Yarp anytime soon. I think the community edition already did. Ocelet is a dead project and Yarp is way better.

    https://github.com/microsoft/reverse-proxy

    https://github.com/ThreeMammals/Ocelot

  • User Avatar
    0
    scottlmarx created

    Baytech,

    Unfortunately, the docs are not up to date. Under the IdentityServer Configuration and Updating Gateways section there are multiple steps that are not applicable to version 6, just to start.

    ABP when will the documents be updated and accurate?

  • User Avatar
    0
    malik.masis created

    Hi Guys,

    @Baytech we swapped out it on the eShop project. We think to change it on version 7.0 but it's not a certain decision.

    @scottlmarx we update the documentation and also created new guides and migration docs. I'll let you know about your own ticket.

    Regards

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