Sitecore 6.5 with MVC3

给你一囗甜甜゛ 提交于 2019-12-03 14:52:01

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/

None of this functionality is currently easily available with MVC. Sitecore allows you to use them side-by-side, and to make some calls to the Sitecore data layer, etc., but the level of integration you (and I) are looking for has not been released yet. Supposedly coming out soon though.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!