Skip to content

Commit

Permalink
Update to latest version of Orleans
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamMorrow committed Jul 23, 2023
1 parent 6e3893f commit 80c1045
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 56 deletions.
6 changes: 2 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<Project>
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Version>2.2.0</Version>
<Version>2.3.0</Version>
<Authors>Liam Morrow</Authors>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IncludeSource>true</IncludeSource>
<RepositoryUrl>https://github.com/LiamMorrow/OrgnalR</RepositoryUrl>
<PackageReleaseNotes>
Features:
- Add HubContextProvider which allows for a grain to send messages to connected SignalR clients
Bugs:
- Fixed arbitrary wait of 5s before server startup, and replaced with orleans lifecycle methods
- Update Orleans to latest version
</PackageReleaseNotes>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<LangVersion>11.0</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.1.2" />
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.2.1" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions example/chat-app/ChatApp.Server/ChatApp.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SpaProxy" Version="7.1.2" />
<PackageReference Include="Microsoft.Orleans.Client" Version="7.1.2" />
<PackageReference Include="Microsoft.AspNetCore.SpaProxy" Version="7.0.9" />
<PackageReference Include="Microsoft.Orleans.Client" Version="7.2.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion example/chat-app/ChatApp.Silo/ChatApp.Silo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Server" Version="7.1.2" />
<PackageReference Include="Microsoft.Orleans.Server" Version="7.2.1" />
</ItemGroup>

</Project>
34 changes: 0 additions & 34 deletions example/chat-app/ChatApp.sln

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.1.2" />
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.2.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OrgnalR.Backplane.GrainInterfaces\OrgnalR.Backplane.GrainInterfaces.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public override Task OnActivateAsync(CancellationToken cancellationToken)
{
RegisterTimer(
WriteStateIfDirty,
null,
string.Empty, // state is not used
TimeSpan.FromSeconds(30),
TimeSpan.FromSeconds(30)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<ProjectReference Include="..\OrgnalR.Core\OrgnalR.Core.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.1.2" />
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.2.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public override Task OnActivateAsync(CancellationToken cancellationToken)
);
RegisterTimer(
WriteStateIfDirtyAsync,
null,
string.Empty, // state is not used
TimeSpan.FromSeconds(30),
TimeSpan.FromSeconds(30)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public override Task OnActivateAsync(CancellationToken cancellationToken)
{
RegisterTimer(
WriteStateIfDirty,
null,
string.Empty, // state is not used
TimeSpan.FromSeconds(30),
TimeSpan.FromSeconds(30)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<ProjectReference Include="..\OrgnalR.Core\OrgnalR.Core.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.1.2" />
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.2.1" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/OrgnalR.Core/OrgnalR.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<ItemGroup>
<PackageReference Include="System.IO" Version="4.3.0" />
<PackageReference Include="System.Text.Encoding" Version="4.3.0" />
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.1.2" />
<PackageReference Include="Microsoft.Orleans.Sdk" Version="7.2.1" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/OrgnalR.OrleansSilo/OrgnalR.OrleansSilo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
<ProjectReference Include="..\OrgnalR.Backplane.GrainAdaptors\OrgnalR.Backplane.GrainAdaptors.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Server" Version="7.1.2" />
<PackageReference Include="Microsoft.Orleans.Server" Version="7.2.1" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/OrgnalR.SignalR/OrgnalR.SignalR.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Client" Version="7.1.2" />
<PackageReference Include="Microsoft.Orleans.Client" Version="7.2.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OrgnalR.Core\OrgnalR.Core.csproj" />
Expand Down
10 changes: 5 additions & 5 deletions test/OrgnalR.Tests/OrgnalR.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="Microsoft.Orleans.TestingHost" Version="7.1.2" />
<PackageReference Include="moq" Version="4.18.2" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="Microsoft.Orleans.TestingHost" Version="7.2.1" />
<PackageReference Include="moq" Version="4.18.4" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\OrgnalR.Backplane.GrainImplementations\OrgnalR.Backplane.GrainImplementations.csproj">
Expand Down

0 comments on commit 80c1045

Please sign in to comment.