Do you see that Razor colorization, intellisense has stopped working after you have installed Visual Studio Sp1 RTM? The reason is that you might have MVC3 RC installed on the box which is not compatible with Visual Studio 2010 Sp1 RTM.
Many of us follow a modular architecture and create MVC3 Razor view in a separate class library project.
Following is a screenshot of the class library project that I have created.
Now if I open a view with @model typed in it,
What’s Razor?Razor is a simple-syntax view engine that is released as part of ASP.NET Model View Controller (MVC) 3. Read more about the syntax on ScottGu’s blog or on ASP.NET How can I get Razor syntax support in Visual Studio 2010?It’s simple.