Constellation.Foundation.PageNotFound 10.2.0.19340

.NET Framework 4.8
Install-Package Constellation.Foundation.PageNotFound -Version 10.2.0.19340
dotnet add package Constellation.Foundation.PageNotFound --version 10.2.0.19340
<PackageReference Include="Constellation.Foundation.PageNotFound" Version="10.2.0.19340" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Constellation.Foundation.PageNotFound --version 10.2.0.19340
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Constellation.Foundation.PageNotFound, 10.2.0.19340"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Constellation.Foundation.PageNotFound as a Cake Addin
#addin nuget:?package=Constellation.Foundation.PageNotFound&version=10.2.0.19340

// Install Constellation.Foundation.PageNotFound as a Cake Tool
#tool nuget:?package=Constellation.Foundation.PageNotFound&version=10.2.0.19340
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Requires Sitecore 10.2
Requires .NET Framework 4.8

Constellation is a collection of utilities for the Sitecore .NET CMS.
The Foundation.PageNotFound library provides unique Sitecore-hosted "not found" pages with the correct 404 Http Response for each site in your installation.

Installation
1. Add this NuGet package to your Sitecore solution
2. Build and Deploy your solution to a target environment

Package Includes:


Custom Site Attribute: notFoundPageID

This attribute should be set to the ID of the Item to use for presenting 404 Response Status messages to the visitor.
Each site requires its own 404 page Item.


HttpRequestBegin Pipeline Processor: Page Not Found Resolver

Assuming the site is configured with the ID of the "not found page" this processor will resolve the context item
to that specific item if the context item is currently null.

This processor must run after all Site, Database, Language, and Item resolvers, but before Device and Layout resolvers.
The supplied patch:before is a safe bet, but may need to be changed depending on your solution.

Please note that this processor will only run for databases and sites as configured, and should intentionally not
run for Sitecore system sites.



HttpRequestEnd Pipeline Processor: Set404StatusCode

Assuming the site is configured with the ID of the "not found page" this processor will detect that the context item
is the 404 page and will add the 404 code to the Response.

Please note that the customizations in this processor will only run for databases and sites as configured, and should intentionally not
run for Sitecore system sites.

Product Versions
.NET Framework net48
Compatible target framework(s)
Additional computed target framework(s)
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
10.2.0.19340 345 11/15/2021
10.1.1.23179 203 9/27/2021
10.1.0.29510 431 3/4/2021
10.0.1.24084 1,183 8/5/2020
10.0.0.22793 297 8/4/2020
9.3.0.18066 299 7/27/2020
9.1.3.30027 1,377 1/14/2020
9.1.2.23026 477 4/11/2019
9.1.1.27405 418 3/6/2019
9.1.0.16776 421 2/27/2019

Updated Sitecore reference to 10.2