Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OWIN & ASP.NET vNext

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

OWIN & ASP.NET vNext

Avatar for Philip Proplesch

Philip Proplesch

May 16, 2014

More Decks by Philip Proplesch

Other Decks in Programming

Transcript

  1. “It's hard to talk about ASP.NET without mentioning System.Web. It's

    easy to say that System.Web is this big monolithic, poorly layered assembly, but it has tons of useful functionality.”
  2. “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.”
  3. public class Startup { public void Configuration(IAppBuilder app) { //

    do something with `app` app.UseWebApi(…); } }
  4. public class Startup { public void Configuration(IAppBuilder app) { //

    do something with `app` app.UseSignalR(); } }
  5. public class AwesomeMiddleware { private readonly AppFunc _next; public AwesomeMiddleware(AppFunc

    next) { _next = next; } public async Task Invoke(IDictionary<string, object> env) { // do awesome things... await _next(env); } }