Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Lifecycle of a Nancy Application

Eric Domke edited this page Jun 16, 2017 · 1 revision

Download PDF Document

Here you can download a PDF document that charts the lifecycle of every Nancy application, from receiving the HTTP request to sending the HTTP response back to the client. Relative to the ASP.NET MVC Lifecycle, the Nancy appliction lifecycle is both fairly simple and highly extensible. These extension points are documented in other wiki articles such as

  1. Managing static content with StaticContentsConventions
  2. The application Before, After and OnError pipelines
  3. Defining routes (A sample INancyModuleBuilder is demonstrated in Nancy and New Relic)
  4. The before and after module hooks
  5. Content negotiation with covers IResponseProcessors
  6. Generating a custom error page with IStatusCodeHandler(s)

nancypipeline

Clone this wiki locally