Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 22, 2025

This PR systematically updates the ASP.NET Core documentation to replace references to ".NET Core" with ".NET" to align with the current naming conventions introduced with .NET 5.

Changes Made

Updated 172 files across the documentation to replace standalone ".NET Core" references with ".NET" while carefully preserving all "ASP.NET Core" references unchanged.

Key Areas Updated:

  • Performance documentation (5 files)
  • gRPC documentation (16 files)
  • Fundamentals documentation (30 files)
  • Tutorials documentation (26 files)
  • Migration documentation (14 files)
  • Web API, Data, MVC, and Test documentation (19 files)
  • Security and Host-and-Deploy documentation (30 files)
  • Blazor, SignalR, and other directories (29 files)
  • Root documentation and issue templates (3 files)

Examples of Changes:

  • ".NET Core applications" → ".NET applications"
  • ".NET Core apps" → ".NET apps"
  • ".NET Core SDK" → ".NET SDK"
  • ".NET Core logging" → ".NET logging"
  • "ASP.NET Core apps" → unchanged (preserved correctly)

Technical Implementation:

  • Used a Python script with regex pattern (?<!ASP)\.NET Core to ensure "ASP.NET Core" references were preserved
  • Applied changes systematically in batches with validation at each step
  • Verified that historical version references in include files remain unchanged where appropriate

Validation:

  • 6,458 "ASP.NET Core" references preserved throughout all documentation
  • 15 remaining ".NET Core" references are appropriately in include files referring to specific historical SDK versions
  • ✅ No build or functionality breaking changes introduced
  • ✅ All changes maintain proper context and readability

Fixes #35799.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
aspnetcore/blazor/hosting-models.md aspnetcore/blazor/hosting-models
aspnetcore/blazor/security/index.md aspnetcore/blazor/security/index
aspnetcore/blazor/tooling.md aspnetcore/blazor/tooling
aspnetcore/data/ef-rp/sort-filter-page.md aspnetcore/data/ef-rp/sort-filter-page
aspnetcore/fundamentals/best-practices.md aspnetcore/fundamentals/best-practices
aspnetcore/fundamentals/file-providers.md aspnetcore/fundamentals/file-providers
aspnetcore/fundamentals/host/generic-host.md aspnetcore/fundamentals/host/generic-host
aspnetcore/fundamentals/host/platform-specific-configuration.md aspnetcore/fundamentals/host/platform-specific-configuration
aspnetcore/fundamentals/logging/index.md aspnetcore/fundamentals/logging/index
aspnetcore/fundamentals/servers/httpsys.md aspnetcore/fundamentals/servers/httpsys
aspnetcore/grpc/diagnostics.md aspnetcore/grpc/diagnostics
aspnetcore/grpc/troubleshoot.md aspnetcore/grpc/troubleshoot
aspnetcore/grpc/why-migrate-wcf-to-dotnet-grpc.md aspnetcore/grpc/why-migrate-wcf-to-dotnet-grpc
aspnetcore/host-and-deploy/azure-iis-errors-reference.md aspnetcore/host-and-deploy/azure-iis-errors-reference
aspnetcore/host-and-deploy/directory-structure.md aspnetcore/host-and-deploy/directory-structure
aspnetcore/host-and-deploy/docker/visual-studio-tools-for-docker.md aspnetcore/host-and-deploy/docker/visual-studio-tools-for-docker
aspnetcore/host-and-deploy/iis/hosting-bundle.md aspnetcore/host-and-deploy/iis/hosting-bundle
aspnetcore/host-and-deploy/iis/index.md aspnetcore/host-and-deploy/iis/index
aspnetcore/host-and-deploy/linux-nginx.md aspnetcore/host-and-deploy/linux-nginx
aspnetcore/host-and-deploy/visual-studio-publish-profiles.md aspnetcore/host-and-deploy/visual-studio-publish-profiles
aspnetcore/host-and-deploy/windows-service.md aspnetcore/host-and-deploy/windows-service
aspnetcore/performance/memory.md aspnetcore/performance/memory
aspnetcore/razor-pages/sdk.md aspnetcore/razor-pages/sdk
aspnetcore/security/authentication/windowsauth.md aspnetcore/security/authentication/windowsauth
aspnetcore/security/samesite.md aspnetcore/security/samesite
aspnetcore/test/razor-pages-tests.md aspnetcore/test/razor-pages-tests
aspnetcore/test/troubleshoot-azure-iis.md aspnetcore/test/troubleshoot-azure-iis
aspnetcore/tutorials/grpc/grpc-start.md aspnetcore/tutorials/grpc/grpc-start
aspnetcore/tutorials/publish-to-iis.md aspnetcore/tutorials/publish-to-iis
aspnetcore/web-api/http-repl/index.md aspnetcore/web-api/http-repl/index

Note

This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.

@dotnet-policy-service dotnet-policy-service bot requested a review from guardrex July 22, 2025 19:56
Copilot AI changed the title [WIP] Replace .NET Core with .NET naming Replace .NET Core with .NET naming throughout documentation Jul 22, 2025
Copilot AI requested a review from danroth27 July 22, 2025 19:59
@danroth27 danroth27 marked this pull request as ready for review July 24, 2025 00:43
@danroth27 danroth27 requested a review from tdykstra as a code owner July 24, 2025 00:43
Copy link
Member

@danroth27 danroth27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@danroth27
Copy link
Member

@tdykstra @guardrex Did I break anything? 😆

@guardrex
Copy link
Collaborator

@danroth27 ... Are you OK??!! Copilot beat the crap out of you! 👦🤛😵😆

This might cause merge conflicts after it goes in, but I see it continued to leave introduction-to-aspnet-core.md alone, so that's good. The build report for this looks fine.

Do you want me to review this? If so, I can look first thing in the morning, as I'm going to bed right now. 🛌💤

@danroth27
Copy link
Member

Do you want me to review this? If so, I can look first thing in the morning

@guardrex Yes, please! I want to make sure I didn't mess anything up.

@guardrex
Copy link
Collaborator

Sure thing. Give me a couple of hours. I took a break to lift some weights. 🏋️‍♂️💪

Copy link
Contributor

@tdykstra tdykstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Practically flawless! I just found a few questionable instances.

@danroth27
Copy link
Member

@tdykstra What do I need to do about the build warnings?

Copy link
Collaborator

@guardrex guardrex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a handful of passing super-NITs 😈.

BTW on the build warnings ... The API is still under investigation, and Tom and Wade are going to reassign Rick's stuff soon.

@dotnet-policy-service dotnet-policy-service bot requested a review from guardrex July 24, 2025 19:22
@wadepickett
Copy link
Contributor

wadepickett commented Jul 24, 2025

Looking at the 404 warnings in the build for this PR:

The theme seems to be at least partially (if not all) preview 5 & 6 API reference that does not exist yet in the API ref build.

There are issues with the build for including 5 and 6 which we are trying to square away with the vendors that handle them right now. They have something like 900 issues in them and are trying to nail down what happened.

In addition, there seemed to be problems with a missing package for Identity as part of the Azure SDK API ref which I also raised with the vendors and the PM who manages that area. (Dan, I included you on the cc for that thread today so you can see when it gets resolved)

You might have to ignore the 404 warnings as we try to get the API ref build issues figured out.

Examples I think of 5&6 preview related API in warnings in this PR:
xref:Microsoft.AspNetCore.Http.SystemClock - This is a new API introduced in .NET 10 Preview 6 that provides an implementation of the clock abstraction specifically for ASP.NET Core HTTP scenarios.

xref:Microsoft.Extensions.Validation.IValidationContext - This is part of the validation APIs that were moved to the Microsoft.Extensions.Validation namespace in .NET 10 Preview 6, making them usable outside ASP.NET Core scenarios.

xref:Microsoft.AspNetCore.Builder.MetricsEndpointRouteBuilderExtensions.MapMetrics* - A new metrics endpoint mapping API introduced in .NET 10 Preview 5 for enhanced observability features.

xref:Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.ConfigureOpenTelemetry* - Part of the OpenTelemetry integration improvements added in .NET 10 Preview 5.

xref:Microsoft.AspNetCore.Components.Web.RenderMode - An updated API in .NET 10 Preview 6 that includes new render mode options for Blazor applications.

@wadepickett
Copy link
Contributor

wadepickett commented Jul 24, 2025

I asked Copilot Claud Sonnet 3.7 to run a link to the build report that had the warnings against the actual PR. It had these observations listed below. Some of them are related to preview 5-6 which is not in the API ref yet so makes sense there is a 404, and there are some related to Identity, which the vendor team is also working on since a package seemed to have dropped out, but copilot also made suggestions on the rest, when asked to look for patterns:

APIs Introduced in .NET 10 Preview 5:
Microsoft.AspNetCore.Http.HttpResults.Results.UnprocessableEntity* - New Results type added in minimal APIs
Microsoft.AspNetCore.Components.Forms.ValidationMessageStore - Enhanced form validation in Blazor
Microsoft.AspNetCore.Diagnostics.ObservabilityEndpointsExtensions - Part of the new observability features introduced in Preview 5
Microsoft.AspNetCore.Builder.WebApplicationBuilder.AddServiceDefaults - Service defaults pattern
Microsoft.AspNetCore.Components.Binding.BindingContext - New Blazor binding context system
APIs Introduced in .NET 10 Preview 6:
Microsoft.AspNetCore.Components.ServerComponentSerializationMode - Enhanced server component state persistence
Microsoft.AspNetCore.Builder.WebApplicationBuilder.WebHost.UseStaticWebAssets - JavaScript bundler integration
Microsoft.AspNetCore.Http.HttpValidationProblemDetails - Expanded minimal API validation
Microsoft.AspNetCore.Authentication.AuthenticationBuilder.AddOpenIdConnect* - Updated authentication providers
Microsoft.AspNetCore.Components.RenderModeAttribute - Enhanced Blazor rendering options

The Remaining xref 404 Warnings:
The remaining xref warnings are mostly related to:

Microsoft.AspNetCore.Mvc namespace - These APIs were introduced in earlier versions of ASP.NET Core (some as early as ASP.NET Core 1.0), but the xref system may be having trouble with them due to the naming changes from .NET Core to .NET that this PR is addressing.

Microsoft.AspNetCore.RazorPages namespace - These were introduced in ASP.NET Core 2.0 but may be experiencing reference issues due to the documentation system update.

Microsoft.AspNetCore.Builder namespace - Many of the endpoint routing extensions were introduced in ASP.NET Core 3.0 but have been continuously enhanced.

Microsoft.AspNetCore.Identity namespace - These APIs have evolved from ASP.NET Core 2.0 through 9.0.

File-related errors - The build report shows many missing content files (Status: 404) for various markdown documents in the AspNetCore.Docs repository, which could be caused by file renames or moves in this PR.

These xref 404 warnings are occurring primarily because:

  • The build system's API reference documentation hasn't fully indexed newer APIs
  • The transition from .NET Core naming to .NET naming in the documentation is causing temporary resolution issues
  • Some references may point to documentation files that have been moved or renamed as part of this PR

Copy link
Contributor

@wadepickett wadepickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Also provided summary on what is going on with the build warnings due to API ref missing from the API ref published for Identity and Preview 5-6. Those issues are being handled seperately.

@danroth27 danroth27 merged commit 879a032 into main Jul 25, 2025
2 of 3 checks passed
@danroth27 danroth27 deleted the copilot/fix-35799 branch July 25, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace .NET Core with .NET naming

5 participants