5 ms·
At the risk of coming across as "my favorite language/platform is better than your favorite language/platform", the fact that you have to jump through these hoo
by jerhinesmith 16y ago
At the risk of coming across as "my favorite language/platform is better than your favorite language/platform", the fact that you have to jump through these hoops to get Razor working in your ASP.NET MVC app strikes me as anything but easy (and certainly not intuitive).
Compare this to using haml in RoR:
1. gem install haml
2. vi newfile.html.haml
Why again doesn't .NET have a plugin management system analogous to gems? Or is there one that I just don't know about?
- gokhan 16y agoRazor is not a released technology and the article is describing a hack, as extracting Razor dlls from WebMatrix CTP and manually registering them in your project.
- jerhinesmith 16y agoAh, that makes a lot more sense. I guess that's my own fault for not doing enough research before commenting.
- troygoode 16y agoWhat gokhan said is right. Razor will be built-in to the next rev of ASP.Net MVC (and in fact will be the default view engine). They're also supposed to be releasing a preview of the next rev of MVC soon, which will include Razor support. That said, +MILLION to your comment about gems. No, .NET doesn't really have anything like that. There have been a few projects that have tried to take it on, but nothing has ever hit critical mass.