From fa0219f75eec71faaa31ab1f2025c83ca6447297 Mon Sep 17 00:00:00 2001 From: moozzyk Date: Sun, 8 Jan 2017 18:41:03 -0800 Subject: [PATCH] Updating Social Weather sample to 1.2.0 --- samples/SocialWeather/Startup.cs | 1 + samples/SocialWeather/project.json | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) 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": {}