MVC 6 - Areas Routing is not redirecting to the configured page
问题 I am working on "Microsoft.AspNetCore.Mvc": "1.1.2" My project folder structure is as below Code in startup.cs is below When I run my project I am not redirected to the index page. It shows 404 Error. Am I missing any setting? 回答1: Your url should have this pattern (due to your routes configuration): http://localhost:your_port_number/area_name When you run your application your url pattern is: http://localhost:your_port_number There is no area name in the url. You should specify the area