ABP Framework version: v5.0.1 UI type: MVC / Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): Blazor Server Microservices
Hi,
I have followed all the instructions to add a new Microservice like the ProductService in https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice including adding all the DB Migrations for my new Entities.
However when I browse to the new pages I get a 404 error, the ProductService works fine. I'm at a loss to figure out what I'm missing, there are no errors in any of the logs.
Please could you help?
Regards
Toby
8 Answer(s)
-
0
Can you give more details about your problem?
Do you develop ui inside of your microservice (like product service)? Does your Web application has reference of your new microservice
.Web
layer and DependsOn configuration? -
0
Yes,
Everything is the same as the product service example and I followed the docs. I'm using Blazor Server not Web. I can support a remote session, or I can package up the demo and send it to you.
Regards
Toby
-
0
I did a new solution, add an Order Service with a Table and it worked fine. I then followed the same process and added a further Service called ManagedEntityService with 2 tables and both of them report a 404 error when you click on the menus.
Please could you take a look at this?
Regards
Toby.
-
0
Hi,
Here is the link to the Microservice solution. -removed-
Unzip and build as normal, run the DB migrator and it will set everything up and then execute run_tye.ps1
Thanks
Toby.
-
1
I will check it, please don't share your commercial applications with public link.
Thank you.
-
0
In your TestSample.ManagedEntityService.Blazor project;
Check
ManagedEntityServiceMenuContributor
, you are passing /ManagedEntities as url for your Menus.ManagedEntityServiceMenus.ManagedEntities but yourManagedEntities.Razor
has@page "/managed-entities"
Either change /ManagedEntities in your menu contributor to /managed-entities or vice versa.
-
0
Thanks, I'll try that. Is this caused by the CRUD editor in template generation then and why single word services names work fine and are non-case sensitive?
-
0
Yes, it may be related with template generation. If you think there is a problem with template generation, please provide what you have entered in suit and what is generated wrong in which files.
Thank you.