Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
955f564
Bump actions/checkout from 5.0.0 to 5.0.1 in the dotnet group
dependabot[bot] Nov 19, 2025
c391afe
Merge pull request #7076 from dotnet/dependabot/github_actions/dotnet…
github-actions[bot] Nov 19, 2025
f8e3432
import options (#7077)
BillWagner Nov 20, 2025
a49d0a1
Bump actions/checkout from 5.0.1 to 6.0.0 in the dotnet group
dependabot[bot] Nov 26, 2025
946d1bb
Merge pull request #7078 from dotnet/dependabot/github_actions/dotnet…
github-actions[bot] Nov 26, 2025
603808c
Bump the dotnet group with 2 updates
dependabot[bot] Dec 3, 2025
c9d861b
Merge pull request #7080 from dotnet/dependabot/github_actions/dotnet…
github-actions[bot] Dec 3, 2025
ef40067
Bump actions/upload-artifact from 5.0.0 to 6.0.0 in the dotnet group
dependabot[bot] Dec 17, 2025
156e064
Merge pull request #7082 from dotnet/dependabot/github_actions/dotnet…
github-actions[bot] Dec 17, 2025
7021da1
Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0 in the dotnet group
dependabot[bot] Jan 8, 2026
c1bc824
Merge pull request #7083 from dotnet/dependabot/github_actions/dotnet…
github-actions[bot] Jan 8, 2026
4f41ac0
Update Orleans samples to 10.0.0 (#7085)
ReubenBond Jan 21, 2026
9d2bf73
Bump actions/setup-node from 6.1.0 to 6.2.0 in the dotnet group
dependabot[bot] Jan 21, 2026
514616d
Merge pull request #7086 from dotnet/dependabot/github_actions/dotnet…
github-actions[bot] Jan 21, 2026
91b9946
Orleans JournaledGrain sample (#7029)
egil Jan 21, 2026
a269a5a
Conver old syntaxis to old one using StringBuilder (#7087)
ivanPeshterskii Jan 26, 2026
fd9090c
Bump actions/checkout from 6.0.1 to 6.0.2 in the dotnet group
dependabot[bot] Jan 28, 2026
4affa94
Merge pull request #7089 from dotnet/dependabot/github_actions/dotnet…
github-actions[bot] Jan 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-approve-and-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.4.0
uses: dependabot/fetch-metadata@v2.5.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve a PR
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/dotnet-code-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v6.0.2

- name: 'Print manual run reason'
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
echo 'Reason: ${{ github.event.inputs.reason }}'
echo 'Reason: $REASON'
env:
REASON: ${{ github.event.inputs.reason }}

- name: .NET code metrics
id: dotnet-code-metrics
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 #@v2
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 #@v2
- name: Use Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 #@v1
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 #@v1
with:
node-version: 12.x
- name: Run Markdownlint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-mono-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
build-mono:
runs-on: macos-latest
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 #@v2
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 #@v2
- name: Setup .NET SDK 6
if: ${{ env.DOTNET_DO_INSTALL == 'true' }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snippets5000.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 #@v4.2.2
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 #@v4.2.2

# Get the latest preview SDK (or sdk not installed by the runner)
- name: Setup .NET SDK
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

# Update build output json file
- name: Upload build results
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 #@v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f #@v6.0.0
with:
name: build
path: ./output.json
12 changes: 9 additions & 3 deletions core/encoding/cyrillic-to-latin/cs/ConsoleModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,14 @@ static void Main()

private static void ShowSyntax()
{
Console.WriteLine("\nSyntax: CyrillicToRoman <source> <destination>");
Console.WriteLine(" where <source> = source filename");
Console.WriteLine(" <destination> = destination filename\n");
StringBuilder sb = new StringBuilder();

sb.AppendLine();
sb.AppendLine("Syntax: CyrillicToRoman <source> <destination>");
sb.AppendLine(" where <source> = source filename");
sb.AppendLine(" <destination> = destination filename");
sb.AppendLine();

Console.WriteLine(sb.ToString());
}
}
13 changes: 8 additions & 5 deletions orleans/Adventure/AdventureClient/AdventureClient.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ServerGarbageCollection>true</ServerGarbageCollection>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting"/>
<PackageReference Include="Microsoft.Extensions.Logging.Console"/>
<PackageReference Include="Microsoft.Orleans.Client"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.2" />
<PackageReference Include="Microsoft.Orleans.Client" Version="10.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AdventureGrainInterfaces\AdventureGrainInterfaces.csproj"/>
<ProjectReference Include="..\AdventureGrainInterfaces\AdventureGrainInterfaces.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ServerGarbageCollection>true</ServerGarbageCollection>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Sdk"/>
<PackageReference Include="Microsoft.Orleans.Sdk" Version="10.0.0" />
</ItemGroup>
</Project>

12 changes: 10 additions & 2 deletions orleans/Adventure/AdventureGrains/AdventureGrains.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ServerGarbageCollection>true</ServerGarbageCollection>
</PropertyGroup>

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

<ItemGroup>
<ProjectReference Include="..\AdventureGrainInterfaces\AdventureGrainInterfaces.csproj"/>
<ProjectReference Include="..\AdventureGrainInterfaces\AdventureGrainInterfaces.csproj" />
</ItemGroup>
</Project>
15 changes: 9 additions & 6 deletions orleans/Adventure/AdventureServer/AdventureServer.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ServerGarbageCollection>true</ServerGarbageCollection>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting"/>
<PackageReference Include="Microsoft.Extensions.Logging.Console"/>
<PackageReference Include="Microsoft.Orleans.Server"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.2" />
<PackageReference Include="Microsoft.Orleans.Server" Version="10.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AdventureGrainInterfaces\AdventureGrainInterfaces.csproj"/>
<ProjectReference Include="..\AdventureGrains\AdventureGrains.csproj"/>
<ProjectReference Include="..\AdventureGrainInterfaces\AdventureGrainInterfaces.csproj" />
<ProjectReference Include="..\AdventureGrains\AdventureGrains.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="AdventureMap.json">
Expand Down
5 changes: 1 addition & 4 deletions orleans/Adventure/AdventureServer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@

// Configure the host
using var host = Host.CreateDefaultBuilder(args)
.UseOrleans(siloBuilder =>
{
siloBuilder.UseLocalhostClustering();
})
.UseOrleans(siloBuilder => siloBuilder.UseLocalhostClustering())
.Build();

// Start the host
Expand Down
9 changes: 2 additions & 7 deletions orleans/Adventure/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
<Project>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ServerGarbageCollection>true</ServerGarbageCollection>
</PropertyGroup>
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
</Project>
14 changes: 0 additions & 14 deletions orleans/Adventure/Directory.Packages.props

This file was deleted.

2 changes: 1 addition & 1 deletion orleans/Adventure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This is a simple game and there are only a few verbs which the game understands:

## Sample prerequisites

This sample is written in C# and targets .NET 9.0. It requires the [.NET 9.0 SDK](https://dotnet.microsoft.com/download/dotnet/9.0) or later.
This sample is written in C# and targets .NET 10. It requires the [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0) or later.

## Building the sample

Expand Down
10 changes: 10 additions & 0 deletions orleans/Adventure/run.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off
echo === Adventure Sample ===
echo This sample requires running both server and client.
echo.
echo Starting server...
start "Adventure Server" cmd /k dotnet run --project "%~dp0AdventureServer\AdventureServer.csproj"
echo Waiting for server to start...
timeout /t 5 /nobreak >nul
echo Starting client...
dotnet run --project "%~dp0AdventureClient\AdventureClient.csproj"
14 changes: 14 additions & 0 deletions orleans/Adventure/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
SCRIPT_DIR="$(dirname "$0")"
echo "=== Adventure Sample ==="
echo "This sample requires running both server and client."
echo ""
echo "Starting server in background..."
dotnet run --project "$SCRIPT_DIR/AdventureServer/AdventureServer.csproj" &
SERVER_PID=$!
echo "Waiting for server to start..."
sleep 5
echo "Starting client..."
dotnet run --project "$SCRIPT_DIR/AdventureClient/AdventureClient.csproj"
echo "Stopping server..."
kill $SERVER_PID 2>/dev/null
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ServerGarbageCollection>true</ServerGarbageCollection>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Transactions"/>
<PackageReference Include="Microsoft.Orleans.Sdk"/>
<PackageReference Include="Microsoft.Orleans.Transactions" Version="10.0.0" />
<PackageReference Include="Microsoft.Orleans.Sdk" Version="10.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\AccountTransfer.Interfaces\AccountTransfer.Interfaces.csproj"/>
<ProjectReference Include="..\AccountTransfer.Interfaces\AccountTransfer.Interfaces.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ServerGarbageCollection>true</ServerGarbageCollection>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Orleans.Transactions"/>
<PackageReference Include="Microsoft.Orleans.Sdk"/>
<PackageReference Include="Microsoft.Orleans.Transactions" Version="10.0.0" />
<PackageReference Include="Microsoft.Orleans.Sdk" Version="10.0.0" />
</ItemGroup>
</Project>
14 changes: 9 additions & 5 deletions orleans/BankAccount/BankClient/BankClient.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ServerGarbageCollection>true</ServerGarbageCollection>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting"/>
<PackageReference Include="Microsoft.Extensions.Logging.Console"/>
<PackageReference Include="Microsoft.Orleans.Client"/>
<PackageReference Include="Microsoft.Orleans.Transactions"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.2" />
<PackageReference Include="Microsoft.Orleans.Client" Version="10.0.0" />
<PackageReference Include="Microsoft.Orleans.Transactions" Version="10.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AccountTransfer.Interfaces\AccountTransfer.Interfaces.csproj"/>
<ProjectReference Include="..\AccountTransfer.Interfaces\AccountTransfer.Interfaces.csproj" />
</ItemGroup>
</Project>
9 changes: 3 additions & 6 deletions orleans/BankAccount/BankClient/Program.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
using AccountTransfer.Interfaces;
using AccountTransfer.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

using IHost host = Host.CreateDefaultBuilder(args)
.UseOrleansClient(client =>
{
client.UseLocalhostClustering()
.UseTransactions();
})
.UseOrleansClient(client => client.UseLocalhostClustering()
.UseTransactions())
.UseConsoleLifetime()
.Build();

Expand Down
16 changes: 10 additions & 6 deletions orleans/BankAccount/BankServer/BankServer.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ServerGarbageCollection>true</ServerGarbageCollection>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting"/>
<PackageReference Include="Microsoft.Extensions.Logging.Console"/>
<PackageReference Include="Microsoft.Orleans.Server"/>
<PackageReference Include="Microsoft.Orleans.Transactions"/>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.2" />
<PackageReference Include="Microsoft.Orleans.Server" Version="10.0.0" />
<PackageReference Include="Microsoft.Orleans.Transactions" Version="10.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AccountTransfer.Grains\AccountTransfer.Grains.csproj"/>
<ProjectReference Include="..\AccountTransfer.Interfaces\AccountTransfer.Interfaces.csproj"/>
<ProjectReference Include="..\AccountTransfer.Grains\AccountTransfer.Grains.csproj" />
<ProjectReference Include="..\AccountTransfer.Interfaces\AccountTransfer.Interfaces.csproj" />
</ItemGroup>
</Project>
9 changes: 3 additions & 6 deletions orleans/BankAccount/BankServer/Program.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Hosting;

await Host.CreateDefaultBuilder(args)
.UseOrleans(siloBuilder =>
{
siloBuilder
.UseOrleans(siloBuilder => siloBuilder
.UseLocalhostClustering()
.AddMemoryGrainStorageAsDefault()
.UseTransactions();
})
.UseTransactions())
.RunConsoleAsync();
8 changes: 2 additions & 6 deletions orleans/BankAccount/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<Project>
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
</Project>
15 changes: 0 additions & 15 deletions orleans/BankAccount/Directory.Packages.props

This file was deleted.

2 changes: 1 addition & 1 deletion orleans/BankAccount/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public Task Withdraw(uint amount) => _balance.PerformUpdate(x =>

## Sample prerequisites

This sample is written in C# and targets .NET 9.0. It requires the [.NET 9.0 SDK](https://dotnet.microsoft.com/download/dotnet/9.0) or later.
This sample is written in C# and targets .NET 10. It requires the [.NET 10 SDK](https://dotnet.microsoft.com/download/dotnet/10.0) or later.

## Building the sample

Expand Down
Loading