c# - How to change name of .cshtml file on asp.net mvc? -


i created asp.net mvc project on visual studios, in many folder have folder called home has 3 .csthml files: about.cshtml, contact.cshtml, , index.cshtml.

i change about.cshtml blah.cshtml , contact.chstml lala.cshtml.

i've tried properties name not changed across other files in project.

should use files in project or create controller?

click on file, push f2 , rename (type in new name) or right click file , select rename. make sure not running application (which may issue).

if change name, action in controllers should updated.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -