Skip to content

Commit 97e4289

Browse files
committed
Merge branch 'main' into wasm_legacy_interop
2 parents 102f036 + 7bfdacf commit 97e4289

File tree

238 files changed

+684
-621
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

238 files changed

+684
-621
lines changed

eng/Version.Details.xml

Lines changed: 154 additions & 154 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 77 additions & 77 deletions
Large diffs are not rendered by default.

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/Components/src/Microsoft.AspNetCore.Components.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919
<Compile Include="$(ComponentsSharedSourceRoot)src\HotReloadManager.cs" LinkBase="HotReload" />
2020
<Compile Include="$(SharedSourceRoot)LinkerFlags.cs" LinkBase="Shared" />
2121
<Compile Include="$(SharedSourceRoot)QueryStringEnumerable.cs" LinkBase="Shared" />
22+
<Compile Include="$(SharedSourceRoot)Debugger\DictionaryItemDebugView.cs" LinkBase="Shared" />
23+
<Compile Include="$(SharedSourceRoot)Debugger\DictionaryDebugView.cs" LinkBase="Shared" />
2224
</ItemGroup>
2325

2426
<Import Project="Microsoft.AspNetCore.Components.Routing.targets" />
25-
27+
2628
<ItemGroup>
2729
<Reference Include="Microsoft.Extensions.Logging.Abstractions" />
2830
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />

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()

src/Extensions/Features/src/FeatureCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,6 @@ private sealed class FeatureCollectionDebugView(FeatureCollection features)
161161
private readonly FeatureCollection _features = features;
162162

163163
[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
164-
public KeyValuePair<string, object>[] Items => _features.Select(pair => new KeyValuePair<string, object>(pair.Key.FullName ?? string.Empty, pair.Value)).ToArray();
164+
public DictionaryItemDebugView<Type, object>[] Items => _features.Select(pair => new DictionaryItemDebugView<Type, object>(pair)).ToArray();
165165
}
166166
}

src/Extensions/Features/src/Microsoft.Extensions.Features.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Microsoft.AspNetCore.Http.Features.FeatureCollection
1919
<Compile Include="$(SharedSourceRoot)ThrowHelpers\ArgumentNullThrowHelper.cs" LinkBase="Shared" />
2020
<Compile Include="$(SharedSourceRoot)ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs" LinkBase="Shared" />
2121
<Compile Include="$(SharedSourceRoot)CallerArgument\CallerArgumentExpressionAttribute.cs" LinkBase="Shared" />
22+
<Compile Include="$(SharedSourceRoot)Debugger\DictionaryItemDebugView.cs" LinkBase="Shared" />
2223
</ItemGroup>
2324

2425
</Project>

src/Http/Http.Abstractions/src/HttpContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,6 @@ private sealed class HttpContextFeatureDebugView(IFeatureCollection features)
108108
private readonly IFeatureCollection _features = features;
109109

110110
[DebuggerBrowsable(DebuggerBrowsableState.RootHidden)]
111-
public KeyValuePair<string, object>[] Items => _features.Select(pair => new KeyValuePair<string, object>(pair.Key.FullName ?? string.Empty, pair.Value)).ToArray();
111+
public DictionaryItemDebugView<Type, object>[] Items => _features.Select(pair => new DictionaryItemDebugView<Type, object>(pair)).ToArray();
112112
}
113113
}

0 commit comments

Comments
 (0)