你的位置: 码友网首页 / 资讯源列表 / Prerendering your Blazor WASM application with .NET 5 (part 2 - solving the missing HttpClient problem)

关于[Prerendering your Blazor WASM application with .NET 5 (part 2 - solving the missing HttpClient problem)]的摘要:

In part 1 we saw how to set up your Blazor WASM site for prerendering. This means you can serve your application nice and quickly to your users without making them wait for Blazor WASM to finish loading. However, we were left with a bit of a problem. When you navigate to the /FetchData page and hit refresh you get an error that HttpClient hasn’t been registered.

原文地址: https://jonhilton.net/blazor-wasm-prerendering-missing-http-client/

收录时间: 2020-10-10 浏览量: 1812 分类: .NET 5

| 0 收藏 | 0