Book Image

ReSharper Essentials

By : Lukasz Gasior
Book Image

ReSharper Essentials

By: Lukasz Gasior

Overview of this book

Table of Contents (18 chapters)
ReSharper Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

ASP.NET Web Forms and ASP.NET MVC tools


In terms of web development in Visual Studio, ASP.NET was the first area that was supported by ReSharper. Currently, almost every ReSharper feature supports ASP.NET in some way—both Web Forms and MVC.

Writing ASP.NET smartly

In the same way as in C#, ReSharper helps you write ASP.NET by extending IntelliSense, generating code, and providing you with some refactoring methods.

IntelliSense provides you with prompts for web-related things, such as ASP.NET controls, ASP.NET MVC helpers, resources, JavaScript symbols, and so on.

While working with ASP.NET, ReSharper helps you in importing required namespaces and removing unused directives (same as with using statements in C#).

As with C#, ReSharper allows you to generate members based on the implemented interface; in ASP.NET, you can generate Content tags based on ContentPlaceHolders from your Master Page and the required event handlers.

Templates

When you are working with the ASP.NET project, ReSharper allows...