© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
2 replies
Apache

AspNetCore `net8.0` - Blazor {*CatchAll} route overrides MVC AdminController route

I'm using a Blazor8 with OrchardCore as a de-coupled CMS. I want
/admin*
/admin*
to be routed by Orchard, and the rest to be routed by Blazor.

Using this as a basic working example: https://github.com/ApacheTech/BlazOrchard

If I have a page with
@page "/{*Slug}";
@page "/{*Slug}";
, I want to give priority to
/admin
/admin
to run through the MVC Area controller. It seems that Blazor strips all power away from MVC to route itself. I want Blazor to be the fallback.
GitHub
GitHub - ApacheTech/BlazOrchard: This repo gives an example of how ...
This repo gives an example of how to set up a solution to run an OrchardCore Decoupled CMS, with a Blazor Web App front-end. - ApacheTech/BlazOrchard
GitHub - ApacheTech/BlazOrchard: This repo gives an example of how ...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ blazor .net8 vs angular
C#CC# / help
3y ago
✅ MVC to Blazor
C#CC# / help
3y ago
❔ AspNetCore web MVC app - Authentication
C#CC# / help
3y ago
[blazor .net8] about InteractiveAuto Component
C#CC# / help
3y ago