Pārlūkot izejas kodu

downgrade dependencies to 2.0

release/3.x.x
JanEggers pirms 6 gadiem
vecāks
revīzija
d573423372
2 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt