Giter VIP home page Giter VIP logo

sitecoretemplate's Introduction

Sitecore 7 MVC Template

Clean Sitecore 7 project template with full ASP.NET MVC 5 and NuGet support.

Features

Why should I use this template?

  • Contains clean Sitecore 7 (including Localization and ImageCropper modules), with .NET 4.5.1, MVC 5 and NuGet support. Suitable for everyone: use it as a basis for your project, for quick test website, or just for fun.
  • Integrated into Visual Studio as extension, which means easy install, pushed udpates and familiar experience.
  • Fully automated project creation: click OK and see working website in a minute. Project files, latest Sitecore files, IIS website, SQL db and access rights are all created and configured for you.
  • Source code in on GitHub: clone, contribute or even fork to your own template.
  • Fully automated project template creation and package bundling: just work with ordinary Sitecore website, and tools will create a template with all needed placeholders for you, and a package for Visual Studio gallery.

System requirements

Installation

Install in Visual Studio by searching "Sitecore mvc" in Tools -> Extensions and Updates... window.

Or download extension from Visual Studio gallery.

Usage

To create a new Sitecore 7 project:

  1. Run Visual Studio as administrator (his rights required to create a website in IIS)
  2. In Visual Studio, click File -> New Project…
  3. Select project type (see notes below):
  4. VS 2012: Visual C# -> Web -> ASP.NET MVC 4 Web Application
  5. VS 2013: Visual C# -> Web -> Visual Studio 2012 -> ASP.NET MVC 4 Web Application
  6. Select .NET Framework version (only 4.5 or 4.5.1 are supported by MVC 5)
  7. Set project name and location, click OK
  8. Select Sitecore 7 project template, click OK
  9. Select Sitecore license file to use for a site and click OK
  10. Wait a couple of minutes while project is being installed
  11. After successful project creation you'll see a new website is opened in your browser

NOTE: Yep, I know it's weird to select MVC 4 project type when MVC 5 is actually used. But this is due to a couple of strong reasons:

  • MVC 5 is a part of ASP.NET One reorganization, and they have totally different project template format (to support one-click Web Forms/Web API or authentication installation) which is not documented anywhere for now. And unfortunately Sitecore is not using that stuff now and in the near future.
  • Visual Studio 2012 doesn't support MVC 5 at all now, neither the new ASP.NET One project templates (they should include MVC 5 support in November 2013, let's see).

Other

This project is using vspte command-line tool to automate Visual Studio project template creation. Source code is available on GitHub.

Credits

Pavel Nezhencev, 2013

sitecoretemplate's People

Contributors

whyleee avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.