Skip to content

Commit bab7275

Browse files
chore(common): updates for WASM Preview4
1 parent ee17d50 commit bab7275

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ intro_columns:
331331
baseurl: /blazor-ui
332332

333333
## Latest UI for Blazor version. Used in some articles
334-
uiForBlazorLatestVersion: "2.10.0"
334+
uiForBlazorLatestVersion: "2.11.0"
335335
supportedFrameworkVersion: ".NET Core 3.1.3"
336336

337337
## The Kendo UI version used

getting-started/client-blazor.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ For client-side `Blazor App`, we recommend the usage of `Blazor (ASP.NET Hosted)
6161
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
6262
using Microsoft.Extensions.DependencyInjection;
6363
using System.Threading.Tasks;
64+
using System.Net.Http;
65+
using System;
6466

6567
namespace ClientBlazorProject.Client // make sure this matches your actual WASM project namespace
6668
{
@@ -70,10 +72,10 @@ For client-side `Blazor App`, we recommend the usage of `Blazor (ASP.NET Hosted)
7072
{
7173
// sample host builder for a WASM app, yours may differ
7274
var builder = WebAssemblyHostBuilder.CreateDefault(args);
73-
builder.Services.AddBaseAddressHttpClient();
7475
builder.RootComponents.Add<App>("app");
76+
builder.Services.AddSingleton(new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
7577
// there may be more code here
76-
78+
7779
// register the Telerik services
7880
builder.Services.AddTelerikBlazor();
7981

upgrade/framework-versions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Telerik UI for Blazor targets `netstandard2.1` in order to be compatible with th
2323

2424
| .NET version | Telerik UI for Blazor version |
2525
|---------------------------|-------------------------------|
26-
| .NET Core 3.1.3 | {{site.uiForBlazorLatestVersion}} |
26+
| .NET Core 3.1.3 | 2.10.0 - {{site.uiForBlazorLatestVersion}} |
2727
| .NET Core 3.1.2 | 2.9.0 |
2828
| .NET Core 3.1.1 | 2.7.0 - 2.8.0 |
2929
| .NET Core 3.1 | 2.5.0 - 2.6.1 |
@@ -45,7 +45,8 @@ While the release dates and numbers of the WASM flavor often match with the .NET
4545
4646
| WASM Preview version | Telerik UI for Blazor version |
4747
|--------------------------------------|-------------------------------|
48-
| 3.2 preview 3 (3.2.0-preview3.20168.3) | {{site.uiForBlazorLatestVersion}} |
48+
| 3.2 preview 4 (3.2.0-preview4.20210.8) | {{site.uiForBlazorLatestVersion}} |
49+
| 3.2 preview 3 (3.2.0-preview3.20168.3) | 2.10.0 |
4950
| 3.2 preview 2 (3.2.0-preview2.20160.5) | 2.9.0 |
5051
| 3.2 preview 1 (3.2.0-preview1.20073.1) | 2.7.0 - 2.8.0 |
5152
| preview 4 (3.1.0-preview4.19579.2) | 2.5.0 - 2.6.1 |

0 commit comments

Comments
 (0)