OWIN
OWIN (a.k.a. Open Web
Interface for .NET) is a new way of processing HTTP requests in .NET. It
is a specification describing how .NET web servers and .NET applications should
interface and interact. The idea is that by decoupling the server and
application we are able to write code independent of the host platform.
Our code at that point can be host agnostic and allow us much more flexibility
on our chosen publishing environment.
IIS currently does double duty by
handling both the host and server responsibilities. To be clear, by host
duties, I mean the process management, and by server, I mean network management
and request handling. This means that we as developers have to use
packages specific to IIS suck as HttpModules, HttpHandlers, etc. While
this is effective, it makes our application tightly coupled to a specific
hosting environment. So, if we would want to target something a little
more small to host a WebAPI, we would be out of luck. OWIN gives us the
ability to decouple those two things which gives us the flexibility to choose
components based on individual functions while selecting only the ones we need
and substituting only the ones that are actually different across hosting
platforms. All of those changes would actually take place beneath the
application. Hm.. where have I seen this kind of thing before?
The way I understand it, a server in
OWN is made up of an environment dictionary, of the form IDictionary<string,
object>, used for holding the request processing state: things like the
request path, the headers collection, the request bits themselves, and a
delegate, of the form Func<IDictionary<string, object>, Task>,
which is used to model how the components appear to each other. This
means that an app is a list of those components executed in sequence, each of
those awaiting the next and passing the environment dictionary to each other.
This seems very dynamic and portable, which is a really strong position for a
WebAPI or other hosted service.
Katana Project
Katana is a set of components by
Microsoft for building and hosting OWIN-based web applications. Katana
has host, server, and middleware source code and documentation located here. These tools are available via NuGet.
These products are actively developed by the Katana team assigned to the
Microsoft Open Tech Hub and in collaboration with a community of open source
developers.
polo ralph lauren outlet online, oakley sunglasses, louis vuitton, burberry pas cher, tiffany jewelry, oakley sunglasses, ray ban sunglasses, christian louboutin, sac longchamp pas cher, christian louboutin uk, longchamp outlet, jordan shoes, kate spade outlet, christian louboutin outlet, louboutin pas cher, polo outlet, ray ban sunglasses, air max, tory burch outlet, cheap oakley sunglasses, jordan pas cher, ugg boots, uggs on sale, nike free run, oakley sunglasses wholesale, gucci handbags, nike outlet, oakley sunglasses, louis vuitton outlet, tiffany and co, prada outlet, replica watches, ray ban sunglasses, nike roshe, longchamp pas cher, ugg boots, louis vuitton outlet, prada handbags, longchamp outlet, replica watches, nike air max, longchamp outlet, nike free, nike air max, louis vuitton, louis vuitton outlet, polo ralph lauren, michael kors pas cher, christian louboutin shoes
ReplyDeleteconverse outlet, herve leger, hollister clothing, lululemon, valentino shoes, oakley, vans, nike air max, bottega veneta, soccer jerseys, mont blanc pens, wedding dresses, vans outlet, celine handbags, nike huaraches, north face outlet, insanity workout, ray ban, mcm handbags, baseball bats, hollister, instyler, p90x workout, ghd hair, nike trainers uk, chi flat iron, iphone cases, nfl jerseys, mac cosmetics, nike roshe run, gucci, babyliss, nike air max, soccer shoes, asics running shoes, beats by dre, north face outlet, ferragamo shoes, converse, abercrombie and fitch, hermes belt, hollister, reebok outlet, new balance shoes, ralph lauren, longchamp uk, jimmy choo outlet, lancel, timberland boots, louboutin
ReplyDeletecanada goose outlet, pandora uk, louis vuitton, louis vuitton, karen millen uk, toms shoes, ugg,ugg australia,ugg italia, ugg uk, moncler uk, louis vuitton, montre pas cher, wedding dresses, canada goose, pandora jewelry, moncler, canada goose outlet, juicy couture outlet, moncler, canada goose, canada goose, moncler, louis vuitton, canada goose uk, ugg, moncler, hollister, thomas sabo, moncler outlet, ugg,uggs,uggs canada, ugg pas cher, coach outlet, pandora jewelry, replica watches, swarovski crystal, supra shoes, louis vuitton, moncler outlet, swarovski, links of london, canada goose outlet, juicy couture outlet, marc jacobs, doudoune moncler, canada goose jackets, pandora charms
ReplyDelete