This project extends the base Sitecore MVC functionality, providing a set of common classes and helpers that you may need while using the Model-View-Controller paradigm with Sitecore.
.NET Framework 4.5
Visual Studio 2012 with NuGet Package Manager extension installed.
Ensure that the Package Restore checkbox has been ticked in the NuGet Package Manager Options dialog.
Sitecore 7.5 or later.
Sitecore.Logging.dllassmeblies in the
\libdirectory. For more details refer to the README.md file in the lib folder.
.\buildfrom the root of the checkout folder to invoke an automated debug build of the project. The outputs from this automated build are detailed in the build folder README.md file.
Options for installation are:
Sitecore.Mvc.Contrib.dllas part of your project
Add the project as part of your solution
Install one of the contrib NuGet packages
PM> Install-Package Sitecore.Mvc.Contrib
Refer to the Detailed instructions for using the NuGet packages section.
Detailed instructions for using the NuGet packages
Ensure that the Sitecore website has been configured correctly for MVC operation. Your CSPROJ file should be set to target .NET framework 4.5.
Connect website project to Sitecore.Rocks connection for your website
From the Package Manager Console in Visual Studio execute one of the following commands:
The sample package installs both the contrib project plus some sample content within Sitecore that can be used to better understand how to use the contrib project code.
Once the package installation has been completed a readme.txt file will be displayed in the Visual Studio IDE. Follow the instructions in this readme file to complete the installation of the contrib package.
For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Sitecore.Mvc.Contrib will be maintained under the Semantic Versioning guidelines as much as possible.
Releases will be numbered with the following format:
And constructed with the following guidelines:
- Breaking backward compatibility bumps the major (and resets the minor and patch)
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch
For more information on SemVer, please visit http://semver.org/.
Please ensure that any assemblies added to the solution are compatible with Visual Studio 2012.
Authors and credits
Project maintained by:
Copyright and license
Copyright 2014 Sitecore Corporation A/S
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the License.