first iteration

This commit is contained in:
JanEggers
2018-06-16 17:20:00 +02:00
parent caea7910b4
commit c758ae89f4
7 changed files with 313 additions and 4 deletions
@@ -1,5 +1,6 @@
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using MQTTnet.AspNetCore;
namespace MQTTnet.TestApp.AspNetCore2
{
@@ -12,6 +13,7 @@ namespace MQTTnet.TestApp.AspNetCore2
private static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseKestrel(o => o.ListenAnyIP(1883, l => l.UseMqtt()))
.UseStartup<Startup>()
.Build();
}