owin why should i care?

17
OWIN Why Should I Care?

Upload: tjkruger

Post on 24-Jun-2015

181 views

Category:

Software


2 download

DESCRIPTION

A look at the OWIN specification.

TRANSCRIPT

Page 1: OWIN Why should i care?

OWINWhy Should I Care?

Page 2: OWIN Why should i care?

OWINWhy Should I Care?

+

Page 3: OWIN Why should i care?

OWINWhy Should I Care?

Page 4: OWIN Why should i care?
Page 5: OWIN Why should i care?

CHALLENGES

Time between releases

Monolithic Framework

Coupled to IIS

EVOLUTIONARY STEPS

ASP.NET MVC Shipped out of band

ASP.NET Web API Built with no dependencies

on System.Web.dll

??

Page 6: OWIN Why should i care?

What is OWIN

Easily developed

Easily ported

IDictionary<string, object>owin.RequestBody owin.RequestHeaders owin.RequestMethod owin.RequestPath owin.RequestPathBase owin.RequestProtocol owin.RequestQueryString owin.RequestScheme

(Environment Dictionary)

Func<IDictionary<string, object>, Task>(Application Delegate)

Page 7: OWIN Why should i care?

KATANA

Page 8: OWIN Why should i care?

KATANA

Page 9: OWIN Why should i care?

GRAND SCHEMA

Your Web Application

ASP .NET

IIS

Host

Your !Application

OWIN Modules Pipeline!

(Middleware)

Server

Page 10: OWIN Why should i care?

HOST

IIS/ASP.NETOwinHost.exeCustom / Self Host

Page 11: OWIN Why should i care?

SERVER

SystemWeb

HttpListenerMicrosoft.Owin.Host.SystemWeb

Microsoft.Owin.Host.HttpListener

Page 12: OWIN Why should i care?

OWIN Module Pipeline (Middleware)

Page 13: OWIN Why should i care?

Your Application

PM> Install-Package Owin PM> Install-Package Microsoft.Owin.Hosting PM> Install-Package Microsoft.Owin.Host.SystemWeb PM> Install-Package Microsoft.Owin.Host.HttpListener PM> Install-Package Microsoft.AspNet.WebApi.Owin PM> Install-Package Microsoft.AspNet.SignalR.Owin PM> Install-Package Microsoft.Owin.StaticFiles PM> Install-Package Microsoft.AspNet.Identity.Owin

Page 14: OWIN Why should i care?
Page 15: OWIN Why should i care?

CHALLENGES

Time between releases

Monolithic Framework

Coupled to IIS

EVOLUTIONARY STEPS

ASP.NET MVC Shipped out of band

ASP.NET Web API Built with no dependencies

on System.Web.dll

OWIN / KATANA

Page 16: OWIN Why should i care?

OWINWhy Should I Care?

Removes Dependencies

Portable

ASP.net vNext

Page 17: OWIN Why should i care?

Thank You

@tjmkrugerhttp://tjkruger.comhttps://github.com/tjmkruger