Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
Expand Up @@ -982,22 +982,22 @@
},
{
"source_path": "aspnetcore/migration/proper-to-2x/membership-to-core-identity.md",
"redirect_url": "migration/fx-to-core/areas/membership/",
"redirect_url": "/aspnet/core/migration/fx-to-core/areas/membership/",
"redirect_document_id": false
},
{
"source_path": "aspnetcore/migration/proper-to-2x/mvc2.md",
"redirect_url": "migration/fx-to-core/areas/mvc/",
"redirect_url": "/aspnet/core/migration/fx-to-core/areas/mvc/",
"redirect_document_id": false
},
{
"source_path": "aspnetcore/migration/mvc.md",
"redirect_url": "migration/fx-to-core/tooling",
"redirect_url": "/aspnet/core/migration/fx-to-core/tooling",
"redirect_document_id": false
},
{
"source_path": "aspnetcore/migration/web_forms.md",
"redirect_url": "migration/fx-to-core/tooling",
"redirect_url": "/aspnet/core/migration/fx-to-core/tooling",
"redirect_document_id": false
},
{
Expand Down Expand Up @@ -1567,6 +1567,11 @@
"source_path": "aspnetcore/blazor/progressive-web-app.md",
"redirect_url": "/aspnet/core/blazor/progressive-web-app/",
"redirect_document_id": false
},
{
"source_path": "aspnetcore/getting-started/index.md",
"redirect_url": "/aspnet/core/get-started",
"redirect_document_id": false
}
]
}
Binary file removed aspnetcore/_static/toc-selector.png
Binary file not shown.
Binary file removed aspnetcore/_static/version-selector.png
Binary file not shown.
2 changes: 1 addition & 1 deletion aspnetcore/blazor/forms/validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ In the following component, the `HandleValidationRequested` handler method clear
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:

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

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>.

Expand Down
1 change: 0 additions & 1 deletion aspnetcore/data/ef-rp/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ms.custom: "mvc"
ms.date: 04/23/2025
uid: data/ef-rp/intro
---

# Razor Pages with Entity Framework Core in ASP.NET Core - Tutorial 1 of 8

[!INCLUDE[](~/includes/not-latest-version.md)]
Expand Down
10 changes: 5 additions & 5 deletions aspnetcore/fundamentals/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Learn the fundamental concepts for building ASP.NET Core apps, incl
monikerRange: '>= aspnetcore-3.1'
ms.author: tdykstra
ms.custom: mvc
ms.date: 08/01/2024
ms.date: 07/23/2025
uid: fundamentals/index
---
# ASP.NET Core fundamentals overview
Expand Down Expand Up @@ -210,9 +210,9 @@ The content root is the base path for:
* Razor files (`.cshtml`, `.razor`)
* Configuration files (`.json`, `.xml`)
* Data files (`.db`)
* The [Web root](#web-root), typically the *wwwroot* folder.
* The [Web root](#web-root), typically the `wwwroot` folder.

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).
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).

## Web root

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

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).
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).

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:
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:

```xml
<ItemGroup>
Expand Down
Loading
Loading