How to use both Blazor client and server in same web

喜你入骨 提交于 2021-01-20 08:14:39

问题


I'm learning about the Blazor, and see benefit of 2 types client-side and server-side.

I want to use both on the same web e.g. one path is a client-side WebAssembly app, another path is a server-side that run code in server.

I have seen Blazor Full-Stack template (not quite understand) but it missing from latest templates package. Did they remove it on purpose? (only 2 left Blazor Server App and Blazor WebAssembly App)

I download templates from this command.

dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview9.19465.2

Can client-side and server-side work together?


回答1:


It is not officially supported or build, but, it is in theory possible. However, it is something they are looking into.

Source (watch from 38:35): https://youtu.be/qF6ixMjCzHA?t=1715



来源:https://stackoverflow.com/questions/58131674/how-to-use-both-blazor-client-and-server-in-same-web

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!