Our.Umbraco.MaintenanceMode 18.1.0

dotnet add package Our.Umbraco.MaintenanceMode --version 18.1.0
                    
NuGet\Install-Package Our.Umbraco.MaintenanceMode -Version 18.1.0
                    
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="Our.Umbraco.MaintenanceMode" Version="18.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Our.Umbraco.MaintenanceMode" Version="18.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Our.Umbraco.MaintenanceMode" />
                    
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 Our.Umbraco.MaintenanceMode --version 18.1.0
                    
#r "nuget: Our.Umbraco.MaintenanceMode, 18.1.0"
                    
#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.
#:package Our.Umbraco.MaintenanceMode@18.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Our.Umbraco.MaintenanceMode&version=18.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Our.Umbraco.MaintenanceMode&version=18.1.0
                    
Install as a Cake Tool

Our.Umbraco.MaintenanceMode

Put Umbraco Into Maintenance Mode - While you do things with a simple dashboard to allow you to flick your Umbraco site in and out of Maintenance Mode.

Features

  • Replace all pages on your site with a maintenance page
  • Allow users who are logged into the Umbraco backoffice to still see the site
  • Apply a content freeze so no authors can update or change any content
  • Lock the site with a password to prevent unauthorized changes

Configuration

You can configure maintenance mode settings in your appsettings.json file:

{
  "MaintenanceMode": {
    "IsInMaintenanceMode": false,
    "IsContentFrozen": false,
    "IsSiteLocked": false,
    "LockPassword": "your-secure-password",
    "StorageMode": "Auto",
    "WaitTimeBetweenDatabaseCalls": 30
  }
}

Configuration Options

  • IsInMaintenanceMode - When true, displays the maintenance page to all non-backoffice users
  • IsContentFrozen - When true, prevents content authors from making changes to content
  • IsSiteLocked - When true, locks the site completely (even for backoffice users)
  • LockPassword - Optional password to protect the site lock feature. When set:
    • The site will automatically lock on startup
    • Unlocking the site requires entering this password in the dashboard
    • Locking the site does not require a password
  • StorageMode - Storage mode for maintenance state (Auto, FileSystem, or Database)
  • WaitTimeBetweenDatabaseCalls - Seconds to wait between database polling (when using Database storage mode)

Password-Protected Site Lock

The LockPassword setting provides additional security for the site lock feature:

  1. Setting a password: Add "LockPassword": "your-secure-password" to your MaintenanceMode configuration section
  2. Auto-lock on startup: When a password is configured, the site will automatically lock when the application starts
  3. Unlocking: To unlock the site, navigate to the Maintenance Mode dashboard and click the "Lock Site" button. You will be prompted to enter the password
  4. Locking: Locking the site does not require a password - this is to allow quick emergency locks

Important: The password is stored in plain text in your configuration, so treat it as a shared secret and use appropriate security measures (user secrets, Azure Key Vault, environment variables, etc.) in production environments.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (2)

Showing the top 2 NuGet packages that depend on Our.Umbraco.MaintenanceMode:

Package Downloads
MaintenanceManager.Client

Package Description

Umbraco.Community.MaintenanceMode

Put Umbraco Into Maintenance Mode - While you do things

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
18.1.0 116 7/21/2026
18.0.0 166 6/30/2026
17.1.0 2,915 1/26/2026
17.0.0 193 1/12/2026
17.0.0-rc4 291 11/25/2025
16.0.1 5,367 9/29/2025
16.0.0 604 9/18/2025
15.0.1 536 4/24/2025
15.0.0 8,622 11/21/2024
14.0.0 517 5/30/2024
14.0.0-rc2 269 4/25/2024
14.0.0-beta001 241 3/15/2024
10.2.1 9,533 4/24/2025
10.2.0 8,987 8/30/2024
10.1.1 19,592 12/6/2022
10.1.0 532 12/2/2022
10.0.0 4,651 6/18/2022
3.0.0 2,145 2/26/2022
2.0.1 553 6/22/2023