Ashish Sharma
Ashish Sharma

Reputation:

Using Asp.Net MVC with SharePoint

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

Upvotes: 30

Views: 15141

Answers (6)

Simon
Simon

Reputation: 34840

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.

Upvotes: 21

martin bailey
martin bailey

Reputation: 177

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

Upvotes: 13

jgarcia
jgarcia

Reputation: 166

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.

Upvotes: 2

Shiraz Bhaiji
Shiraz Bhaiji

Reputation: 65391

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.

Upvotes: 4

Magnus Johansson
Magnus Johansson

Reputation: 28325

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

Upvotes: 21

Aaron Powell
Aaron Powell

Reputation: 25097

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.

Upvotes: 2

Related Questions