Using HTML Helpers and Templates

  • Adam Freeman


The previous chapter introduced you to Razor and showed you how you can create views in an MVC framework application to render results for a request. This chapter will show how to inject content into a view using helpers. Chapter 23 already touched on HTML helper methods, but this chapter will cover them in detail, show you some other kinds of helpers, and explain how templates fit into the picture.


Input Element Partial View View Model Helper Method DataType Attribute 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Adam Freeman 2011

Authors and Affiliations

  • Adam Freeman

There are no affiliations available

Personalised recommendations