Skip to content

Commit 45c5118

Browse files
ntachevaikoevskadimodi
authored
chore(common): Deprecation of .NET 6 docs (#2928)
* chore(common): Deprecation of .NET 6 docs * chore(common): remove outdate articles and add redirects * chore(common): remove outdated template section * chore(common): updates * chore(common): update wizard docs * chore(common): revert kb change * chore(common) update kb * Update getting-started/vs-code-integration/new-project-wizard.md Co-authored-by: Iva Stefanova Koevska-Atanasova <[email protected]> * Update getting-started/vs-code-integration/new-project-wizard.md * Update getting-started/client-blazor.md Co-authored-by: Dimo Dimov <[email protected]> * Update introduction.md Co-authored-by: Dimo Dimov <[email protected]> * Update getting-started/what-you-need.md Co-authored-by: Dimo Dimov <[email protected]> * Update getting-started/client-blazor.md Co-authored-by: Dimo Dimov <[email protected]> * chore(common): update wizard article --------- Co-authored-by: Iva Stefanova Koevska-Atanasova <[email protected]> Co-authored-by: Dimo Dimov <[email protected]>
1 parent 556868c commit 45c5118

File tree

11 files changed

+23
-314
lines changed

11 files changed

+23
-314
lines changed

_contentTemplates/common/js-interop-file.md

-12
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,6 @@
77

88
#end
99

10-
#add-js-interop-file-to-getting-started-server
11-
Add the `telerik-blazor.js` file to your main index file:
12-
13-
* `~/Pages/_Host.cshtml` for .NET 3.x and .NET 7
14-
* `~/Pages/_Layout.cshtml` for .NET 6
15-
16-
**HTML**
17-
18-
@[template](/_contentTemplates/common/js-interop-file.md#js-interop-file-snippet)
19-
20-
#end
21-
2210
#js-interop-file-snippet
2311
````HTML
2412
<head>

components/fileselect/overview.md

-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ This section applies only to Blazor **Server** apps. Blazor **WebAssembly** apps
5757

5858
In Blazor **Server** apps, the FileSelect uses the **SignalR WebSocket** to send files from the browser to the server .NET runtime. The default SignalR maximum message size is **32 KB**. To work with larger files, [increase the max WebSocket message size for the Blazor application](slug:common-kb-increase-signalr-max-message-size).
5959

60-
>tip The maximum file size supported by the framework up till .NET 5 was 2 GB and .NET 6 [removed this limit](https://github.com/dotnet/aspnetcore/pull/33900). While [Telerik UI for Blazor supports .NET version 3.1](slug:system-requirements), the FileSelect component will allow maximum file size of 2 GB.
61-
6260
## Drag-and-Drop File Support
6361

6462
The FileSelect provides built-in file drag-and-drop support, which allows users to drag one or multiple files and drop them anywhere in the component. The [`OnSelect` event](slug:fileselect-events#onselect) is raised upon dropping the file. You can handle this event to perform further actions with the selected file.

getting-started/client-blazor.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@ position: 10
1212

1313
This article explains how to get the <a href = "https://www.telerik.com/blazor-ui" target="_blank">Telerik UI for Blazor components</a> in your Blazor WebAssembly app and start using them quickly. You will create a new application from scratch, learn how to add the UI for Blazor components to a project, and finally, add a UI component to a view.
1414

15-
> This article applies only to the following Visual Studio project templates:
15+
> This article applies only to the **Blazor WebAssembly Standalone App** Visual Studio project template.
1616
>
17-
> * **Blazor WebAssembly App**, which exists up to .NET 7.
18-
> * **Blazor WebAssembly Standalone App** for .NET 8 and newer versions.
19-
>
20-
> If you prefer the **Blazor Web App** template for .NET 8 and newer versions, then follow the [tutorial about Blazor Web Apps](slug:getting-started/web-app).
17+
> If you prefer the **Blazor Web App** template with WebAssembly render mode, then follow the [tutorial about Blazor Web Apps](slug:getting-started/web-app).
2118
2219
@[template](/_contentTemplates/common/get-started.md#prerequisites-tip)
2320

@@ -92,7 +89,6 @@ Use a single `TelerikRootComponent` component as a top-level component in the Bl
9289

9390
In the `~/Program.cs` file of the client web application, register the Telerik Blazor service.
9491

95-
**.NET 6 and .NET 7**
9692
@[template](/_contentTemplates/common/js-interop-file.md#register-telerik-service-client)
9793

9894
Now your project can use the Telerik UI for Blazor components.

getting-started/server-blazor.md

-136
This file was deleted.

getting-started/vs-code-integration/new-project-wizard.md

+12-19
Original file line numberDiff line numberDiff line change
@@ -27,54 +27,47 @@ To create a Telerik-enabled Blazor project:
2727

2828
## Using the Wizard
2929

30-
#### Section 1: Choose How to Start the Project
30+
The **Create New Project** wizard generates a project that is based on the Microsoft template. The app includes some Telerik UI components and the [required NuGet package reference, static assets, localization service, and the `TelerikRootComponent`](slug:getting-started/what-you-need).
3131

32-
The **Telerik UI for Blazor Template Wizard** provides two options to start you project:
32+
> Earlier versions of the wizard provided the **Admin**, **Dashboard**, **CRUD**, **Form**, and **Chart** templates which are now deprecated. You can find their source code in the [`blazor-ui` repo](https://github.com/telerik/blazor-ui/tree/master/common/legacy-project-templates).
3333
34-
* **Start from Blank App**&mdash;allows you to create a blank project that is pre-configured for the Progress® Telerik® UI for Blazor components. You can select and add sample pages to get started (a Grid with CRUD operations form a service, a Form, Charts).
34+
The wizard contains the following sections:
3535

36-
* **Start from Template** - the wizard provides a set of predefined project templates:
37-
* **CRUD, Form, Chart**&mdash;A small app that showcases the Telerik UI Data Grid, Chart, and Form validation. The Data Grid also uses a basic CRUD service (a common pattern for data updates in production-ready applications).
38-
* **Dashboard**&mdash;A basic dashboard that showcases the Telerik UI TileLayout component and how individual blocks (tiles) can fetch data.
39-
* **Admin**&mdash;A small app that showcases a dashboard for administrators. The app uses some of the main Telerik UI components like the [Data Grid](slug:grid-overview), [Chart](slug:components/chart/overview), [TileLayout](slug:tilelayout-overview), [Form](slug:form-overview), and more.
40-
41-
The available templates vary depending on the target framework and hosting model. All of the above templates are available for the Client and Server projects for .NET 6 and .NET 7. The Hybrid projects and the .NET 8 Web App support only the **Start from Blank App** option.
42-
43-
#### Section 2: Select Project Name and Path
36+
#### Section 1: Select Project Name and Path
4437

4538
Type your project name and select the output folder for it.
4639

47-
#### Section 3: Install or Update License Key
40+
#### Section 2: Install or Update License Key
4841

4942
If necessary, the Telerik Visual Studio Code extension will notify you about a missing or outdated [license key](slug:installation-license-key), and will install or update it.
5043

51-
#### Section 4: Select UI for Blazor Version
44+
#### Section 3: Select UI for Blazor Version
5245

5346
Select the preferred UI for Blazor version. Make sure that your system has access to the specified version of the UI components. You can achieve this with the [Telerik NuGet feed](slug:installation/nuget).
5447

55-
#### Section 5: Select Hosting Model
48+
#### Section 4: Select Hosting Model
5649

5750
Here you can select the desired hosting model&mdash;[**WebApp**](slug:getting-started/web-app), [**Client** (also: WebAssembly)](slug:getting-started/client-side), [**Server**](slug:getting-started/server-side), or [**Hybrid** (a hybrid Blazor MAUI)](slug:getting-started/hybrid-blazor).
5851

5952
The available target framework options are updated upon selecting the hosting model.
6053

61-
#### Section 6: Choose How to Distribute the Client Assets
54+
#### Section 5: Choose How to Distribute the Client Assets
6255

6356
Choose whether to load the required Telerik UI stylesheet and JS Interop file as [static NuGet assets](slug:getting-started/what-you-need#css-theme-and-javascript-files) or load them from the [Telerik CDN](slug:common-features-cdn).
6457

65-
#### Section 7: Enable or Disable Localization
58+
#### Section 6: Configure Localization
6659

6760
Choose whether to use [localization](slug:globalization-localization) in the project or not.
6861

69-
#### Section 8: Select the Preferred Icon Type
62+
#### Section 7: Select the Preferred Icon Type
7063

7164
Decide if you want to switch to using [Font Icons](slug:common-features-icons) instead of the default SVG icons.
7265

73-
#### Section 9: Select Target Framework
66+
#### Section 8: Select Target Framework
7467

7568
The available .NET framework versions vary depending on the selected hosting model.
7669

77-
#### Section 10: Select Theme
70+
#### Section 9: Select Theme
7871

7972
Select your desired [theme](slug:themes-overview) for your project. Click **See All Swatches** to explore the available [theme color variations](slug:themes-overview#basics).
8073

getting-started/web-app.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ slug: getting-started/web-app
77
tags: get,started,first,steps,web,app,template
88
published: true
99
position: 5
10+
previous_url: /getting-started/server-blazor
1011
---
1112

1213
# First Steps with Blazor Web App and Telerik UI

getting-started/what-you-need.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ This article describes the required steps to use the Telerik UI for Blazor compo
1515

1616
>tip The information in this article builds on top of the step-by-step tutorials for specific Blazor application types or render modes:
1717
>
18-
> * [Blazor Web App](slug:getting-started/web-app) template in .NET 8 or 9
18+
> * [Blazor Web App](slug:getting-started/web-app) template
1919
> * [Blazor WebAssembly Standalone apps](slug:getting-started/client-side)
20-
> * [Blazor Server apps](slug:getting-started/server-side) in .NET 6 or 7
2120
> * [Blazor Hybrid (MAUI) apps](slug:getting-started/hybrid-blazor)
2221
>
2322
> The differences between the above tutorials and this page are:

introduction.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ Visit the <a href="https://www.telerik.com/blazor-ui" target="_blank">Telerik UI
2626

2727
If you are new to Telerik UI for Blazor, visit the Getting Started tutorials that demonstrate how to add the Telerik components to your application:
2828

29-
* [Get Started with a .NET 8 or 9 Blazor Web App](slug:getting-started/web-app)
29+
* [Get Started with a Blazor Web App](slug:getting-started/web-app)
3030
* [Get Started with a Blazor WebAssembly Standalone App](slug:getting-started/client-side)
31-
* [Get Started with a .NET 6 or 7 Blazor Server app](slug:getting-started/server-side)
3231
* [Get Started with Blazor Hybrid](slug:getting-started/hybrid-blazor)
3332

3433
>tip This online Blazor documentation covers the latest version of Telerik UI for Blazor, which is `{{site.uiForBlazorLatestVersion}}`. If needed, [download the offline PDF Blazor documentation](#learning-resources) for the required older product version.

knowledge-base/common-increase-signalr-max-message-size.md

+2-30
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Blazor Server apps use a **SignalR WebSocket** to communicate between the client
4747

4848
Increase the `MaximumReceiveMessageSize` via `HubOptions`. The syntax and code placement can vary, depending on the .NET version or when the application was created. Here are a few possible alternatives.
4949

50-
>caption Program.cs (.NET 6+)
50+
>caption Use `Configure<HubOptions>` in Program.cs
5151
5252
<div class="skip-repl"></div>
5353

@@ -64,7 +64,7 @@ builder.Services.Configure<HubOptions>(options =>
6464
});
6565
````
6666

67-
>caption Use AddHubOptions in .NET 6+
67+
>caption Use `AddHubOptions` in Program.cs
6868
6969
<div class="skip-repl"></div>
7070

@@ -74,34 +74,6 @@ builder.Services.AddServerSideBlazor().AddHubOptions(options => {
7474
});
7575
````
7676

77-
>caption Startup.cs (.NET 3.1)
78-
79-
<div class="skip-repl"></div>
80-
81-
````CS
82-
using Microsoft.AspNetCore.SignalR;
83-
84-
public void ConfigureServices(IServiceCollection services)
85-
{
86-
services.AddServerSideBlazor();
87-
88-
services.Configure<HubOptions>(options =>
89-
{
90-
options.MaximumReceiveMessageSize = 1024 * 1024; // 1MB or use null
91-
});
92-
}
93-
````
94-
95-
>caption Use AddHubOptions in .NET 3.1
96-
97-
<div class="skip-repl"></div>
98-
99-
````CS
100-
services.AddServerSideBlazor().AddHubOptions(options => {
101-
options.MaximumReceiveMessageSize = null; // no limit or use a number
102-
});
103-
````
104-
10577
Also see these Microsoft articles:
10678

10779
* [ASP.NET Core SignalR configuration](https://learn.microsoft.com/en-us/aspnet/core/signalr/configuration)

system-requirements.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@ Telerik UI for Blazor steps on Microsoft Blazor. You can host and run Telerik Bl
1616

1717
## .NET Versions Support
1818

19-
The latest version of Telerik UI for Blazor (currently {{site.uiForBlazorLatestVersion}}) targets `net6.0`. Thus, apps and libraries that reference our package must use one of the following target frameworks:
19+
The latest version of Telerik UI for Blazor (currently {{site.uiForBlazorLatestVersion}}) targets `net8.0`. Thus, apps and libraries that reference our package must use one of the following target frameworks:
2020

21-
* `net6.0`
22-
* `net7.0`
2321
* `net8.0`
2422
* `net9.0`
2523

2624
Razor Class Libraries may target `netstandard2.0` by default, so you need to update that.
2725

28-
> If your application targets an [older framework version, the latest Telerik UI for Blazor you can use is `4.6.0`](#compatible-net-versions).
26+
> If your application targets an [older framework version, you can only use older Telerik UI for Blazor versions](#compatible-net-versions).
2927
3028
### Supported .NET Versions
3129

@@ -48,8 +46,8 @@ A **compatible .NET version** is one that is no longer (or not yet) officially s
4846
4947
| .NET version | First UI for Blazor Version | Last UI for Blazor Version |
5048
| --- | --- | --- |
51-
| .NET 7 | 3.7.0 | {{site.uiForBlazorLatestVersion}} (current official) |
52-
| .NET 6 | 2.29.0 | {{site.uiForBlazorLatestVersion}} (current official) |
49+
| .NET 7 | 3.7.0 | 8.1.1 |
50+
| .NET 6 | 2.29.0 | 8.1.1 |
5351
| .NET 5 | 2.19.0 | 4.6.0 |
5452
| .NET Core 3.1 | 2.5.0 | 4.6.0 |
5553

0 commit comments

Comments
 (0)