We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is from the sample site in the repo
Main content rendered by FEATURE:Foo:SubFoo:SubFooController::SubFoo
Given this path, I would expect the url route to be
http://localhost:8557/Foo/SubFoo
and not
http://localhost:8557/SubFoo/SubFoo
I have resorted to using Routes in my controllers to achieve the desired path but just wondering why it does this?
The text was updated successfully, but these errors were encountered:
.AddFeatureFolders() does not override how routes are generated. Given the following from Configure() in Startup.cs
.AddFeatureFolders()
Configure()
Startup.cs
app.UseMvcWithDefaultRoute().UseMvc(routes => routes.MapRoute( name: "areaRoute", template: "{area:exists}/{controller=Home}/{action=Index}/{id?}"));
we still use the default routing scheme of {controller=Home}/{action=Index}. In this regard, your SubFoo/SubFoo route makes perfect sense.
{controller=Home}/{action=Index}
SubFoo/SubFoo
Sorry, something went wrong.
ok thanks
No branches or pull requests
This is from the sample site in the repo
Main content rendered by FEATURE:Foo:SubFoo:SubFooController::SubFoo
Given this path, I would expect the url route to be
http://localhost:8557/Foo/SubFoo
and not
http://localhost:8557/SubFoo/SubFoo
I have resorted to using Routes in my controllers to achieve the desired path but just wondering why it does this?
The text was updated successfully, but these errors were encountered: