Clean 5.2.2

dotnet add package Clean --version 5.2.2
                    
NuGet\Install-Package Clean -Version 5.2.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Clean" Version="5.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Clean" Version="5.2.2" />
                    
Directory.Packages.props
<PackageReference Include="Clean" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Clean --version 5.2.2
                    
#r "nuget: Clean, 5.2.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Clean&version=5.2.2
                    
Install Clean as a Cake Addin
#tool nuget:?package=Clean&version=5.2.2
                    
Install Clean as a Cake Tool

Clean Starter Kit for Umbraco 13 and 15

version 4.1.0 is for Umbraco 13 (Long Term Support)

version 5.0.0 is for Umbraco 15 (Standard Term Support)

If you want the older versions you need to go to the ones lower than version 4.0.0

Latest Release Details:

  • Now works on Umbraco 15 with dotnet 9
  • You can now use the dotnet new template to install Clean Starter Kit with the Source Code rather than as a package

To try it out on Windows, Mac or Linux, make sure you have downloaded the latest .Net 9 SDK and then run this block of commands in a folder somewhere.

Install it using the dotnet template

# Ensure we have the latest Clean Starter Kit Template installed
dotnet new install Umbraco.Community.Templates.Clean --force

dotnet new umbraco-starter-clean -n MyProject

Install it as a Package

Install on Umbraco 15

# Ensure we have the latest Umbraco templates
dotnet new install Umbraco.Templates::15.0.0 --force

# Create solution/project
dotnet new sln --name "MySolution"
dotnet new umbraco --force -n "MyProject" --friendly-name "Administrator" --email "admin@example.com" --password "1234567890" --development-database-type SQLite
dotnet sln add "MyProject"

#Add starter kit
dotnet add "MyProject" package Clean --version 5.0.0

#Add Packages
#Ignored Clean as it was added as a starter kit

dotnet run --project "MyProject"

Install on Umbraco 13

# Ensure we have the version specific Umbraco templates
dotnet new install Umbraco.Templates::13.5.2 --force

# Create solution/project
dotnet new sln --name "MySolution"
dotnet new umbraco --force -n "MyProject" --friendly-name "Administrator" --email "admin@example.com" --password "1234567890" --development-database-type SQLite
dotnet sln add "MyProject"

#Add starter kit
dotnet add "MyProject" package clean -version 4.1.0

dotnet run --project "MyProject"
#Running
⚡ If you're looking for Clean for Umbraco V9-12, see Clean Starter Kit!

Headless Implementation

Phil Whittaker has created a headless version of this starter kit available at Clean Starter Kit Headless

To set this up you will need to create an umbraco instance of the site as above

Then turn on the content delivery API with the following change to the Umbraco property of the appsettings.json file

      "DeliveryApi": {
        "Enabled": true
      }

Finally to enable revalidation of content you will need to update the Enabled property as below (enmabled is currently set to false).

  "NextJs": {
    "Revalidate": {
      "Enabled": true,
      "WebHookUrls": "[\"http://localhost:3000/api/revalidate\"]",
      "WebHookSecret": "SOMETHING_SECRET"
    }
  }

This presumes that your healdess implementation will be loated at localhost:3000

New API endpoint

We have added a new suite af API endpoints for bespoke functionality within the starter kit

  • Dictionary - access to the dictionary items
  • Search - the search form
  • Contact - the contact form submission

We have added an OpenAPI instance available at /umbraco/swagger/index.html?urls.primaryName=Clean%20starter%20kit

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.2.2 211 5/15/2025
5.0.0 6,306 11/15/2024
4.2.2 157 5/16/2025
4.1.0 2,504 11/15/2024
4.0.0 16,146 12/14/2023
3.1.4 3,966 10/3/2023
3.1.3 862 9/19/2023
3.1.2 985 9/3/2023
3.1.1 471 8/30/2023
3.1.0 299 8/30/2023
3.0.2 2,137 8/8/2023
3.0.1 472 8/4/2023
2.1.6 15,479 11/18/2022
2.1.5 481 11/18/2022
2.1.4 3,989 6/23/2022
2.1.1 2,388 12/8/2021
2.0.2 1,068 11/12/2021
2.0.1 1,149 11/11/2021
2.0.0 1,158 11/3/2021
2.0.0-beta002 793 10/13/2021
1.0.0-beta001 338 10/12/2021