Skip to content

Commit 6eec8de

Browse files
committed
Updated Blazor components Getting Started UG documentation for Blazor Web App
1 parent f214386 commit 6eec8de

25 files changed

+890
-590
lines changed

blazor/3D-chart/getting-started-with-web-app.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ N> Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor components are availa
9999

100100
{% tabcontent .NET CLI %}
101101

102-
### Prerequisites
102+
## Prerequisites
103103

104104
Latest version of the [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, you can determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux).
105105

@@ -111,7 +111,7 @@ dotnet --version
111111
{% endhighlight %}
112112
{% endtabs %}
113113

114-
### Create a Blazor Web App using .NET CLI
114+
## Create a Blazor Web App using .NET CLI
115115

116116
Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux).
117117

@@ -131,17 +131,16 @@ cd BlazorWebApp.Client
131131

132132
This command creates a new Blazor Web App and places it in a new directory called `BlazorWebApp` inside your current location. See the [Create a Blazor App](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?pivots=cli&view=aspnetcore-10.0) topics for more details.
133133

134-
### Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Chart3D and Themes NuGet in the App
134+
## Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Chart3D NuGet in the App
135135

136-
Here's an example of how to add the **Blazor 3D Chart** component to the application by using the following commands in a command prompt (Windows), terminal (Linux and macOS), or PowerShell to install the [Syncfusion.Blazor.Chart3D](https://www.nuget.org/packages/Syncfusion.Blazor.Chart3D/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages. See [Install and manage packages using the dotnet CLI](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-dotnet-cli) for more details.
136+
Here's an example of how to add the **Blazor 3D Chart** component to the application by using the following commands in a command prompt (Windows), terminal (Linux and macOS), or PowerShell to install the [Syncfusion.Blazor.Chart3D](https://www.nuget.org/packages/Syncfusion.Blazor.Chart3D/) NuGet package. See [Install and manage packages using the dotnet CLI](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-dotnet-cli) for more details.
137137

138138
If using the `WebAssembly` or `Auto` render modes in the Blazor Web App, install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor component NuGet packages in the client project.
139139

140140
{% tabs %}
141141
{% highlight c# tabtitle=".NET CLI" %}
142142

143143
dotnet add package Syncfusion.Blazor.Chart3D --version {{ site.releaseversion }}
144-
dotnet add package Syncfusion.Blazor.Themes --version {{ site.releaseversion }}
145144
dotnet restore
146145

147146
{% endhighlight %}
@@ -153,7 +152,7 @@ N> Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor components are availa
153152

154153
{% endtabcontents %}
155154

156-
### Add Import Namespaces
155+
## Add Import Namespaces
157156

158157
Open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Chart3D` namespaces.
159158

@@ -170,7 +169,7 @@ Open the **~/_Imports.razor** file in the client project and import the `Syncfus
170169

171170
Register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service in the **~/Program.cs** file of your Blazor Web App.
172171

173-
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in both **~/Program.cs** files of the Blazor Web App.
172+
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in the **~/Program.cs** files of the main `server` project and associated `.Client` project.
174173

175174
{% tabs %}
176175
{% highlight c# tabtitle="Server(~/_Program.cs)" hl_lines="3 11" %}
@@ -219,7 +218,7 @@ N> Check out the [Adding Script Reference](https://blazor.syncfusion.com/documen
219218

220219
## Add Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor 3D Chart component
221220

222-
Add the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor 3D Chart component in the **~/Components/Pages/*.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~Pages/*.razor` component, as follows:
221+
Add the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor 3D Chart component to a Razor page located under the Pages folder (e.g., Pages/Home.razor) in either the **Server** or **Client** project. If an interactivity location as `Per page/component` in the web app, define a render mode at top of the component, as follows:
223222

224223
| Interactivity location | RenderMode | Code |
225224
| --- | --- | --- |

blazor/accordion/getting-started-with-web-app.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ N> Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor components are availa
9696

9797
{% tabcontent .NET CLI %}
9898

99-
### Prerequisites
99+
## Prerequisites
100100

101101
Latest version of the [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, you can determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux).
102102

@@ -108,7 +108,7 @@ dotnet --version
108108
{% endhighlight %}
109109
{% endtabs %}
110110

111-
### Create a Blazor Web App using .NET CLI
111+
## Create a Blazor Web App using .NET CLI
112112

113113
Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux).
114114

@@ -128,7 +128,7 @@ cd BlazorWebApp.Client
128128

129129
This command creates a new Blazor Web App and places it in a new directory called `BlazorWebApp` inside your current location. See the [Create a Blazor App](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?pivots=cli&view=aspnetcore-10.0) topics for more details.
130130

131-
### Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Navigations and Themes NuGet in the App
131+
## Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Navigations and Themes NuGet in the App
132132

133133
Here's an example of how to add the **Blazor Accordion** component to the application by using the following commands in a command prompt (Windows), terminal (Linux and macOS), or PowerShell to install the [Syncfusion.Blazor.Navigations](https://www.nuget.org/packages/Syncfusion.Blazor.Navigations/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages. See [Install and manage packages using the dotnet CLI](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-dotnet-cli) for more details.
134134

@@ -150,7 +150,7 @@ N> Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor components are availa
150150

151151
{% endtabcontents %}
152152

153-
### Add Import Namespaces
153+
## Add Import Namespaces
154154

155155
Open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Navigations` namespaces.
156156

@@ -167,7 +167,7 @@ Open the **~/_Imports.razor** file in the client project and import the `Syncfus
167167

168168
Register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service in the **~/Program.cs** file of your Blazor Web App.
169169

170-
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in both **~/Program.cs** files of the Blazor Web App.
170+
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in the **~/Program.cs** files of the main `server` project and associated `.Client` project.
171171

172172
{% tabs %}
173173
{% highlight c# tabtitle="Server(~/_Program.cs)" hl_lines="3 11" %}
@@ -221,7 +221,7 @@ N> Check out the [Blazor Themes](https://blazor.syncfusion.com/documentation/app
221221

222222
## Add Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Accordion component
223223

224-
Add the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Accordion component in the **~/Components/Pages/*.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~Pages/*.razor` component, as follows:
224+
Add the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Accordion component to a Razor page located under the Pages folder (e.g., Pages/Home.razor) in either the **Server** or **Client** project. If an interactivity location as `Per page/component` in the web app, define a render mode at top of the component, as follows:
225225

226226
| Interactivity location | RenderMode | Code |
227227
| --- | --- | --- |

blazor/accumulation-chart/getting-started-with-web-app.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ N> Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor components are availa
9696

9797
{% tabcontent .NET CLI %}
9898

99-
### Prerequisites
99+
## Prerequisites
100100

101101
Latest version of the [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, you can determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux).
102102

@@ -108,7 +108,7 @@ dotnet --version
108108
{% endhighlight %}
109109
{% endtabs %}
110110

111-
### Create a Blazor Web App using .NET CLI
111+
## Create a Blazor Web App using .NET CLI
112112

113113
Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux).
114114

@@ -128,7 +128,7 @@ cd BlazorWebApp.Client
128128

129129
This command creates a new Blazor Web App and places it in a new directory called `BlazorWebApp` inside your current location. See the [Create a Blazor App](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?pivots=cli&view=aspnetcore-10.0) topics for more details.
130130

131-
### Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Charts and Themes NuGet in the App
131+
## Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Charts and Themes NuGet in the App
132132

133133
Here's an example of how to add the **Blazor Accumulation Chart** component to the application by using the following commands in a command prompt (Windows), terminal (Linux and macOS), or PowerShell to install the [Syncfusion.Blazor.Charts](https://www.nuget.org/packages/Syncfusion.Blazor.Charts/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages. See [Install and manage packages using the dotnet CLI](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-dotnet-cli) for more details.
134134

@@ -150,7 +150,7 @@ N> Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor components are availa
150150

151151
{% endtabcontents %}
152152

153-
### Add Import Namespaces
153+
## Add Import Namespaces
154154

155155
Open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Charts` namespaces.
156156

@@ -167,7 +167,7 @@ Open the **~/_Imports.razor** file in the client project and import the `Syncfus
167167

168168
Register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service in the **~/Program.cs** file of your Blazor Web App.
169169

170-
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in both **~/Program.cs** files of the Blazor Web App.
170+
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in the **~/Program.cs** files of the main `server` project and associated `.Client` project.
171171

172172
{% tabs %}
173173
{% highlight c# tabtitle="Server(~/_Program.cs)" hl_lines="3 11" %}
@@ -221,7 +221,7 @@ N> Check out the [Blazor Themes](https://blazor.syncfusion.com/documentation/app
221221

222222
## Add Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Accumulation Chart component
223223

224-
Add the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Accumulation Chart component in the **~/Components/Pages/*.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~Pages/*.razor` component, as follows:
224+
Add the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Accumulation Chart component to a Razor page located under the Pages folder (e.g., Pages/Home.razor) in either the **Server** or **Client** project. If an interactivity location as `Per page/component` in the web app, define a render mode at top of the component, as follows:
225225

226226
| Interactivity location | RenderMode | Code |
227227
| --- | --- | --- |

blazor/appbar/getting-started-with-web-app.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ N> Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor components are availa
9696

9797
{% tabcontent .NET CLI %}
9898

99-
### Prerequisites
99+
## Prerequisites
100100

101101
Latest version of the [.NET SDK](https://dotnet.microsoft.com/en-us/download). If you previously installed the SDK, you can determine the installed version by executing the following command in a command prompt (Windows) or terminal (macOS) or command shell (Linux).
102102

@@ -108,7 +108,7 @@ dotnet --version
108108
{% endhighlight %}
109109
{% endtabs %}
110110

111-
### Create a Blazor Web App using .NET CLI
111+
## Create a Blazor Web App using .NET CLI
112112

113113
Run the following command to create a new Blazor Web App in a command prompt (Windows) or terminal (macOS) or command shell (Linux).
114114

@@ -128,7 +128,7 @@ cd BlazorWebApp.Client
128128

129129
This command creates a new Blazor Web App and places it in a new directory called `BlazorWebApp` inside your current location. See the [Create a Blazor App](https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create) and [dotnet new CLI command](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?pivots=cli&view=aspnetcore-10.0) topics for more details.
130130

131-
### Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Navigations and Themes NuGet in the App
131+
## Install Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Navigations and Themes NuGet in the App
132132

133133
Here's an example of how to add the **Blazor AppBar** component to the application by using the following commands in a command prompt (Windows), terminal (Linux and macOS), or PowerShell to install the [Syncfusion.Blazor.Navigations](https://www.nuget.org/packages/Syncfusion.Blazor.Navigations/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet packages. See [Install and manage packages using the dotnet CLI](https://learn.microsoft.com/en-us/nuget/consume-packages/install-use-packages-dotnet-cli) for more details.
134134

@@ -150,7 +150,7 @@ N> Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor components are availa
150150

151151
{% endtabcontents %}
152152

153-
### Add Import Namespaces
153+
## Add Import Namespaces
154154

155155
Open the **~/_Imports.razor** file in the client project and import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Navigations` namespaces.
156156

@@ -167,7 +167,7 @@ Open the **~/_Imports.razor** file in the client project and import the `Syncfus
167167

168168
Register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor Service in the **~/Program.cs** file of your Blazor Web App.
169169

170-
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in both **~/Program.cs** files of the Blazor Web App.
170+
If the **Interactive Render Mode** is set to `WebAssembly` or `Auto`, register the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor service in the **~/Program.cs** files of the main `server` project and associated `.Client` project.
171171

172172
{% tabs %}
173173
{% highlight c# tabtitle="Server(~/_Program.cs)" hl_lines="3 11" %}
@@ -221,7 +221,7 @@ N> Check out the [Blazor Themes](https://blazor.syncfusion.com/documentation/app
221221

222222
## Add Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor AppBar component
223223

224-
Add the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor AppBar component in the **~/Components/Pages/*.razor** file. If the interactivity location is set to `Per page/component` in the Web App, define a render mode at the top of the `~Pages/*.razor` component, as follows:
224+
Add the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor AppBar component to a Razor page located under the Pages folder (e.g., Pages/Home.razor) in either the **Server** or **Client** project. If an interactivity location as `Per page/component` in the web app, define a render mode at top of the component, as follows:
225225

226226
| Interactivity location | RenderMode | Code |
227227
| --- | --- | --- |

0 commit comments

Comments
 (0)