From d573423372fa57ba2830c73ea866efdaad7d10fc Mon Sep 17 00:00:00 2001 From: JanEggers Date: Sat, 16 Jun 2018 17:39:37 +0200 Subject: [PATCH] downgrade dependencies to 2.0 --- Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj | 4 ++-- Tests/MQTTnet.TestApp.AspNetCore2/Program.cs | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj b/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj index 9754f40..8db250b 100644 --- a/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj +++ b/Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj @@ -18,8 +18,8 @@ - - + + diff --git a/Tests/MQTTnet.TestApp.AspNetCore2/Program.cs b/Tests/MQTTnet.TestApp.AspNetCore2/Program.cs index a716411..5248ce6 100644 --- a/Tests/MQTTnet.TestApp.AspNetCore2/Program.cs +++ b/Tests/MQTTnet.TestApp.AspNetCore2/Program.cs @@ -13,7 +13,10 @@ namespace MQTTnet.TestApp.AspNetCore2 private static IWebHost BuildWebHost(string[] args) => WebHost.CreateDefaultBuilder(args) - .UseKestrel(o => o.ListenAnyIP(1883, l => l.UseMqtt())) + .UseKestrel(o => { + o.ListenAnyIP(1883, l => l.UseMqtt()); + o.ListenAnyIP(5000); // default http pipeline + }) .UseStartup() .Build(); }