diff --git a/samples/SampleApp/Microsoft.AspNet.Hosting.ini b/samples/SampleApp/Microsoft.AspNet.Hosting.ini index 3992612903..3acac330ec 100644 --- a/samples/SampleApp/Microsoft.AspNet.Hosting.ini +++ b/samples/SampleApp/Microsoft.AspNet.Hosting.ini @@ -1,3 +1,3 @@  -Server = Microsoft.AspNet.Server.WebListener +Server = Kestrel Server.Urls = http://localhost:5000/ diff --git a/samples/SampleApp/Startup.cs b/samples/SampleApp/Startup.cs index 8a5b27fe3e..880cc4a984 100644 --- a/samples/SampleApp/Startup.cs +++ b/samples/SampleApp/Startup.cs @@ -11,8 +11,6 @@ namespace SampleApp { public void Configure(IApplicationBuilder app) { - app.UseWebSockets(); - app.Run(async context => { Console.WriteLine("{0} {1}{2}{3}", diff --git a/samples/SampleApp/project.json b/samples/SampleApp/project.json index 25d10106db..4d30db9489 100644 --- a/samples/SampleApp/project.json +++ b/samples/SampleApp/project.json @@ -1,9 +1,7 @@ { "version": "1.0.0-*", "dependencies": { - "Kestrel": "1.0.0-*", - "Microsoft.AspNet.Server.WebListener": "1.0.0-*", - "Microsoft.AspNet.WebSockets.Server": "1.0.0-*" + "Kestrel": "1.0.0-*" }, "frameworks": { "aspnet50": { },