dotnet add package KXB.Umbraco.NotFoundHandler --version 1.0.2
NuGet\Install-Package KXB.Umbraco.NotFoundHandler -Version 1.0.2
<PackageReference Include="KXB.Umbraco.NotFoundHandler" Version="1.0.2" />
paket add KXB.Umbraco.NotFoundHandler --version 1.0.2
#r "nuget: KXB.Umbraco.NotFoundHandler, 1.0.2"
// Install KXB.Umbraco.NotFoundHandler as a Cake Addin #addin nuget:?package=KXB.Umbraco.NotFoundHandler&version=1.0.2 // Install KXB.Umbraco.NotFoundHandler as a Cake Tool #tool nuget:?package=KXB.Umbraco.NotFoundHandler&version=1.0.2
A 404 handler which allows you to spesify an Umbraco documenttype as a 404 page.
This allows us to use actual umbraco content as content for our 404 page.
- Add httpErrors existingResponse="PassThrough" to the webServer section of your webconfig.
- We need to register the handler with umbraco's ContentResolver.
- Add following line to the OnApplicationStarting method in your Global.asax.cs
** ContentLastChanceFinderResolver.Current.SetFinder(new KXB.Umbraco.NotFoundHandler.NotFoundHandler()); **
To implement a custom handler it is possible to override the NotFoundHandler.TryFindContent(PublishedContentRequest contentRequest) method.
This package is part a set of smaller modules that I have found useful when working with umbraco.
Other packages include:
|Product||Versions Compatible and additional computed target framework versions.|
|.NET Framework||net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
Decreased target framework to v4.5.2