Skip to content

Commit 825fca7

Browse files
authored
upgrade versions for samples (#129)
1 parent d135f11 commit 825fca7

File tree

16 files changed

+31
-78
lines changed

16 files changed

+31
-78
lines changed

aspnet-samples/AdvancedChatRoom/ChatSample.AspNet.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@
6868
<Reference Include="Microsoft.AspNetCore.Http.Features, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
6969
<HintPath>packages\Microsoft.AspNetCore.Http.Features.2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll</HintPath>
7070
</Reference>
71-
<Reference Include="Microsoft.Azure.SignalR.AspNet, Version=1.4.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
72-
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.4.0\lib\net461\Microsoft.Azure.SignalR.AspNet.dll</HintPath>
71+
<Reference Include="Microsoft.Azure.SignalR.AspNet, Version=1.4.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
72+
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.4.1\lib\net461\Microsoft.Azure.SignalR.AspNet.dll</HintPath>
7373
</Reference>
74-
<Reference Include="Microsoft.Azure.SignalR.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
75-
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.4.0\lib\net461\Microsoft.Azure.SignalR.Common.dll</HintPath>
74+
<Reference Include="Microsoft.Azure.SignalR.Common, Version=1.4.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
75+
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.4.1\lib\net461\Microsoft.Azure.SignalR.Common.dll</HintPath>
7676
</Reference>
77-
<Reference Include="Microsoft.Azure.SignalR.Protocols, Version=1.4.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
78-
<HintPath>packages\Microsoft.Azure.SignalR.Protocols.1.4.0\lib\netstandard2.0\Microsoft.Azure.SignalR.Protocols.dll</HintPath>
77+
<Reference Include="Microsoft.Azure.SignalR.Protocols, Version=1.4.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
78+
<HintPath>packages\Microsoft.Azure.SignalR.Protocols.1.4.1\lib\netstandard2.0\Microsoft.Azure.SignalR.Protocols.dll</HintPath>
7979
</Reference>
8080
<Reference Include="Microsoft.CSharp" />
8181
<Reference Include="Microsoft.Extensions.Configuration, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">

aspnet-samples/AdvancedChatRoom/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<package id="Microsoft.AspNetCore.Http.Connections.Client" version="1.0.0" targetFramework="net461" />
1515
<package id="Microsoft.AspNetCore.Http.Connections.Common" version="1.0.0" targetFramework="net461" />
1616
<package id="Microsoft.AspNetCore.Http.Features" version="2.1.0" targetFramework="net461" />
17-
<package id="Microsoft.Azure.SignalR.AspNet" version="1.4.0" targetFramework="net461" />
18-
<package id="Microsoft.Azure.SignalR.Protocols" version="1.4.0" targetFramework="net461" />
17+
<package id="Microsoft.Azure.SignalR.AspNet" version="1.4.1" targetFramework="net461" />
18+
<package id="Microsoft.Azure.SignalR.Protocols" version="1.4.1" targetFramework="net461" />
1919
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="1.0.8" targetFramework="net461" />
2020
<package id="Microsoft.Extensions.Configuration" version="2.1.0" targetFramework="net461" />
2121
<package id="Microsoft.Extensions.Configuration.Abstractions" version="2.1.0" targetFramework="net461" />

aspnet-samples/ChatRoom/ChatRoom.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@
6262
<Reference Include="Microsoft.AspNetCore.Http.Features, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
6363
<HintPath>packages\Microsoft.AspNetCore.Http.Features.2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll</HintPath>
6464
</Reference>
65-
<Reference Include="Microsoft.Azure.SignalR.AspNet, Version=1.4.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
66-
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.4.0\lib\net461\Microsoft.Azure.SignalR.AspNet.dll</HintPath>
65+
<Reference Include="Microsoft.Azure.SignalR.AspNet, Version=1.4.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
66+
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.4.1\lib\net461\Microsoft.Azure.SignalR.AspNet.dll</HintPath>
6767
</Reference>
68-
<Reference Include="Microsoft.Azure.SignalR.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
69-
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.4.0\lib\net461\Microsoft.Azure.SignalR.Common.dll</HintPath>
68+
<Reference Include="Microsoft.Azure.SignalR.Common, Version=1.4.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
69+
<HintPath>packages\Microsoft.Azure.SignalR.AspNet.1.4.1\lib\net461\Microsoft.Azure.SignalR.Common.dll</HintPath>
7070
</Reference>
71-
<Reference Include="Microsoft.Azure.SignalR.Protocols, Version=1.4.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
72-
<HintPath>packages\Microsoft.Azure.SignalR.Protocols.1.4.0\lib\netstandard2.0\Microsoft.Azure.SignalR.Protocols.dll</HintPath>
71+
<Reference Include="Microsoft.Azure.SignalR.Protocols, Version=1.4.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
72+
<HintPath>packages\Microsoft.Azure.SignalR.Protocols.1.4.1\lib\netstandard2.0\Microsoft.Azure.SignalR.Protocols.dll</HintPath>
7373
</Reference>
7474
<Reference Include="Microsoft.CSharp" />
7575
<Reference Include="Microsoft.Extensions.Configuration, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">

aspnet-samples/ChatRoom/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<package id="Microsoft.AspNetCore.Http.Connections.Client" version="1.0.0" targetFramework="net461" />
1010
<package id="Microsoft.AspNetCore.Http.Connections.Common" version="1.0.0" targetFramework="net461" />
1111
<package id="Microsoft.AspNetCore.Http.Features" version="2.1.0" targetFramework="net461" />
12-
<package id="Microsoft.Azure.SignalR.AspNet" version="1.4.0" targetFramework="net461" />
13-
<package id="Microsoft.Azure.SignalR.Protocols" version="1.4.0" targetFramework="net461" />
12+
<package id="Microsoft.Azure.SignalR.AspNet" version="1.4.1" targetFramework="net461" />
13+
<package id="Microsoft.Azure.SignalR.Protocols" version="1.4.1" targetFramework="net461" />
1414
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="1.0.8" targetFramework="net461" />
1515
<package id="Microsoft.Extensions.Configuration" version="2.1.0" targetFramework="net461" />
1616
<package id="Microsoft.Extensions.Configuration.Abstractions" version="2.1.0" targetFramework="net461" />

samples/AdvancedChatRoom/AdvancedChatRoom.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.4" />
15-
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.0.*" />
15+
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.*" />
1616
</ItemGroup>
1717
</Project>

samples/AdvancedChatRoom/Dockerfile

Lines changed: 0 additions & 24 deletions
This file was deleted.

samples/AdvancedChatRoom/README.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Azure SignalR Service Advanced Chat Room
22
=================================
33

4-
Just like [ChatRoom sample](../ChatRoom), you can leverage Azure SignalR Service to handle more clients and offload the connection management part. This sample demonstrates more operations available in Azure SignalR Service. Also provided docker image to simplify build environment problems.
4+
Just like [ChatRoom sample](../ChatRoom), you can leverage Azure SignalR Service to handle more clients and offload the connection management part. This sample demonstrates more operations available in Azure SignalR Service.
55

66
Now the sample supports:
77

@@ -13,22 +13,13 @@ Now the sample supports:
1313
* Cookie / JWT based Authentication
1414
* Role / Claim / Policy based Authrization
1515

16-
## Build Docker Images
16+
## Run the sample locally
1717

18-
First check the SDK version needed. Each SDKVerison will build a separate docker image and the tag is the sdk version.
19-
```bash
20-
# build-image.sh
21-
declare -a SDKVersion=("1.0.0-preview1-10009" "1.0.0-preview1-10011" "1.0.0-preview1-10015" "1.0.0-preview1-10200")
18+
Type the following commands to run this app.
2219
```
23-
24-
Then run the script to build docker images.
25-
```bash
26-
./build-image.sh
27-
```
28-
29-
You can run the image with Azure Signalr Service.
30-
```bash
31-
docker run -e Azure__SignalR__ConnectionString="<your connection string>" -p 5000:80 signalr-advancedchatroom:<sdk version>
20+
dotnet restore
21+
dotnet user-secrets set Azure:SignalR:ConnectionString "<your connection string>"
22+
dotnet run
3223
```
3324

3425
Open the broswer with url `localhost:5000`, you can see the sample just like Chat Sample but has more operations.

samples/AdvancedChatRoom/build-image.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

samples/FlightMap/FlightMap.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.4" />
15-
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.0.*" />
15+
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.*" />
1616
</ItemGroup>
1717
</Project>

samples/GitHubChat/GitHubChat.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
<ItemGroup>
1313
<PackageReference Include="AspNet.Security.OAuth.GitHub" Version="2.0.0-rc2-final" />
1414
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.4" />
15-
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.0.*" />
15+
<PackageReference Include="Microsoft.Azure.SignalR" Version="1.*" />
1616
</ItemGroup>
1717
</Project>

0 commit comments

Comments
 (0)