[Blazor] Enables the client to initiate blazor server-side renders#13147
[Blazor] Enables the client to initiate blazor server-side renders#13147javiercn merged 8 commits intorelease/3.0from
Conversation
236bc70 to
dce881e
Compare
src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.netcoreapp3.0.cs
Show resolved
Hide resolved
src/Components/Server/src/Microsoft.AspNetCore.Components.Server.csproj
Outdated
Show resolved
Hide resolved
src/Components/test/testassets/ComponentsApp.Server/Pages/_Host.cshtml
Outdated
Show resolved
Hide resolved
src/Mvc/Mvc.ViewFeatures/src/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj
Outdated
Show resolved
Hide resolved
src/Shared/Components/ComponentDescriptorSerializer.Deserialize.cs
Outdated
Show resolved
Hide resolved
src/Shared/Components/ComponentDescriptorSerializer.Deserialize.cs
Outdated
Show resolved
Hide resolved
src/Shared/Components/ComponentDescriptorSerializer.Deserialize.cs
Outdated
Show resolved
Hide resolved
src/Shared/Components/ComponentDescriptorSerializer.Deserialize.cs
Outdated
Show resolved
Hide resolved
src/Shared/Components/ComponentDescriptorSerializer.Deserialize.cs
Outdated
Show resolved
Hide resolved
src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.netcoreapp3.0.cs
Show resolved
Hide resolved
rynowak
left a comment
There was a problem hiding this comment.
I've given this a look, and I'm fairly happy with what I'm seeing in the product code.
I don't really get what's going on with some of these test changes, and I think it deserves more dicussion.
|
I also want to know if we can find a better way than relying on |
5ddcab7 to
96d4773
Compare
rynowak
left a comment
There was a problem hiding this comment.
We discussed offline about the test changes here, and why changing something is necessary. Basically since it's no longer possible to host server-side components in static HTML we haven't change how the server-side tests work.
@javiercn - has some ideas about what we should do here to try to and make this simpler in the future. Right now what's here isn't great - there are like 3 different strategies in use. He's going to follow up after we close down preview 9.
9d1227e to
966435a
Compare
966435a to
bea1dad
Compare
* Removes all overloads that register a component statically with aborts selector. * Updates render component to have a RenderMode parameter that indicates how the component must render. Valid values are Static, Server, and ServerPrerendered. * When using Server or ServerPrerendered we emit marker comments into the page that are later used by blazor.server.js to bootrstrap a blazor server-side application.
bea1dad to
475e7e7
Compare
Fixes #12795