Most of the standard refactorings that ReSharper provides for other languages are available for ASP.NET as well. For more information about them and how they can be applied, see Refactorings.
One of the nicest and at the same time the most annoying actions when doing it manually
is the Rename refactoring. This refactoring provides an easy way to rename symbols
and types and it doesn't matter where the refactoring is invoked and what language is used.
even a namespace and be sure that all usages will be updated correspondingly.
You can also change the value of a control identifier in markup, so that all references will be updated
A bit more powerful is the Change Signature refactoring. In addition to renaming a symbol
this refactoring allows you to add, remove or rearrange parameters of a method.
For more information, see Change Signature.
Move to resource
ASP.NET enables you to create pages that can change content depending on the explicit choice of
language, for example.
Content and other data are stored in resource files and can be accessed easily using the appropriate
If there are some strings, texts hidden in markup, ReSharper helps you find them and accurately transfer
to the appropriate resource files without unnecessary complications.
As usual, you just press Ctrl+Shift+R to display the list of all available refactorings and choose the desired one.
Safe delete resource
As soon as you've noticed that some resource is useless, you can invoke the Safe Delete Resource
refactoring and remove it immediately.
For more information, see Localization Assistance: Refactorings.