Skip to content

Commit 41d82c4

Browse files
authored
Update SDK to 9.0.100-alpha.1.23618.1 (#52877)
1 parent e554a8e commit 41d82c4

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"sdk": {
3-
"version": "9.0.100-alpha.1.23608.3"
3+
"version": "9.0.100-alpha.1.23618.1"
44
},
55
"tools": {
6-
"dotnet": "9.0.100-alpha.1.23608.3",
6+
"dotnet": "9.0.100-alpha.1.23618.1",
77
"runtimes": {
88
"dotnet/x86": [
99
"$(MicrosoftNETCoreBrowserDebugHostTransportVersion)"

src/Components/Server/src/Circuits/CircuitHost.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,6 @@ private async Task TryNotifyClientErrorAsync(IClientProxy client, string error,
728728
internal Task UpdateRootComponents(
729729
RootComponentOperationBatch operationBatch,
730730
ProtectedPrerenderComponentApplicationStore store,
731-
IServerComponentDeserializer serverComponentDeserializer,
732731
CancellationToken cancellation)
733732
{
734733
Log.UpdateRootComponentsStarted(_logger);

src/Components/Server/src/ComponentHub.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public async Task UpdateRootComponents(string serializedComponentOperations, str
184184
new ProtectedPrerenderComponentApplicationStore(applicationState, _dataProtectionProvider) :
185185
new ProtectedPrerenderComponentApplicationStore(_dataProtectionProvider);
186186

187-
_ = circuitHost.UpdateRootComponents(operations, store, _serverComponentSerializer, Context.ConnectionAborted);
187+
_ = circuitHost.UpdateRootComponents(operations, store, Context.ConnectionAborted);
188188
}
189189

190190
public async ValueTask<bool> ConnectCircuit(string circuitIdSecret)

src/Components/Server/test/Circuits/CircuitHostTest.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,7 @@ private async Task AddComponentAsync<TComponent>(CircuitHost circuitHost, int ss
598598
};
599599

600600
// Add component
601-
await circuitHost.UpdateRootComponents(
602-
new() { Operations = [addOperation] }, null, CreateDeserializer(), CancellationToken.None);
601+
await circuitHost.UpdateRootComponents(new() { Operations = [addOperation] }, null, CancellationToken.None);
603602
}
604603

605604
private async Task UpdateComponentAsync<TComponent>(CircuitHost circuitHost, int ssrComponentId, Dictionary<string, object> parameters = null, string componentKey = "")
@@ -615,8 +614,7 @@ private async Task UpdateComponentAsync<TComponent>(CircuitHost circuitHost, int
615614
};
616615

617616
// Update component
618-
await circuitHost.UpdateRootComponents(
619-
new() { Operations = [updateOperation] }, null, CreateDeserializer(), CancellationToken.None);
617+
await circuitHost.UpdateRootComponents(new() { Operations = [updateOperation] }, null, CancellationToken.None);
620618
}
621619

622620
private async Task RemoveComponentAsync(CircuitHost circuitHost, int ssrComponentId)
@@ -628,8 +626,7 @@ private async Task RemoveComponentAsync(CircuitHost circuitHost, int ssrComponen
628626
};
629627

630628
// Remove component
631-
await circuitHost.UpdateRootComponents(
632-
new() { Operations = [removeOperation] }, null, CreateDeserializer(), CancellationToken.None);
629+
await circuitHost.UpdateRootComponents(new() { Operations = [removeOperation] }, null, CancellationToken.None);
633630
}
634631

635632
private ProtectedPrerenderComponentApplicationStore CreateStore()

0 commit comments

Comments
 (0)