MapSpaFallbackRoute on Startup ASP .NET Core
问题 I have an Areas on Net Core App named Admin , on MapSpaFallbackRoute setting on startup, I want to set like this, app.UseMvc(routes => { routes.MapSpaFallbackRoute( name: "spa-fallback-admin", defaults: new { area="Admin", controller = "Home", action = "Index" }); }); is this the correct way to define MapSpaFallbackRoute ? I doubt MapSpaFallbackRoute have attributes area , I have been try this, and my apps return 404(not found). so, what the correct way to define MapSpaFallbackRoute , I want