ASP.Net Core C# solution with OAuth and routing between multiple projects
Budget: $250 – $750 USD
I'm building a solution with multiple projects but I'm not familiar with how to set up routing between multiple projects in the solution. I tried app.UseMiddleWare<Project2.MyMiddleware>(); but it seems clunky to do that and then check inside each component for whether the path contains Project2. I'm looking for more of a "clean handoff".
Using the app.MapGet("Project2") approach and adding Project2 as a Razor class library looks brittle since I'd have to add the Project2 segment to each @page directive of Project2.
I'm hoping for a route or endpoint approach which would behave more like a relative path. I see how to do this with a Web App and Api or Service co-existing in a single solution, but not really two web apps. I'd like you to create a solution which will be the foundation of another project. Please see the attached document for more details.
Using the app.MapGet("Project2") approach and adding Project2 as a Razor class library looks brittle since I'd have to add the Project2 segment to each @page directive of Project2.
I'm hoping for a route or endpoint approach which would behave more like a relative path. I see how to do this with a Web App and Api or Service co-existing in a single solution, but not really two web apps. I'd like you to create a solution which will be the foundation of another project. Please see the attached document for more details.