Handle IBuilder rename to IApplicationBuilder.

This commit is contained in:
Chris Ross 2014-09-10 12:06:55 -07:00
parent 9fc4e8704b
commit d50923a730
1 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,6 @@ using System;
using System.Net.WebSockets; using System.Net.WebSockets;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
using Microsoft.AspNet;
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Server.WebListener; using Microsoft.AspNet.Server.WebListener;
@ -29,7 +28,7 @@ namespace SelfHostServer
{ {
public class Startup public class Startup
{ {
public void Configure(IBuilder app) public void Configure(IApplicationBuilder app)
{ {
var info = (ServerInformation)app.Server; var info = (ServerInformation)app.Server;
info.Listener.AuthenticationManager.AuthenticationTypes = AuthenticationTypes.AllowAnonymous; info.Listener.AuthenticationManager.AuthenticationTypes = AuthenticationTypes.AllowAnonymous;