I have to use Sitecore 6.5 with MVC framework and as per the reference document I can setup Sitecore and make that running. I have created MVC3 .NET web application project (blank and using Razor) and I dot know following things
I have used this document as a reference.
At present Sitecore MVC support is setup so that ASP.NET MVC can work alongside a Sitecore installation under the same hostname.
Full support for using MVC with Sitecore will be coming in the 6.5.1 update around June time. At that point all of the things you mention plus other stuff like populating the viewbag with context data will be possible.
There are ways to achive certain parts of this integration such as a shared source module that allows Razor usage. I have personally written a small module that lets you use MVC routes with sitecore items (Sitecore MVC Routing) but for full MVC support you will have to wait until June.
Someone has made a proof of concept of the things that you want.
This blog post explains it all: http://www.chrisvandesteeg.nl/2012/02/26/sitecore-mvc/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With