Explorar el Código

downgrade dependencies to 2.0

release/3.x.x
JanEggers hace 6 años
padre
commit
d573423372
Se han modificado 2 ficheros con 6 adiciones y 3 borrados
  1. +2
    -2
      Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj
  2. +4
    -1
      Tests/MQTTnet.TestApp.AspNetCore2/Program.cs

+ 2
- 2
Source/MQTTnet.AspnetCore/MQTTnet.AspNetCore.csproj Ver fichero

@@ -18,8 +18,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Connections.Abstractions" Version="2.1.0" />
<PackageReference Include="Microsoft.AspNetCore.WebSockets" Version="2.1.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="2.1.0" />
<PackageReference Include="Microsoft.AspNetCore.WebSockets" Version="2.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="2.0.1" />
</ItemGroup>

<ItemGroup>


+ 4
- 1
Tests/MQTTnet.TestApp.AspNetCore2/Program.cs Ver fichero

@@ -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();
}


Cargando…
Cancelar
Guardar