c# - The resource cannot be found. after adding new page? -
i have created new mvc4 web application, , adding new view in views called login.aspx.
when try access way accessing about.aspx ( generated automatically new project ) - receiving "the resource cannot found." type of error.
- what cause issue ?
sole view not enough in asp.net mvc add new page application. have to:
- create controller corresponding action, or add new action 1 of existing controllers.
- implement action return necessary view (login in case).
- make sure action covered 1 of existing routes. if not - add new route.
for details can review this tutorial on msdn.
Comments
Post a Comment