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

AppDelegate fault action #7

Closed loudej closed 12 years ago

loudej commented 12 years ago

option a - draft 5 and in code

option b - for consideration

option c - for consideration

Submitted by Duncan Pierce:

It would be interesting to see how things work out if the fault action were attached to the environment rather than passed as a parameter to the app delegate. We've evolved our own framework of wrappers that work as extension methods around the delegates, which probably biases our view. What we find is that fault gets passed around a lot and yet is hardly ever used in our code. (The framework code does use it though and could in most cases pick it up from environment without user code having to pass it).

loudej commented 12 years ago

Discussed as part of https://github.com/owin/owin/wiki/Meeting---20-jun-2012

Plan of record is to go with C, so all callbacks will have an optional Exception parameter as the final argument