Relative Content

Tag Archive for .netmodel-view-controllerasp.net-mvc-routingasp.net-mvc-areas

Dot net core 6.0 Routing is Not working if i use areas

I have project with areas and normal controller in it. But Area routing is working but normal controller is not working.
Working, but Areas routing is returning 404 :
app.MapControllerRoute(
name: “default”,
pattern: “{controller=Home}/{action=Index}/{id?}”);