Преглед на файлове

downgrade dependencies to 2.0

release/3.x.x
JanEggers преди 6 години
родител
ревизия
d573423372
променени са 2 файла, в които са добавени 6 реда и са изтрити 3 реда
  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 Целия файл

@@ -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 Целия файл

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


Зареждане…
Отказ
Запис