Nancy is a lightweight, low-ceremony, framework for building HTTP-based services on .NET Framework/Core and Mono. The goal of the framework is to stay out of the way as much as possible and provide a super-duper-happy-path to all interactions. Nancy is designed to handle DELETE, GET, HEAD, OPTIONS, POST, PUT and PATCH requests and provides a simple, elegant, Domain Specific Language (DSL) for returning a response with just a couple of keystrokes, leaving you with more time to focus on the important bits.. your code and your application. Built from the bottom up, not simply a DSL on top of an existing framework. Removing limitations and feature hacks of an underlying framework, as well as the need to reference more assemblies than you need. keep it light. Run anywhere. Nancy is not built on any specific hosting technology can be run anywhere. Out of the box, Nancy supports running on ASP.NET/IIS, WCF, Self-hosting and any OWIN.
Features
- Ultra lightweight action declarations
- View engine integration
- Powerful request path matching that includes advanced parameter capabilities
- Easy response syntax, enabling you to return things like int, string, etc.
- A powerful, light-weight, testing framework to help you verify the behavior of your application
- Content negotiation