.net - Change Default "Default.aspx" to "Index.aspx" on Visual Studio 2010 -


Whenever I create a new web form on Visual Studio 2010, the default name is always "Default.aspx" . This is a bit pain because I have to change it every time "Index.aspx"

How can I change it so that "Index.aspx" is the default name?

Thank you.

You can modify the related .vstemplate element. For example, you can find a webform template to modify in a directory similar to the following: C: \ Program Files \ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ ItemTemplates \ CSharp \ Web \ 1033 Each template file contains a zip file Within is managed like WebForm.zip. Unzip the content, modify the .vsteppleplateNameName element and re-apply the changes to the same template folder. Your update should be visible in Visual Studio (You may have to restart VS.)

Alternatively, instead of modifying the default template, based on your own template (original closing ) Should be considered.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -