Abstract
Razor is the name of the view engine that Microsoft introduced in MVC 3 and that has been revised in MVC 4 (although the changes are relatively minor). A view engine processes ASP.NET content and looks for instructions, typically to insert dynamic content into the output sent to a browser. Microsoft maintains two view engines—the ASPX engine works on the <% and %glt; tags that have been the mainstay of ASP.NET development for many years and the Razor engine that works on regions of content denoted with the @ character.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2012). Working with Razor. In: Pro ASP.NET MVC 4. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4237-6_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4237-6_5
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4236-9
Online ISBN: 978-1-4302-4237-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)