Skip to content

Commit 71ff565

Browse files
authored
Merge pull request #35788 from dotnet/main
2 parents 98a63f6 + 6a01f80 commit 71ff565

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+471
-306
lines changed

.openpublishing.redirection.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -982,22 +982,22 @@
982982
},
983983
{
984984
"source_path": "aspnetcore/migration/proper-to-2x/membership-to-core-identity.md",
985-
"redirect_url": "migration/fx-to-core/areas/membership/",
985+
"redirect_url": "/aspnet/core/migration/fx-to-core/areas/membership/",
986986
"redirect_document_id": false
987987
},
988988
{
989989
"source_path": "aspnetcore/migration/proper-to-2x/mvc2.md",
990-
"redirect_url": "migration/fx-to-core/areas/mvc/",
990+
"redirect_url": "/aspnet/core/migration/fx-to-core/areas/mvc/",
991991
"redirect_document_id": false
992992
},
993993
{
994994
"source_path": "aspnetcore/migration/mvc.md",
995-
"redirect_url": "migration/fx-to-core/tooling",
995+
"redirect_url": "/aspnet/core/migration/fx-to-core/tooling",
996996
"redirect_document_id": false
997997
},
998998
{
999999
"source_path": "aspnetcore/migration/web_forms.md",
1000-
"redirect_url": "migration/fx-to-core/tooling",
1000+
"redirect_url": "/aspnet/core/migration/fx-to-core/tooling",
10011001
"redirect_document_id": false
10021002
},
10031003
{
@@ -1567,6 +1567,11 @@
15671567
"source_path": "aspnetcore/blazor/progressive-web-app.md",
15681568
"redirect_url": "/aspnet/core/blazor/progressive-web-app/",
15691569
"redirect_document_id": false
1570+
},
1571+
{
1572+
"source_path": "aspnetcore/getting-started/index.md",
1573+
"redirect_url": "/aspnet/core/get-started",
1574+
"redirect_document_id": false
15701575
}
15711576
]
15721577
}

aspnetcore/_static/toc-selector.png

-29.6 KB
Binary file not shown.
-8.83 KB
Binary file not shown.

aspnetcore/blazor/forms/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ In the following component, the `HandleValidationRequested` handler method clear
132132
The <xref:Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator> component attaches data annotations validation to a cascaded <xref:Microsoft.AspNetCore.Components.Forms.EditContext>. Enabling data annotations validation requires the <xref:Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator> component. To use a different validation system than data annotations, use a custom implementation instead of the <xref:Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator> component. The framework implementations for <xref:Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator> are available for inspection in the reference source:
133133

134134
* [`DataAnnotationsValidator`](https://github.com/dotnet/AspNetCore/blob/main/src/Components/Forms/src/DataAnnotationsValidator.cs)
135-
* [`AddDataAnnotationsValidation`](https://github.com/dotnet/AspNetCore/blob/main/src/Components/Forms/src/EditContextDataAnnotationsExtensions.cs)
135+
* [`EnableDataAnnotationsValidation`](https://github.com/dotnet/AspNetCore/blob/main/src/Components/Forms/src/EditContextDataAnnotationsExtensions.cs)
136136

137137
If you need to enable data annotations validation support for an <xref:Microsoft.AspNetCore.Components.Forms.EditContext> in code, call <xref:Microsoft.AspNetCore.Components.Forms.EditContextDataAnnotationsExtensions.EnableDataAnnotationsValidation%2A> with an injected <xref:System.IServiceProvider> (`@inject IServiceProvider ServiceProvider`) on the <xref:Microsoft.AspNetCore.Components.Forms.EditContext>. For an advanced example, see the [`NotifyPropertyChangedValidationComponent` component in the ASP.NET Core Blazor framework's `BasicTestApp` (`dotnet/aspnetcore` GitHub repository)](https://github.com/dotnet/aspnetcore/blob/main/src/Components/test/testassets/BasicTestApp/FormsTest/NotifyPropertyChangedValidationComponent.razor). In a production version of the example, replace the `new TestServiceProvider()` argument for the service provider with an injected <xref:System.IServiceProvider>.
138138

aspnetcore/data/ef-rp/intro.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ms.custom: "mvc"
88
ms.date: 04/23/2025
99
uid: data/ef-rp/intro
1010
---
11-
1211
# Razor Pages with Entity Framework Core in ASP.NET Core - Tutorial 1 of 8
1312

1413
[!INCLUDE[](~/includes/not-latest-version.md)]

aspnetcore/fundamentals/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn the fundamental concepts for building ASP.NET Core apps, incl
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: tdykstra
77
ms.custom: mvc
8-
ms.date: 08/01/2024
8+
ms.date: 07/23/2025
99
uid: fundamentals/index
1010
---
1111
# ASP.NET Core fundamentals overview
@@ -210,9 +210,9 @@ The content root is the base path for:
210210
* Razor files (`.cshtml`, `.razor`)
211211
* Configuration files (`.json`, `.xml`)
212212
* Data files (`.db`)
213-
* The [Web root](#web-root), typically the *wwwroot* folder.
213+
* The [Web root](#web-root), typically the `wwwroot` folder.
214214

215-
During development, the content root defaults to the project's root directory. This directory is also the base path for both the app's content files and the [Web root](#web-root). Specify a different content root by setting its path when [building the host](#host). For more information, see [Content root](xref:fundamentals/host/generic-host#contentroot).
215+
During development, the content root defaults to the project's root directory. This directory is also the base path for both the app's content files and the [web root](#web-root). Specify a different content root by setting its path when [building the host](#host). For more information, see [Content root](xref:fundamentals/host/generic-host#contentroot).
216216

217217
## Web root
218218

@@ -222,9 +222,9 @@ The web root is the base path for public, static resource files, such as:
222222
* JavaScript (`.js`)
223223
* Images (`.png`, `.jpg`)
224224

225-
By default, static files are served only from the web root directory and its sub-directories. The web root path defaults to *{content root}/wwwroot*. Specify a different web root by setting its path when [building the host](#host). For more information, see [Web root](xref:fundamentals/host/generic-host#webroot).
225+
By default, static files are served only from the web root directory and its sub-directories. The web root path defaults to `{CONTENT ROOT}/wwwroot`, where the `{CONTENT ROOT}` placeholder is the content root. Specify a different web root by setting its path when [building the host](#host). For more information, see [Web root](xref:fundamentals/host/generic-host#webroot).
226226

227-
Prevent publishing files in *wwwroot* with the [\<Content> project item](/visualstudio/msbuild/common-msbuild-project-items#content) in the project file. The following example prevents publishing content in *wwwroot/local* and its sub-directories:
227+
Prevent publishing files in `wwwroot` with the [`<Content>` project item](/visualstudio/msbuild/common-msbuild-project-items#content) in the project file. The following example prevents publishing content in `wwwroot/local` and its sub-directories:
228228

229229
```xml
230230
<ItemGroup>

0 commit comments

Comments
 (0)