Skip to content

Commit 1192b7b

Browse files
authored
Blazor Preview 1 WN content (#34706)
1 parent f182b9a commit 1192b7b

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

aspnetcore/release-notes/aspnetcore-10.0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: rick-anderson
44
description: Learn about the new features in ASP.NET Core 10.0.
55
ms.author: riande
66
ms.custom: mvc
7-
ms.date: 2/5/2025
7+
ms.date: 2/12/2025
88
uid: aspnetcore-10
99
---
1010
# What's new in ASP.NET Core 10.0
@@ -19,6 +19,8 @@ This article will be updated as new preview releases are made available. See the
1919

2020
This section describes new features for Blazor.
2121

22+
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/blazor.md)]
23+
2224
## SignalR
2325

2426
This section describes new features for SignalR.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### QuickGrid `RowClass` parameter
2+
3+
Apply a stylesheet class to a row of the grid based on the row item using the new `RowClass` parameter. In the following example, the `ApplyRowStyle` method is called on each row to conditionally apply a stylesheet class based on the row item:
4+
5+
```razor
6+
<QuickGrid ... RowClass="ApplyRowStyle">
7+
...
8+
</QuickGrid>
9+
10+
@code {
11+
private string ApplyRowStyle({TYPE} rowItem) =>
12+
rowItem.{PROPERTY} == {VALUE} ? "{CSS STYLE CLASS}" : null;
13+
}
14+
```
15+
16+
For more information, see <xref:blazor/components/quickgrid?view=aspnetcore-10.0#style-a-table-row-based-on-the-row-item>.
17+
18+
### Blazor script
19+
20+
In prior releases of .NET, the Blazor script is served from an embedded resource in the ASP.NET Core shared framework. In .NET 10 or later, the Blazor script is served as a static web asset with automatic compression and fingerprinting.
21+
22+
For more information, see the following resources:
23+
24+
* <xref:blazor/project-structure?view=aspnetcore-10.0#location-of-the-blazor-script>
25+
* <xref:blazor/fundamentals/static-files?view=aspnetcore-10.0>

0 commit comments

Comments
 (0)