Since you have started with MVC, you would be aware of Controller and Action.
So basically in MVC the request is mapped with the Route specified in your
App_Start->RouteConfig.cs
, that means the route and request basically are in the below format:- (incase you are running on localhost)
localhost:port/Domain(Root Project Name)/Controller/Action
So, if any of the parameter in the url is not mentioned either you get IIS error, or Resource not found error.
Also if you are accessing a perfect url mentioned above, but the COntroller or the Action mentioned is not implemented or there in the project then Resource not found is thrown.
Lastly, if the default url/route is not set, then you get Resource not found. So to set default Route,
You need to make changes in the Route config.cs like below
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "NAME", action = "ACTION NAME", id = UrlParameter.Optional }
);
Please post back your queries if any.
Thanks