In our project we've set up an area called "Migration" where we're putting codethat migrates all our old site's content. Where I'm running into trouble is when I configure the routing in startup.cs.
Which successfully routed the area, however, it broke the umbraco admin screens (they appear to be empty with a number of routing errors listed in the console.)
I feel I'm probably missing something obvious with how to do areas in Umbraco core, can anyone help?
Oops! Found the solution 10 minutes after I posted of course. For anyone else who needs to know this, EndpointRouteBuilder has a MapAreaControllerRoute function, which worked. Don't know why I missed that in the documentation, didn't turn up in my google searches.
How do I map routing to an mvc area with Umbraco?
Hey All,
In our project we've set up an area called "Migration" where we're putting codethat migrates all our old site's content. Where I'm running into trouble is when I configure the routing in startup.cs.
I've tried this:
Which successfully routed the area, however, it broke the umbraco admin screens (they appear to be empty with a number of routing errors listed in the console.)
I feel I'm probably missing something obvious with how to do areas in Umbraco core, can anyone help?
Thanks!
John
Oops! Found the solution 10 minutes after I posted of course. For anyone else who needs to know this, EndpointRouteBuilder has a MapAreaControllerRoute function, which worked. Don't know why I missed that in the documentation, didn't turn up in my google searches.
is working on a reply...