csainty / Owin.Examples

Experimenting with differen signatures for middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

###Owin.Examples

This repo contains my understanding of two different approaches to middleware. Through my blogpost and on twitter recently I have expressed disagreement with what appears to be the majority held belief for how middleware should be written and then composed into pipelines.

The interesting parts are middleware.cs and server.cs which define the middlware components and construct them in to a pipeline.

###I'm probably wrong...

I want to stress that I am honestly and open-mindedly investigating and assessing different opinions. Since writing the blogpost I have read, and re-read the current discussions on GitHub and tried my best to understand different points of view.

###Let me know... Want to tell me how wrong I am? Want to show me a better way? Tweet me @csainty, make an issue against this repo or send me a pull request.

Yeah but what about...

Finally if you want to add another constraint to applications constructed in this repo, one you think can make a point for or against either approach. Then please let me know. It is far too easy to cherry-pick the examples that prove your own point and I don't want to do that here.

About

Experimenting with differen signatures for middleware


Languages

Language:C# 100.0%