All Projects → anthonydotnet → ubase

anthonydotnet / ubase

Licence: MIT License
No description, website, or topics provided.

Programming Languages

C#
18002 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
ASP.NET
160 projects

ubase - What is it?

A base Visual Studio solution for Umbraco 8.1+.
The solution is a SOLID foundation of common patterns, folder structures, and website features which are widely accepted as "best practice" in the Umbraco community. USync definitions in this solution provide a foundation set of document types and datatypes.

Note: This is not meant to be a "starter kit" per se, nor is it meant to have a load of features which are toggled.

Setup Instructions

  1. Fork/copy this repository, then build in Visual Studio
  2. Run application and go through standard Umbraco setup WITHOUT a starter kit
  3. Go to Settings section -> Usyc, then click Import
  4. Go to Content section, create Site Container - Other main nodes will be automatically created on Save & Publish.

Note: If you get an error regarding roslyn, try reinstalling, and rebuilding.

update-package -reinstall Microsoft.CodeDom.Providers.DotNetCompilerPlatform

Base Functionality

Visual Studio Structure

  • Application.Web - Umbraco
  • Application.Core - Builders, Services
  • Application.Models - Models Builder, other application models

Web.config

Redirects

  • Remove "/""
  • Redirect to https (enabled by default)
  • Internal rewrite to /ErrorPages/500.html

Optimisations

  • Gzip static files

Common Pages

  • 500.html (static)
  • Robots.txt (content managed)
  • Sitemap.xml (generated)

Umbraco

Core DocumentTypes

  • Site Container (houses Site and Repository Container)
  • Site (requires selection of Home node)
    • Configuration (lives in Site node)
  • Repository Container (for housing of partial content/elements)

Page DocumentTypes

  • Home (lives under Site Root)
  • Base Page (implements Page Settings Mixin)
    • Page Settings Mixin (includes SEO & scripts)

Content Node Structure

A base node structure is provided which allows flexibility, multi-websites and separation of partial data elements.

  • Site Container
    • Website (put hostname here)
      • Home
      • Eror404
    • Data Repositories

Note: Data repositories are a common way to store partial content/elements which need to be referenced across your website. For example:

  • Authors
  • Categories
  • Tags
  • Locations
  • External Links

Umbraco Packages

  • USync
  • Meganav (TBD)
  • SiteLock (TBD)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].