开发者

Which View engines in ASP.NET MVC have the most support, documentation, and roadmap?

I do not want to spend a lot of time on something that does not have lot of support or no roadm开发者_开发知识库ap. Do we even have to worry about this view engines in the wake of vs2010/.Net 4.0?


Umm, just use what you want that works today

Both Spark and NHaml are complete enough for production use

What special requirements do you have?

Spark markup is more like pure HTML

NHaml is just fun and geeky and quick


Stick to the WebForms view engine and you should be fine. It's developed by Microsoft, it has decent documentation, it's the default view engine and it's partially tied to the WebForms framework which isn't going anywhere (at least not yet).


There's no reason to worry about view engines at all ... you can always use the Microsoft view engine with no further consideration. IMHO, the only other view engine that is worthwhile for a large/production project is Spark. Regarding long-term support ... who knows. It's open source, and the creator has moved on to Microsoft. This could either be a good thing (i.e. possibly Spark features in future MS releases), neutral (no change), or bad (if he has little time to improve Spark due to time commitment.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜