Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Is it possible to use the Asp.Net MVC framework within SharePoint sites?

share|improve this question
Ashish Sharma you have to mark some answer as a correct one. – Metropolitan Apr 10 at 13:34
Have a look here as well interah.com/products/Documents/Items%20Selector.pdf – Metropolitan Apr 10 at 13:38

6 Answers

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.

share|improve this answer

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

share|improve this answer

This might be of interest to you http://www.codeplex.com/SharePointMVC

It is basically a library to help rendering ASP.MVC inside a SharePoint masterpage.

Still early days but you get the idea.

share|improve this answer

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.

share|improve this answer
I was wondering about this logic myself. Are there any examples of using WSS web services in a .Net MVC application? – Hedley Lamarr Aug 6 '09 at 11:03

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.

share|improve this answer

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

share|improve this answer
+10! I have looked at the start of the article, and it looks very, very promising. The author writes with apparent deep understanding of all the relevant issues. I hope to follow it through and implement it, and post back here to confirm my initial impressions, but that will be some time. – Javaman59 Sep 28 '10 at 1:42
+1 Very impressive, in depth example of how to fully integrate ASP.Net MVC 2 with a SharePoint site and access the resources of SharePoint from within MVC. Kudos. – Chris Latta Oct 22 '10 at 0:16
2  
Link is a 404 now – Kevin Panko Feb 2 '12 at 19:38
This link is dead but that one we have still to check amd joy jcapka.blogspot.com/2011/02/asp-mvc-and-sharepoint-2010.html – Metropolitan Apr 10 at 13:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.