A Sitecore Helix based solution which can be used for Greenfield projects. Tackles some common problems when working with the platform.
- Glass Mapper v5 - with fluent configuration and automated mapping registration
- Unicorn - including user and role sync
- Sitecore 9.0.2 ready
- Bootstrap v4
- Native dependency injection with auto controller registration
- A sample hero banner feature and sample site project for demonstration
- Generic content repositories (by Rendering, Item Context, or Glass Content)
- 301 redirects
- Version trimming rules engine - Items limited to 10 versions by default
- Search Templates computed index field - find all items from an index by any templates they implement
- Non admin Item Unlock
- Auto unlocks items when a user is deleted
- Gulp publish with webroot clean
- Show Title When Blank patch, the forgotten Sitecore feature!
- A module just for fun - currently adds logos to the Unicorn console
- Install Sitecore Experience Platform 9.0 rev. 180604 (9.0 Update-2)
- Name your instance 'demo.helixbase'
- Clone project to 'C:\Projects\Helix base'
- If you use another path, update the 'gulp-config.js'
- Install Node.js and run 'npm-install' in the project root
- Publish each project in VS, or use gulp tasks
- Run Unicorn and sync all configurations
Refer to the Hero Feature as an example.
- View HeroService.cs for examples of retrieving Sitecore items using the content API and the search API.
- View Register routes for an example of how to register a route.
To add a 301 redirect simply add a redirect item to the Redirect Items folder found in your site Global folder.
To change the item version limit edit the rule on the /sitecore/system/Settings/Rules/Item Saved/Rules/Delete Old Versions item. You can also change the rule to recycle or archive old versions.
In the security editor you can assign non admin Item Unlock permissions.
If you do not require a feature you can easily delete it.
To rename the Visual Studio Solution, Helix Module Projects and Project references from 'Helixbase' to a new project name, run 'rename.ps1 -ProjectName [NewProjectName]'.