downgrade dependencies to 2.0

This commit is contained in:
JanEggers
2018-06-16 17:39:37 +02:00
parent 410bc211a5
commit d573423372
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -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<Startup>()
.Build();
}