Author: Tom | Posted on: 3/17/2009 7:16:12 AM | Views : 1184

If you have tried to get these two to work together, then you are probably had to deal with a lot of the same issues that I had.  A big help for getting these two to work with each other is the SharePointMVC project on CodePlex.
After downloading this sample, you have some steps that will allow you to get MVC to run underneath SharePoint.
Here is how it is setup:
A SharePoint Master Page contains all SharePoint styles and theme A custom ASP.net page (MVCHostingPage) is based upon the SharePoint Master Page MVCHostingPage contains a web control called RenderControl RenderControl (and other internal classes) interrogates the current request and forwards it onto the ASP.NET MVC rendering engine. A HttpHandler takes all requests to *.mvc and redirects them to the MvcHostingPage.aspx page. A few things to keep in mind, the deployment instructions tell you ...

Go to the complete details ...