The 2.1.0 release includes support for Google OAuth2 authentication and a static file server.
Rather than introduce another middleware, the Google OAuth2 service can be accessed using the existing Google authentication middleware
with the new GoogleOAuth2AuthenticationOptions class as follows:
ClientId = “999foo999.apps.googleusercontent.com",
ClientSecret = “shhhhhhhhhh"
Static file server
package provides both fine and course-grained control over setting up static file-handling functionality. For example, the following sets up a static file server that listens on http://host/p and maps that path to the ‘public’ sub-folder of the Web application project. The setup code additionally enables directory browsing.
public void Configuration(IAppBuilder app)
FileSystem = new PhysicalFileSystem("public"),
RequestPath = new PathString("/p"),
EnableDefaultFiles = true,
EnableDirectoryBrowsing = true
More samples for both of these can be found at http://aspnet.codeplex.com