Paravel.DoctypeUtility 1.0.3

dotnet add package Paravel.DoctypeUtility --version 1.0.3
NuGet\Install-Package Paravel.DoctypeUtility -Version 1.0.3
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="Paravel.DoctypeUtility" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Paravel.DoctypeUtility --version 1.0.3
#r "nuget: Paravel.DoctypeUtility, 1.0.3"
#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.
// Install Paravel.DoctypeUtility as a Cake Addin
#addin nuget:?package=Paravel.DoctypeUtility&version=1.0.3

// Install Paravel.DoctypeUtility as a Cake Tool
#tool nuget:?package=Paravel.DoctypeUtility&version=1.0.3

Paravel.DoctypeUtility

[Downloads] [NuGet] [GitHub license]

  1. A utility for comparing Doctypes on Different Umbraco sites.
  2. This is written for Umbraco 13 - versions 13.1.1 and above.
  3. Basically you install it (via Nuget) on sites when you want to compare Doctypes to see if they are out of sync.
  4. I am going to use it to see what doctypes are on the development environment that need to be added or amended on staging or production.
  5. It will only show doctypes that are different, or missing from local or remote.
  6. Not every aspect of the doctype properties are compared, only the basic ones. This tool is a handy tool but it is not exhaustive, and does not claim to be.
  7. The local and remote doctypes are matched by their alias.
  8. A dashboard will appear in the settings next to "Telemetry Data" or something like that.
  9. You must add the sites you want to compare to in appsettings.json in the form stated below:
"DTUSettings": {
  "AuthToken": "6c1fddb5-003c-4059-bbe4-8be016e12e5f",
  "Sites": [
    {
      "Name": "Umbraco 13 A4",
      "Url": "http://umbraco13a4.local",
      "Key": "staging"
    },
    {
      "Name": "Umbraco 13 A5",
      "Url": "https://localhost:44317",
      "Key": "development"
    },
    {
      "Name": "Umbraco 13 A4 Debug",
      "Url": "https://localhost:44324",
      "Key": "local"
    }
  ]
}

  1. The "Key" field is used in the angular to differenciate between the entries, so it has to be unique. It has no relevence to the other sites appsettings, so on another site they could be "meenie", "miny" "moe".
  2. The "AuthToken" field must be shared between the sites you want to compare. Please provide your own value for this.

See the github page for more information

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
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
1.0.3 62 5/3/2024