Clean 6.0.0-rc3

This is a prerelease version of Clean.
dotnet add package Clean --version 6.0.0-rc3
                    
NuGet\Install-Package Clean -Version 6.0.0-rc3
                    
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="6.0.0-rc3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Clean" Version="6.0.0-rc3" />
                    
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 6.0.0-rc3
                    
#r "nuget: Clean, 6.0.0-rc3"
                    
#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=6.0.0-rc3&prerelease
                    
Install Clean as a Cake Addin
#tool nuget:?package=Clean&version=6.0.0-rc3&prerelease
                    
Install Clean as a Cake Tool

Clean Starter Kit for Umbraco 13, 15 and 16

version 4.1.0 is for Umbraco 13 (Long Term Support)

version 5.0.0 is for Umbraco 15 (Standard Term Support)

version 6.0.0 is for Umbraco 16 (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:

  • Made it specifically for .NET 8 and above and Umbraco 13 and above
  • Removed dependency on Contentment

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

Umbraco 13

NuGet Package

# Ensure we have the version specific Umbraco templates
dotnet new install Umbraco.Templates::13.8.1 --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 Packages
dotnet add "MyProject" package Clean --version 4.2.2

dotnet run --project "MyProject"
#Running

Umbraco 15

NuGet Package

# Ensure we have the version specific Umbraco templates
dotnet new install Umbraco.Templates::15.4.1 --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 Packages
dotnet add "MyProject" package Clean --version 5.2.2

dotnet run --project "MyProject"
#Running

dotnet template

#Install the template for Clean Starter Kit
dotnet new install Umbraco.Community.Templates.Clean::5.2.0 --force

#Create a new project using the umbraco-starter-clean template
dotnet new umbraco-starter-clean -n MyProject

#Go to the folder of the project that we created
cd MyProject

#Run the new website we created
dotnet run --project "MyProject.Blog"

# Login with admin@example.com and 1234567890.
# Save and publish the home page and do a save on one of the dictionary items in the translation section.
# The site should be running and visible on the front end now

Umbraco 16

NuGet Package

# Ensure we have the version specific Umbraco templates
dotnet new install Umbraco.Templates::16.0.0-rc4 --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 Packages
dotnet add "MyProject" package Clean --version 6.0.0-rc3

dotnet run --project "MyProject"
# Login with admin@example.com and 1234567890.
# Save and publish the home page and do a save on one of the dictionary items in the translation section.
# The site should be running and visible on the front end now

dotnet template

#Install the template for Clean Starter Kit
dotnet new install Umbraco.Community.Templates.Clean::6.0.0-rc3 --force

#Create a new project using the umbraco-starter-clean template
dotnet new umbraco-starter-clean -n MyProject

#Go to the folder of the project that we created
cd MyProject

#Run the new website we created
dotnet run --project "MyProject.Blog"

# Login with admin@example.com and 1234567890.
# Save and publish the home page and do a save on one of the dictionary items in the translation section.
# The site should be running and visible on the front end now
⚡ 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
6.0.0-rc3 123 6/3/2025
5.2.2 364 5/15/2025
5.0.0 6,463 11/15/2024
4.2.2 194 5/16/2025
4.1.0 2,569 11/15/2024
4.0.0 16,191 12/14/2023
3.1.4 3,989 10/3/2023
3.1.3 865 9/19/2023
3.1.2 994 9/3/2023
3.1.1 474 8/30/2023
3.1.0 303 8/30/2023
3.0.2 2,141 8/8/2023
3.0.1 476 8/4/2023
2.1.6 15,570 11/18/2022
2.1.5 485 11/18/2022
2.1.4 3,994 6/23/2022
2.1.1 2,393 12/8/2021
2.0.2 1,073 11/12/2021
2.0.1 1,154 11/11/2021
2.0.0 1,166 11/3/2021
2.0.0-beta002 797 10/13/2021
1.0.0-beta001 342 10/12/2021