While learning SharePoint 2010, what View Engine should i use in ASP.NET MVC 3?
While learning SharePoint 2010, what View Engine should i use in ASP.NET MVC 3?
My goal is to choose a View Engine that also helps improving my skills developing for SharePoint 2010.
My guess is the ASPX, b开发者_Python百科ut im not really sure.
Since there is no Razor in SharePoint 2010, you should probably go the ASPX way.
But Razor is really nice in ASP.NET MVC... I would probably work with both. You will spend much more time by writing XML configuration than ASPX pages in SharePoint anyway, so it's not that big deal.
Use a modified version of Razor Views: http://tqcblog.com/2011/01/23/asp-net-mvc-controller-actions-in-sharepoint/
精彩评论