KXB.Umbraco.NotFoundHandler 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.

     Getting started:

     Web.config:
       - Add httpErrors existingResponse="PassThrough" to the webServer section of your webconfig.

     Global.asax:
       - 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:

     - KXB.Umbraco.RouteHijacking

     - KXB.Umbraco.Search

Install-Package KXB.Umbraco.NotFoundHandler -Version 1.0.2
dotnet add package KXB.Umbraco.NotFoundHandler --version 1.0.2
<PackageReference Include="KXB.Umbraco.NotFoundHandler" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KXB.Umbraco.NotFoundHandler --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Decreased target framework to v4.5.2

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.2 531 8/3/2017
1.0.1 259 8/2/2017
1.0.0 286 8/1/2017