Lifecycle of a Nancy Application - NancyFx/Nancy GitHub Wiki
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
- Managing static content with StaticContentsConventions
- The application Before, After and OnError pipelines
- Defining routes (A sample
INancyModuleBuilder
is demonstrated in Nancy and New Relic) - The before and after module hooks
- Content negotiation with covers IResponseProcessors
- Generating a custom error page with IStatusCodeHandler(s)