简体   繁体   中英

Blazor - WebAssemby ASP.NET Core hosted model

There seems to be little documentation on the new WebAssembly ASP.NET Core hosted model. I realise that Blazer WebAssembly model is in preview until May 2020, however, once the latest preview template is installed in Visual Studio 2019, there is the option to use ASP.NET Core hosted.

在此处输入图片说明

From what I can gather, this model appears to be a hybrid between the Blazor Server App and the Blazor WebAssembly App hosting models in that in addition to using the client to render in WebAssembly, also employs server technology, eg SignalR.

What would be the benefits of using this hosting model?

What would be the benefits of using this hosting model?

In the hosted model, the server will:

  • serve the client (wasm) Blazor application
  • typically provide APIs that will be consumed by the client application

In the hosted model, you do not need SignalR to get the Blazor app working

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM