About
OWIN defines a standard interface between .NET web servers and web applications. The goal of the OWIN interface is to decouple server and application, encourage the development of simple modules for .NET web development, and, by being an open standard, stimulate the open source ecosystem of .NET web development tools.
OWIN defines a single anonymous delegate signature, and therefore introduces no dependencies; there is no OWIN source code.
Specification
-
Draft 6 (Forthcoming)
November 2011
Goals: Adopt Semantic Versioning; define a normative method for obtaining the IP address of the connected client; move request body delegate out of the environment dictionary and pass as an argument to the application delegate; define normative encoding rules for path, path base, and query string.
-
Draft 5
13 March 2011
New styling to highlight normative sections and important notes. Environment dictionary keys renamed for consistency. Expanded and clarified rules for line-folding in request and response header dictionaries. Introduced the body delegate, replacing
IEnumerable<object>as an entity body mechanism. Introduced algorithm for reconstructing the complete URI of a request. Added requirement that the Host: header must be present in the environment dictionary. -
Draft 4
13 February 2011
Header dictionary form changed from
IDictionary<string, IList<string>>toIDictionary<string, string>, line folding rules added. -
Draft 3
3 January 2011
Uses anonymous delegates and an environment dictionary rather than concrete interfaces, obviating the need for Owin.dll.
-
Draft 2
11 December 2011
Expanded, more specific language.
-
Draft 1 (no longer available)
7 December 2010
Initial draft used concrete
IApplication,IRequest,IResponseinterfaces (specified in a companion Owin.dll, no longer available)
Discussion
Discuss OWIN on the .NET HTTP Abstractions list.Chat
You can also join the chat room to discuss owin.Projects
These projects are known to be OWIN-compatible. If you'd like your project listed here, please post on the discussion list.