owin / owin.dll

OWIN defines a standard interface between .NET web servers and web applications.
http://owin.org/
Apache License 2.0
162 stars 19 forks source link

Environment key "owin.CallDisposed" #9

Closed loudej closed 12 years ago

loudej commented 12 years ago

There's an ad-hoc key "host.CallDisposed" with a CancellationToken that will be signalled when a request/response cycle is entirely complete.

That is incredibly convenient for distributed cleanup. A framework could use register with this token to perform IoC container Per-Request scope disposal.

loudej commented 12 years ago

This is deprecated by the CallParameters.Completed member