We have moved!

You are currently looking at documentation for Umbraco 8 and older versions.
An automated guess is that docs.umbraco.com/umbraco-cms/development-guidelines/ could be the link to the new documentation for Umbraco 9 and newer versions.

    Development Guidelines

    All about working with the Umbraco codebase

    Coding and naming conventions

    The naming conventions used throughout the codebase including C#, JavaScript and CSS and how classes in C# and JavaScript should be created and used.

    The solution and project structure

    How the Visual Studio solution is put together, the functionality of each project and the end goal of the structure.

    Working with the code

    Describes the process of creating new classes and where they should be stored in regards to namespaces and projects. Also describes how to deal with updating legacy code and how it should be updated.

    Unit testing

    There are plenty of unit tests in the core of Umbraco both for C# found in Umbraco.Tests project and for JavaScript found in the Umbraco.Web.UI.Client project.

    When submitting pull requests or working with the code we encourage all developers to make changes by writing unit tests, a PR will have a far higher chance of being pulled into the core quicker with passing unit tests.

    Breaking changes

    Defines what a breaking change is in regards to the Umbraco core codebase and describes how to deal with required breaking changes.