First time at GK Digital?

GK Digital is an online, collaborative learning platform built from the ground up to be a superior learning experience on the web. It is self-paced and supported by instructors and peers. GK Digital is professional training in the 21st century, from Global Knowledge.
Activity: Introducing “Razor” – a new view engine for ASP.NET

This blog post by Scott Guthrie, who almost single-handedly invented ASP.NET MVC, is the coming-out party for Razor.

Razor was not available in the original version of MVC which instead relied upon the WebForms view engine. Here's an example of WebForms syntax:

<span>Hi there <%= User.Name %></span>

Razor was born out of frustration many developers had with ASPX.

In this post, Scott first outlines the why of Razor. Then he takes you example by example through the features and use-cases. Subsequent activities in this task dig further into many of these.

Preview any course on GK Digital for free.

Just choose a course from our catalog and then press preview course for free.