I created a new "asp.net core web application" project. NOT MVC!.
i see in the stratup.cs, in configure method:
app.UseMvc(routes =>
{
routes.MapRoute(
name: "default",
template: "{controller}/{action=Index}/{id?}");
});
question a: the url mapped directly to razor pages ('/Index' => /Pages/Index.cshtml). and there is no IController in the entire project, What the routing of MVC doing here?
quetstion b: if i want additionaly custom routing, can I do this without turn all routing to MVC methodology?
routes.MapRoutepart and pages will still work