404 errors in ASP.NET Core Mvc
When a web page is not found, a 404 error is returned by the application and ASP.NET Core MVC provides a generic error page 404 errors normally look bad. We can redirect the error to the 404 page we created. Let's go to the startup.cs page of our project. Remove the code below

