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

OWIN

 OWIN

Neuerfindung des Microsoft Web Stacks

Presentation was hold in Nurnberg, Germany at the Developer Week 2014 (DWX14)

Robert Muehsig

June 15, 2014

Transcript

36 slides
  1. 8

  2. System.Web.dll „We fix one bug and open seven new ones“

    & Performance  ASP.NET = System.Web.dll 12
  3. Ruby „Rack“ 17 app = lambda do |env| body =

    "Hello, World!" [200, {"Content-Type" => "text/plain", "Content-Length" => body.length.to_s}, [body]] end run app
  4. Ruby „Rack“ 18 Server Passenger for nginx & Apache WEBrick

    … Frameworks Ruby on Rails Sinatra …
  5. Node.js 20 // Load the http module to create an

    http server. var http = require('http'); // Configure our HTTP server to respond with Hello World to all requests. var server = http.createServer(function (request, response) { response.writeHead(200, {"Content-Type": "text/plain"}); response.end("Hello World\n"); }); // Listen on port 8000, IP defaults to 127.0.0.1 server.listen(8000); // Put a friendly message on the terminal console.log("Server running at http://127.0.0.1:8000/");
  6. OWIN Community getrieben Version 1.0 22 using AppFunc = Func<

    IDictionary<string, object>, // Environment Task>; // Done
  7. OWIN – Environment Dictionary Key Type owin.RequestScheme String owin.RequestMethod String

    owin.RequestPath String owin.RequestBody Stream owin.RequestHeaders IDictionary<string, string[]> owin.ResponseStatusCode Int owin.ResponseHeaders IDictionary<string, string[]> owin.ResponseBody Stream 23
  8. OWIN 26 Middleware • Web API • Auth • SignalR

    • NancyFx • SimpleWeb • … Server Host
  9. Katana - Modules - Auth - Static File - CORS

    - IIS & HttpListener Owin Kompatibilität - OwinHost.exe 29
  10. Wie wird das umgesetzt? 35 Zielsetzung: Alle Szenarien die mit

    Katana möglich sind, sollten auch in vNext unterstützt werden. Problemstellung heute: „typeless“-OWIN vs. Katanas OWIN Implementierungen Zusammenarbeit mit OWIN Spec Group

More Decks by Robert Muehsig

Other Decks in Programming