Twitter LinkedIn Github

JetBrains

 

Resharper 5 has a couple of new features for MVC that can make your life somewhat easier. Take a look at the following screenshot:

image

That’s inside an ASPX ViewPage. The first thing is the “Abouta” underlined in blue. The hint tells me that this action does not exist. “Home” on the other hand, which corresponds to a controller is underlined, meaning you can navigate to it from there (ctrl+left mouse click).

In the case of the action not existing, if we haven’t spelt it wrong, we can ask Resharper to create it for us:

image

which generates the corresponding action in the controller:

image

Simple, yet very productive!