Dyfort.Umbraco.IndexNow 1.0.0

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

// Install Dyfort.Umbraco.IndexNow as a Cake Tool
#tool nuget:?package=Dyfort.Umbraco.IndexNow&version=1.0.0                

Dyfort.Umbraco.IndexNow

This package enables automated submission of URLs from Umbraco sites to the Bing index. Once installed and configured with an API key obtained from Bing Webmaster portal, the package detects page creation/update in Umbraco and automatically submits the URL behind the scenes ensuring that the site pages are always fresh in the Bing index.

Install Package to your project

    PM> Install-Package Dyfort.Umbraco.IndexNow

Settings and defaults

"IndexNow": {
    "ApiKey": "",
    "KeyLocation": "",
    "FireOnPublish": true,
    "FireOnDelete": true,
    "PublicDomain": ""
  }

Get Your API Key:

Visit the IndexNow website and follow their instructions to generate an API key. This key helps verify your ownership of the domain you'll be submitting URLs for.

Host Your API Key:

Save your API key in a plain text file encoded in UTF-8. You can name this file anything (e.g., key.txt). Place this file in the root directory of your website. This means it should be accessible at the same web address as your homepage (e.g., https://www.yourwebsite.com/key.txt).

Configure Umbraco with appsettings.json:

Locate the appsettings.json file in your Umbraco project. Add the following configuration section to the file: JSON

"IndexNow": {
  "ApiKey": "",  // Replace with your actual API key
  "KeyLocation": "https://www.yourwebsite.com/key.txt",  // Update if your filename is different
  "FireOnPublish": true,  // Enables submitting URLs on publishing content
  "FireOnDelete": true,  // Enables submitting URLs on deleting content
  "PublicDomain": "https://www.yourwebsite.com" // Replace with your website URL
}
Product 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 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.0 343 3/22/2024