Giter Site home page Giter Site logo

ekapus / sitecorehabitatfeaturetemplate Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 75 KB

A blank Sitecore Habitat Feature Project, that I've exported as a Visual Studio project template that can be installed and allows you to create blank feature projects.

Home Page: http://www.nttdatasitecore.com/

License: Apache License 2.0

C# 100.00%

sitecorehabitatfeaturetemplate's Introduction

Sitecore Habitat Feature Visual Studio Template

There is a standard structure to Sitecore Habitat Feature Projects, and after creating a few (and blogging about it here: http://www.nttdatasitecore.com/Blog/2016/February/Building-Something-In-Habitat), I got tired of copying and renaming files.

Because I'm a lazy programmer, I created a visual studio template to make my life, and my colleagues lives, easier.

The src folder contains the source project that I used to create the template. The Sitecore Habitat Feature Visual Studio Template.zip file contains the template that can be installed in visual studio.

##Feature Project Template Installation Instructions

  1. Download Sitecore Habitat Feature Visual Studio Project.zip from https://github.com/ekapus/SitecoreHabitatFeatureTemplate
  2. Copy the zip file to to C:\Users\Administrator\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#\ on your local machine.
  3. Run the following command from the Visual Studio Command Line (accessed from the start menu at Visual Studio 2015/Developer Command Prompt For Visual Studio 2015:
devenv /installvstemplates

Note: this can be done while Visual Studio is running.

For more info about finding, organizing and installing Visual Studio Project Templates: https://msdn.microsoft.com/en-us/library/y3kkate1.aspx

##Feature Project Template Use Instructions

  1. Create a new solution folder in your Habitat Solution under "Feature" that describes your feature.
  2. Right click on the new solution folder, choose add, and select "New Project".
  3. Scroll through the project types and select "Sitecore Habitat Feature".
  4. Enter a name for your feature. It's best to omit spaces and punctuation.
  5. Using windows explorer, create a folder that matches your solution folder name under "Your Habitat Project Root\src\Feature"
  6. Under the folder you just created, create a "code" and a "serialization" folder.
  7. Choose the code folder you just created as the location for the project you're creating.
  8. Hit OK
  9. Open your new project.
  10. Rename /Views/$safeprojectname$ to /Views/YourProjectName
  11. Rename /Models/$safeprojectname$ to /Models/YourProjectName

sitecorehabitatfeaturetemplate's People

Watchers

James Cloos avatar Ed Kapuscinski 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.