Skip to content

Commit f9fd3ba

Browse files
authored
Upgrade package version, upgrade ChatRoom to aspnetcore2.2 (#74)
1 parent 33e4805 commit f9fd3ba

File tree

8 files changed

+30
-26
lines changed

8 files changed

+30
-26
lines changed

Diff for: aspnet-samples/AdvancedChatRoom/ChatSample.AspNet.csproj

+11-8
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@
7171
<Reference Include="Microsoft.AspNetCore.Http.Features, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
7272
<HintPath>packages\Microsoft.AspNetCore.Http.Features.2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll</HintPath>
7373
</Reference>
74-
<Reference Include="Microsoft.Azure.SignalR.AspNet, Version=1.0.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
75-
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.0.0-preview1-10265\lib\net461\Microsoft.Azure.SignalR.AspNet.dll</HintPath>
74+
<Reference Include="Microsoft.Azure.SignalR.AspNet, Version=1.0.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
75+
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.0.0-preview1-10330\lib\net461\Microsoft.Azure.SignalR.AspNet.dll</HintPath>
7676
</Reference>
77-
<Reference Include="Microsoft.Azure.SignalR.Common, Version=1.0.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
78-
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.0.0-preview1-10265\lib\net461\Microsoft.Azure.SignalR.Common.dll</HintPath>
77+
<Reference Include="Microsoft.Azure.SignalR.Common, Version=1.0.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
78+
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.0.0-preview1-10330\lib\net461\Microsoft.Azure.SignalR.Common.dll</HintPath>
7979
</Reference>
80-
<Reference Include="Microsoft.Azure.SignalR.Protocols, Version=1.0.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
81-
<HintPath>packages\Microsoft.Azure.SignalR.Protocols.1.0.5-preview1-10265\lib\netstandard2.0\Microsoft.Azure.SignalR.Protocols.dll</HintPath>
80+
<Reference Include="Microsoft.Azure.SignalR.Protocols, Version=1.0.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
81+
<HintPath>packages\Microsoft.Azure.SignalR.Protocols.1.0.7\lib\netstandard2.0\Microsoft.Azure.SignalR.Protocols.dll</HintPath>
8282
</Reference>
8383
<Reference Include="Microsoft.CSharp" />
8484
<Reference Include="Microsoft.Extensions.Configuration, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
@@ -148,7 +148,7 @@
148148
<HintPath>packages\System.IO.Pipelines.4.5.1\lib\netstandard2.0\System.IO.Pipelines.dll</HintPath>
149149
</Reference>
150150
<Reference Include="System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
151-
<HintPath>packages\System.Memory.4.5.0\lib\netstandard2.0\System.Memory.dll</HintPath>
151+
<HintPath>packages\System.Memory.4.5.1\lib\netstandard2.0\System.Memory.dll</HintPath>
152152
</Reference>
153153
<Reference Include="System.Net.Http" />
154154
<Reference Include="System.Net.Http.Formatting, Version=5.2.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
@@ -163,8 +163,11 @@
163163
</Reference>
164164
<Reference Include="System.Runtime.Serialization" />
165165
<Reference Include="System.Security" />
166+
<Reference Include="System.Threading.Channels, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
167+
<HintPath>packages\System.Threading.Channels.4.5.0\lib\netstandard2.0\System.Threading.Channels.dll</HintPath>
168+
</Reference>
166169
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
167-
<HintPath>packages\System.Threading.Tasks.Extensions.4.5.0\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath>
170+
<HintPath>packages\System.Threading.Tasks.Extensions.4.5.1\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath>
168171
</Reference>
169172
<Reference Include="System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
170173
<HintPath>packages\System.ValueTuple.4.3.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath>

Diff for: aspnet-samples/AdvancedChatRoom/packages.config

+5-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<package id="Microsoft.AspNetCore.Http.Connections.Client" version="1.0.0" targetFramework="net461" />
1616
<package id="Microsoft.AspNetCore.Http.Connections.Common" version="1.0.0" targetFramework="net461" />
1717
<package id="Microsoft.AspNetCore.Http.Features" version="2.1.0" targetFramework="net461" />
18-
<package id="Microsoft.Azure.SignalR.AspNet" version="1.0.0-preview1-10265" targetFramework="net461" />
19-
<package id="Microsoft.Azure.SignalR.Protocols" version="1.0.5-preview1-10265" targetFramework="net461" />
18+
<package id="Microsoft.Azure.SignalR.AspNet" version="1.0.0-preview1-10330" targetFramework="net461" />
19+
<package id="Microsoft.Azure.SignalR.Protocols" version="1.0.7" targetFramework="net461" />
2020
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="1.0.8" targetFramework="net461" />
2121
<package id="Microsoft.Extensions.Configuration" version="2.1.0" targetFramework="net461" />
2222
<package id="Microsoft.Extensions.Configuration.Abstractions" version="2.1.0" targetFramework="net461" />
@@ -41,9 +41,10 @@
4141
<package id="System.Buffers" version="4.5.0" targetFramework="net461" />
4242
<package id="System.IdentityModel.Tokens.Jwt" version="5.2.1" targetFramework="net461" />
4343
<package id="System.IO.Pipelines" version="4.5.1" targetFramework="net461" />
44-
<package id="System.Memory" version="4.5.0" targetFramework="net461" />
44+
<package id="System.Memory" version="4.5.1" targetFramework="net461" />
4545
<package id="System.Numerics.Vectors" version="4.4.0" targetFramework="net461" />
4646
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.0" targetFramework="net461" />
47-
<package id="System.Threading.Tasks.Extensions" version="4.5.0" targetFramework="net461" />
47+
<package id="System.Threading.Channels" version="4.5.0" targetFramework="net461" />
48+
<package id="System.Threading.Tasks.Extensions" version="4.5.1" targetFramework="net461" />
4849
<package id="System.ValueTuple" version="4.3.0" targetFramework="net461" />
4950
</packages>

Diff for: aspnet-samples/ChatRoom/ChatRoom.csproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@
6565
<Reference Include="Microsoft.AspNetCore.Http.Features, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
6666
<HintPath>packages\Microsoft.AspNetCore.Http.Features.2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll</HintPath>
6767
</Reference>
68-
<Reference Include="Microsoft.Azure.SignalR.AspNet, Version=1.0.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
69-
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.0.0-preview1-10294\lib\net461\Microsoft.Azure.SignalR.AspNet.dll</HintPath>
68+
<Reference Include="Microsoft.Azure.SignalR.AspNet, Version=1.0.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
69+
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.0.0-preview1-10330\lib\net461\Microsoft.Azure.SignalR.AspNet.dll</HintPath>
7070
</Reference>
71-
<Reference Include="Microsoft.Azure.SignalR.Common, Version=1.0.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
72-
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.0.0-preview1-10294\lib\net461\Microsoft.Azure.SignalR.Common.dll</HintPath>
71+
<Reference Include="Microsoft.Azure.SignalR.Common, Version=1.0.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
72+
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.0.0-preview1-10330\lib\net461\Microsoft.Azure.SignalR.Common.dll</HintPath>
7373
</Reference>
74-
<Reference Include="Microsoft.Azure.SignalR.Protocols, Version=1.0.5.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
75-
<HintPath>packages\Microsoft.Azure.SignalR.Protocols.1.0.5-preview1-10294\lib\netstandard2.0\Microsoft.Azure.SignalR.Protocols.dll</HintPath>
74+
<Reference Include="Microsoft.Azure.SignalR.Protocols, Version=1.0.7.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
75+
<HintPath>packages\Microsoft.Azure.SignalR.Protocols.1.0.7\lib\netstandard2.0\Microsoft.Azure.SignalR.Protocols.dll</HintPath>
7676
</Reference>
7777
<Reference Include="Microsoft.CSharp" />
7878
<Reference Include="Microsoft.Extensions.Configuration, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">

Diff for: aspnet-samples/ChatRoom/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Let's look at the key changes:
4646
You also need to reference the service SDK before using these APIs. Open the **Tools | Library Package Manager | Package Manager Console** and run command:
4747

4848
```powershell
49-
Install-Package Microsoft.Azure.SignalR.AspNet -Version 1.0.0-preview1-10294
49+
Install-Package Microsoft.Azure.SignalR.AspNet -Prerelease
5050
```
5151

5252
> Note

Diff for: aspnet-samples/ChatRoom/packages.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<package id="Microsoft.AspNetCore.Http.Connections.Client" version="1.0.0" targetFramework="net461" />
1111
<package id="Microsoft.AspNetCore.Http.Connections.Common" version="1.0.0" targetFramework="net461" />
1212
<package id="Microsoft.AspNetCore.Http.Features" version="2.1.0" targetFramework="net461" />
13-
<package id="Microsoft.Azure.SignalR.AspNet" version="1.0.0-preview1-10294" targetFramework="net461" />
14-
<package id="Microsoft.Azure.SignalR.Protocols" version="1.0.5-preview1-10294" targetFramework="net461" />
13+
<package id="Microsoft.Azure.SignalR.AspNet" version="1.0.0-preview1-10330" targetFramework="net461" />
14+
<package id="Microsoft.Azure.SignalR.Protocols" version="1.0.7" targetFramework="net461" />
1515
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="1.0.8" targetFramework="net461" />
1616
<package id="Microsoft.Extensions.Configuration" version="2.1.0" targetFramework="net461" />
1717
<package id="Microsoft.Extensions.Configuration.Abstractions" version="2.1.0" targetFramework="net461" />

Diff for: samples/ChatRoom/ChatRoom.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.1</TargetFramework>
3+
<TargetFramework>netcoreapp2.2</TargetFramework>
44
<UserSecretsId>chatroom</UserSecretsId>
55
<RootNamespace>Microsoft.Azure.SignalR.Samples.ChatRoom</RootNamespace>
66
</PropertyGroup>
@@ -10,7 +10,7 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.4" />
13+
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.2.0" />
1414
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.0.*" />
1515
</ItemGroup>
1616
</Project>

Diff for: samples/ChatRoom/wwwroot/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h2 class="text-center" style="margin-top: 0; padding-top: 30px; padding-bottom:
3535
</div>
3636

3737
<!--Reference the SignalR library. -->
38-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@aspnet/signalr@1.0.0/dist/browser/signalr.min.js"></script>
38+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@aspnet/signalr@1.1.0/dist/browser/signalr.min.js"></script>
3939

4040
<!--Add script to update the page and send messages.-->
4141
<script type="text/javascript">

Diff for: samples/ChatRoomLocal/ChatRoomLocal.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.1</TargetFramework>
3+
<TargetFramework>netcoreapp2.2</TargetFramework>
44
<UserSecretsId>chatroom</UserSecretsId>
55
<RootNamespace>Microsoft.Azure.SignalR.Samples.ChatRoom</RootNamespace>
66
</PropertyGroup>
@@ -10,6 +10,6 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.4" />
13+
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.2.0" />
1414
</ItemGroup>
1515
</Project>

0 commit comments

Comments
 (0)