diff --git a/.github/workflows/ci-build-test.yml b/.github/workflows/ci-build-test.yml index dd648a6ca..6bd40fc3d 100644 --- a/.github/workflows/ci-build-test.yml +++ b/.github/workflows/ci-build-test.yml @@ -15,6 +15,7 @@ on: - "*.sln" - "*.props" - "Makefile" + - "global.json" - "src/**" - "tests/**" - "samples/**" @@ -43,7 +44,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x # NetFX testing on non-Windows requires mono diff --git a/.github/workflows/ci-code-coverage.yml b/.github/workflows/ci-code-coverage.yml index a7b42f466..e8ffbad2f 100644 --- a/.github/workflows/ci-code-coverage.yml +++ b/.github/workflows/ci-code-coverage.yml @@ -15,7 +15,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x - name: Download test results diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 871a2fbeb..63e0bbd9a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -33,7 +33,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x - name: Generate documentation diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbaae18ca..730b68791 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,7 +53,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x - name: Build @@ -79,7 +79,7 @@ jobs: uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: dotnet-version: | - 10.0.x + 10.0.100-rc.1.25451.107 9.0.x - name: Pack @@ -108,7 +108,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: - dotnet-version: 10.0.x + dotnet-version: 10.0.100-rc.1.25451.107 - name: Download build artifacts uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 @@ -163,7 +163,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 with: - dotnet-version: 10.0.x + dotnet-version: 10.0.100-rc.1.25451.107 - name: Download build artifacts uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 diff --git a/src/ModelContextProtocol.AspNetCore/HttpServerTransportOptions.cs b/src/ModelContextProtocol.AspNetCore/HttpServerTransportOptions.cs index 8d71f5166..aa7659dc1 100644 --- a/src/ModelContextProtocol.AspNetCore/HttpServerTransportOptions.cs +++ b/src/ModelContextProtocol.AspNetCore/HttpServerTransportOptions.cs @@ -23,13 +23,13 @@ public class HttpServerTransportOptions public Func? RunSessionHandler { get; set; } /// - /// Gets or sets whether the server should run in a stateless mode that does not require all requests for a given session - /// to arrive to the same ASP.NET Core application process. + /// Gets or sets whether the server should run in a stateless mode which allows for load balancing without session affinity. /// /// - /// If , the "/sse" endpoint will be disabled, and client information will be round-tripped as part - /// of the "MCP-Session-Id" header instead of stored in memory. Unsolicited server-to-client messages and all server-to-client - /// requests are also unsupported, because any responses may arrive at another ASP.NET Core application process. + /// If , is called once for every request for each request, + /// the "/sse" endpoint will be disabled, and the "MCP-Session-Id" header will not be used. + /// Unsolicited server-to-client messages and all server-to-client requests are also unsupported, because any responses + /// may arrive at another ASP.NET Core application process. /// Client sampling and roots capabilities are also disabled in stateless mode, because the server cannot make requests. /// Defaults to . ///