Hi,
Is it possible to use the Asp.Net MCV framework within SharePoint sites?
Hi,
Is it possible to use the Asp.Net MCV framework within SharePoint sites?
I don't believe so, although you can upload standard ASPX files into SharePoint and have them operate I'm pretty sure that the URL rewritting is where it would come unstuck.
In ScottGu's blog from February 2008, he writes:
Currently MVC doesn't directly integrate with SharePoint. That is something we'll be looking at supporting in the future though.
There's a project on CodePlex for getting ASP.NET MVC to work in SharePoint: http://www.codeplex.com/SharePointMVC
This might be of interest to you http://www.codeplex.com/SharePointMVC
I published it about 5 minutes ago.
It is basically a library to help rendering ASP.MVC inside a SharePoint masterpage.
Still early days but u get the idea.
Regards
Simon
One possible architecture is to use an asp.net or an asp.net mvc frontend. Then accessing sharepoint functionality via web services.
This has the benefit of giving you access to the functionality of sharepoint, without having the extra development cost of using sharepoint.
One thing you could do is create sharepoint "powered" apps with asp.net mvc just by referencing the SharePoint assembly.
I guess the Sharepoint Object Model would be your M in MVC.
May be this will help you:
http://simone.codeplex.com/wikipage?title=Host%20Aps.Net%20Mvc
The following sharepoint site, www.themedicinecabinet.co.uk, was built using ASP.net MVC 2. This article explains how this was done http://vspug.com/mbailey/files/2010/04/Using-ASP.NET-MVC-2-with-Sharepoint-Publishing.pdf