Our.Umbraco.MaskBackoffice
2.0.0-beta
dotnet add package Our.Umbraco.MaskBackoffice --version 2.0.0-beta
NuGet\Install-Package Our.Umbraco.MaskBackoffice -Version 2.0.0-beta
<PackageReference Include="Our.Umbraco.MaskBackoffice" Version="2.0.0-beta" />
paket add Our.Umbraco.MaskBackoffice --version 2.0.0-beta
#r "nuget: Our.Umbraco.MaskBackoffice, 2.0.0-beta"
// Install Our.Umbraco.MaskBackoffice as a Cake Addin
#addin nuget:?package=Our.Umbraco.MaskBackoffice&version=2.0.0-beta&prerelease
// Install Our.Umbraco.MaskBackoffice as a Cake Tool
#tool nuget:?package=Our.Umbraco.MaskBackoffice&version=2.0.0-beta&prerelease
Getting started
This package will allow you to mask the umbraco backoffice behind a subdomain.
Installation
Our.Umbraco.MaskBackoffice is available from Our Umbraco, NuGet, or as a manual download directly from GitHub.
NuGet package repository
To install from NuGet, run the following command in your instance of Visual Studio.
PM> Install-Package Our.Umbraco.MaskBackoffice
Usage (V2 - Umbraco V9)
You will need to add the following keys to your Web.Config:
"OurUmbracoMaskBackoffice": {
"Enabled": boolean,
"ViewName": string,
"UseRedirect": boolean,
"RedirectUrl": string,
"Domains": [
string
]
}
Configuration
Enabled
This configuration setting will enable / disable the route override.
ViewName
This configuration setting sets the view to be shown when returning a not found result, this defaults to "MaskBackofficeNotFound.cshtml"
UseRedirect
This configuration setting will enable use of a redirect url instead of returning a not found error.
RedirectUrl
This configuration setting sets the redirect target, it can be a absolute or relative url.
Domains
This configuration is the domains / subdomains you would like to allow access to the backoffice.
Usage (V1 - Umbraco V8)
You will need to add the following keys to your Web.Config:
<add key="Our.MaskBackoffice.Redirect" value=""/>
<add key="Our.MaskBackoffice.Enabled" value=""/>
<add key="Our.MaskBackoffice.Domain" value=""/>
Configuration
Our.MaskBackoffice.Redirect
This configuration setting allows you to set the destination the user will end up if trying to access the backoffice on a non allowed subdomain.
Our.MaskBackoffice.Enabled
This configuration setting will enable / disable the route override.
Our.MaskBackoffice.Domain
This configuration is the subdomain(s) you would like to use to access the backoffice. Seperate multiple subdomains with a comma.
Contribution guidelines
To raise a new bug, create an issue on the GitHub repository. To fix a bug or add new features, fork the repository and send a pull request with your changes. Feel free to add ideas to the repository's issues list if you would to discuss anything related to the package.
Who do I talk to?
This project is maintained by Aaron Sadler and contributors. If you have any questions about the project please contact me through Twitter, or by raising an issue on GitHub.
License
Copyright © 2020 Aaron Sadler, and other contributors
Licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Umbraco.Cms.Core (>= 9.3.0)
- Umbraco.Cms.Web.BackOffice (>= 9.3.0)
- Umbraco.Cms.Web.Website (>= 9.3.0)
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 |
---|---|---|
2.0.0-beta | 181 | 2/16/2022 |
1.0.1 | 553 | 8/30/2020 |