0
Hello.
I created a web project ASP.NET MVC Core in the Visual Studio 2019 and I created an area called Managerial. Inside it, in the Views folder I created a subfolder called Products and put some views inside it.
My routes are like this:
app.UseMvc(routes =>
{
routes.MapRoute(
name: "areas",
template: "{area:exists}/{controller=Produtos}/{action=index}/{id?}");
routes.MapRoute(
name: "default",
template: "{controller=Home}/{action=Index}/{id?}");
});
The folder structure is like this:
I would like the browser url to appear:
localhost:{port}//Manager/Products/(register for example)
It is possible to do this?