Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing the razor view engine for Visual Studio

I just downloaded and installed Web Matrix beta.
I am really liking the razor view engine.
Not so much the Web Matrix IDE.

Is there any way to install razor view engine for use in the Visual Studio without installing WebMatrix?

like image 652
Kenneth J Avatar asked Jul 14 '10 23:07

Kenneth J


2 Answers

What's currently offered in WebMatrix isn't really a ViewEngine in the current MVC sense, it's a parser/templating engine, more like T4 templates, in fact.

That said, Razor most certainly will be incorporated as a ViewEngine option in MVC3, and should be included in the next Preview release of MVC. (see ScottGu's post: http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx)

So, in short, you'll be able to use Razor as your ViewEngine in MVC very soon.

EDIT: Also, check out another answer of mine for some steps on creating a full Razor ViewEngine in VS 2010 now. A few manual steps, but you get get going in minutes.

like image 77
Brandon Satrom Avatar answered Sep 21 '22 15:09

Brandon Satrom


Yes, as part of the ASP.NET MVC 3 Preview 1 released yesterday

http://go.microsoft.com/fwlink/?LinkID=157073

like image 42
JP. Avatar answered Sep 22 '22 15:09

JP.