dotnet-websharper / owin

Wrappers for hosting WebSharper sitelets and remoting components in OWIN projects
Apache License 2.0
10 stars 9 forks source link

Provide OWIN compliant middleware signatures #3

Closed panesofglass closed 9 years ago

panesofglass commented 9 years ago

This extracts the IAppBuilder extensions into reusable middleware components. These could be simple functions, but I decided to stick to the class style that seems to be used throughout. This will allow other OWIN implementations to use the extensions.

NOTE: unfortuately, I cannot build locally or run this project locally, so I'm not sure that these changes are correct.

panesofglass commented 9 years ago

Here's the draft spec for the OWIN MidFunc signature for reference: https://github.com/openrasta/owin.spec/blob/master/spec/middleware-1.0.0-draft.1.md