Skip to content

Commit 3fcf22e

Browse files
ntachevadimodi
andauthored
docs(hybrid-apps):minor fixes (#1001)
* docs(hybrid-apps):minor fixes * Update hybrid-blazor-apps.md Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com> Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
1 parent 9653428 commit 3fcf22e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

hybrid-blazor-apps.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The [WebView](https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-net-
1414

1515
This article provides details on how to setup the apps to use the Telerik UI for Blazor components.
1616

17-
>tip Explore the [Hybrid Blazor Apps (Blazor Web apps running in WinForms, WPF, MAUI)](https://github.com/telerik/blazor-ui/tree/master/common/hybrid-blazor-apps) sample app.
17+
>tip Explore the [Hybrid Blazor Sample Apps - Blazor Web Apps running in WinForms, WPF, and MAUI](https://github.com/telerik/blazor-ui/tree/master/common/hybrid-blazor-apps).
1818
1919

2020
>caption In this article:
@@ -40,17 +40,17 @@ Prior to adding the Telerik components, ensure the corresponding technology stac
4040

4141
The process for adding Telerik UI for Blazor in the WinForms/WPF/MAUI app is similar to including the components in a native Blazor app.
4242

43-
#### 1. Get the `Telerik UI for Blazor` package
43+
### 1. Get the `Telerik UI for Blazor` package
4444

4545
To use the UI for Blazor components you need to install the `Telerik.UI.for.Blazor` package and include its reference in the `.csproj` file of the app. [Read more on where to get the `Telerik.UI.for.Blazor` package...]({%slug getting-started/what-you-need%}#get-the-telerik-packages)
4646

47-
#### 2. Add the Telerik client assets
47+
### 2. Add the Telerik client assets
4848

4949
To have the Telerik Blazor components look and behave as expected, you need the Telerik [CSS and JavaScript assets]({%slug getting-started/what-you-need%}#client-assets). Include the assets inside the `<head>` of the `wwwroot/index.html` file.
5050

5151
You may add the Telerik resources as [static assets]({%slug getting-started/what-you-need%}#static-assets) or reference them from a [cloud CDN]({%slug getting-started/what-you-need%}#cdn).
5252

53-
#### 3. Include `@using` statements
53+
### 3. Include `@using` statements
5454

5555
You can set the project to recognize all Telerik components without explicit `@using `statements on every `.razor` file. To achieve this, add the following to your `~/_Imports.razor`file:
5656

@@ -60,7 +60,7 @@ You can set the project to recognize all Telerik components without explicit `@u
6060
@using Telerik.Blazor.Services
6161
````
6262

63-
#### 4. Add the `TelerikRootComponent`
63+
### 4. Add the `TelerikRootComponent`
6464

6565
You must add a `TelerikRootComponent` component as a top-level component in the app to make sure it wraps all the content. At the time of writing, custom layouts are not supported, so you can add it to the:
6666

@@ -71,7 +71,7 @@ Make sure that the `TelerikRootComponent` matches the webview viewport. Remove t
7171

7272
Once custom layouts are supported, you will be able to configure a Telerik layout in the same way as with regular Blazor web apps (check [Common Configuration]({%slug getting-started/what-you-need%}#common-configuration)).
7373

74-
#### 5. Add the UI for Blazor components
74+
### 5. Add the UI for Blazor components
7575

7676
Add your desired Telerik Blazor components in the app as in a native Blazor app. Explore the available UI for Blazor components and their features in our [live demos](https://demos.telerik.com/blazor-ui).
7777

@@ -87,7 +87,7 @@ You can now run the hybrid application. Refer to the following resources for eac
8787

8888
## Notes
8989

90-
* There is no debugging protocol exposed for the webview, so inspecting content and debugging is difficult.
90+
* There is no debugging protocol exposed for the WebView.
9191
* The Blazor web app code cannot make calls to native APIs. This feature is yet to be exposed by the framework. At the moment, you have to write your own calls to services and native app code that you need to explicitly expose.
9292
* The WebView is not on the [list of officially supported browsers by Telerik UI for Blazor]({%slug browser-support%}). It has its specifics and differences from a standalone browser. The hybrid Blazor app integration should be considered a proof-of-concept for the time being. We will monitor the framework maturity and consider adding the webview to the list of supported environments.
9393

0 commit comments

Comments
 (0)