diff --git a/samples/SocialWeather/Startup.cs b/samples/SocialWeather/Startup.cs index 2380f83a2d..ee89f038e8 100644 --- a/samples/SocialWeather/Startup.cs +++ b/samples/SocialWeather/Startup.cs @@ -13,6 +13,7 @@ namespace SocialWeather public void ConfigureServices(IServiceCollection services) { services.AddRouting(); + services.AddSockets(); services.AddSingleton(); services.AddTransient(); services.AddSingleton(typeof(JsonStreamFormatter<>), typeof(JsonStreamFormatter<>)); diff --git a/samples/SocialWeather/project.json b/samples/SocialWeather/project.json index 57ca0eb14b..d8c9070831 100644 --- a/samples/SocialWeather/project.json +++ b/samples/SocialWeather/project.json @@ -4,17 +4,17 @@ "version": "1.2.0-*", "type": "platform" }, - "Microsoft.AspNetCore.Diagnostics": "1.1.0-*", - "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-*", - "Microsoft.AspNetCore.Server.Kestrel": "1.1.0-*", - "Microsoft.Extensions.Logging.Console": "1.1.0-*", + "Microsoft.AspNetCore.Diagnostics": "1.2.0-*", + "Microsoft.AspNetCore.Server.IISIntegration": "1.2.0-*", + "Microsoft.AspNetCore.Server.Kestrel": "1.2.0-*", + "Microsoft.Extensions.Logging.Console": "1.2.0-*", "Newtonsoft.Json": "9.0.1", "Microsoft.AspNetCore.Sockets": "0.1.0-*", - "Microsoft.AspNetCore.StaticFiles": "1.1.0-*", + "Microsoft.AspNetCore.StaticFiles": "1.2.0-*", "Google.Protobuf": "3.1.0" }, "tools": { - "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final" + "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-*" }, "frameworks": { "netcoreapp1.1": {}