Web Server

W05 Did a Dictionary and a Func Just Become the New Black in ASP.NET Development

06/15/2016

9:30am - 10:45am

Level: Introductory to Intermediate

Chris Klug

Senior Software Developer

Tretton37

OWIN, or Open Web Interface for .NET, is a standardized interface that allows for the abstraction of any Web server. This lets Web developers have a completely de-coupled environment in which to build applications. The abstraction itself is extremely simple, yet powerful enough to enable more or less any feature to be supported in the future, and makes building Web applications easier and more flexible. It makes combining different frameworks, and custom functionality, in our Web server's request pipeline, a piece of cake.

Microsoft's implementation, Project Katana, is has already been put into new MVC applications for a few years. It has also become the foundation for all Web security related functionality coming out of Microsoft. On top of that, it's also the foundation for ASP.NET Core 1.0, offering a lot of flexibility, as well as cross platform support when building web applications using .NET Core. In this session, you'll see how the OWIN abstractions works, and how it helps you mix and match custom functionality and frameworks like ASP.NET Web Api and Nancy Fx, in a simple way. You will also see some "interesting" ways that you can tweak the OWIN pipeline to enable some cool scenarios.

You'll learn:

  • An overview of what OWIN is, and how it can simplify a lot of web development things
  • See how ASP.NET Core 1.0 uses an OWIN-like base to enable cross-platform hosting of ASP.NET