Skip to content

Commit 099b9b3

Browse files
Copilotdanroth27
andcommitted
Replace .NET Core with .NET in fundamentals documentation
Co-authored-by: danroth27 <1874516+danroth27@users.noreply.github.com>
1 parent 47c0735 commit 099b9b3

30 files changed

Lines changed: 96 additions & 96 deletions

aspnetcore/fundamentals/best-practices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Beginning with ASP.NET Core 3.0, `IAsyncEnumerable<T>` can be used as an alterna
6565

6666
## Minimize large object allocations
6767

68-
The [.NET Core garbage collector](/dotnet/standard/garbage-collection/) manages allocation and release of memory automatically in ASP.NET Core apps. Automatic garbage collection generally means that developers don't need to worry about how or when memory is freed. However, cleaning up unreferenced objects takes CPU time, so developers should minimize allocating objects in [hot code paths](#understand-hot-code-paths). Garbage collection is especially expensive on large objects (>= 85,000 bytes). Large objects are stored on the [large object heap](/dotnet/standard/garbage-collection/large-object-heap) and require a full (generation 2) garbage collection to clean up. Unlike generation 0 and generation 1 collections, a generation 2 collection requires a temporary suspension of app execution. Frequent allocation and de-allocation of large objects can cause inconsistent performance.
68+
The [.NET garbage collector](/dotnet/standard/garbage-collection/) manages allocation and release of memory automatically in ASP.NET Core apps. Automatic garbage collection generally means that developers don't need to worry about how or when memory is freed. However, cleaning up unreferenced objects takes CPU time, so developers should minimize allocating objects in [hot code paths](#understand-hot-code-paths). Garbage collection is especially expensive on large objects (>= 85,000 bytes). Large objects are stored on the [large object heap](/dotnet/standard/garbage-collection/large-object-heap) and require a full (generation 2) garbage collection to clean up. Unlike generation 0 and generation 1 collections, a generation 2 collection requires a temporary suspension of app execution. Frequent allocation and de-allocation of large objects can cause inconsistent performance.
6969

7070
Recommendations:
7171

@@ -154,7 +154,7 @@ Recommendations:
154154

155155
## Use the latest ASP.NET Core release
156156

157-
Each new release of ASP.NET Core includes performance improvements. Optimizations in .NET Core and ASP.NET Core mean that newer versions generally outperform older versions. For example, .NET Core 2.1 added support for compiled regular expressions and benefitted from [Span\<T>](/dotnet/standard/memory-and-spans/memory-t-usage-guidelines). ASP.NET Core 2.2 added support for HTTP/2. [ASP.NET Core 3.0 adds many improvements](xref:aspnetcore-3.0) that reduce memory usage and improve throughput. If performance is a priority, consider upgrading to the current version of ASP.NET Core.
157+
Each new release of ASP.NET Core includes performance improvements. Optimizations in .NET and ASP.NET Core mean that newer versions generally outperform older versions. For example, .NET 2.1 added support for compiled regular expressions and benefitted from [Span\<T>](/dotnet/standard/memory-and-spans/memory-t-usage-guidelines). ASP.NET Core 2.2 added support for HTTP/2. [ASP.NET Core 3.0 adds many improvements](xref:aspnetcore-3.0) that reduce memory usage and improve throughput. If performance is a priority, consider upgrading to the current version of ASP.NET Core.
158158

159159
## Minimize exceptions
160160

aspnetcore/fundamentals/choose-aspnet-framework.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The following table compares ASP.NET Core to ASP.NET 4.x.
3232
|Multiple versions per machine|One version per machine|
3333
|Develop with [Visual Studio](https://visualstudio.microsoft.com/vs/) or [Visual Studio Code](https://code.visualstudio.com/) using C# or F#|Develop with [Visual Studio](https://visualstudio.microsoft.com/vs/) using C#, VB, or F#|
3434
|Higher performance than ASP.NET 4.x|Good performance|
35-
|[Use .NET Core runtime](/dotnet/standard/choosing-core-framework-server)|Use .NET Framework runtime|
35+
|[Use .NET runtime](/dotnet/standard/choosing-core-framework-server)|Use .NET Framework runtime|
3636

3737
See [ASP.NET Core targeting .NET Framework](xref:index#target-framework) for information on ASP.NET Core 2.x support on .NET Framework.
3838

aspnetcore/fundamentals/dotnet-scaffold-telemetry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ The telemetry feature collects the following data.
6666

6767
## Additional resources
6868

69-
* [.NET Core SDK telemetry](/dotnet/core/tools/telemetry)
69+
* [.NET SDK telemetry](/dotnet/core/tools/telemetry)
7070
* [.NET CLI telemetry data](https://dotnet.microsoft.com/platform/telemetry)

aspnetcore/fundamentals/file-providers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ASP.NET Core abstracts file system access through the use of File Providers. Fil
2121
* <xref:Microsoft.AspNetCore.Hosting.IWebHostEnvironment> exposes the app's [content root](xref:fundamentals/index#content-root) and [web root](xref:fundamentals/index#web-root) as `IFileProvider` types.
2222
* [Static File Middleware](xref:fundamentals/static-files) uses File Providers to locate static files.
2323
* [Razor](xref:mvc/views/razor) uses File Providers to locate pages and views.
24-
* .NET Core tooling uses File Providers and glob patterns to specify which files should be published.
24+
* .NET tooling uses File Providers and glob patterns to specify which files should be published.
2525

2626
[View or download sample code](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/fundamentals/file-providers/samples) ([how to download](xref:index#how-to-download-a-sample))
2727

@@ -172,7 +172,7 @@ ASP.NET Core abstracts file system access through the use of File Providers. Fil
172172
* <xref:Microsoft.Extensions.Hosting.IHostingEnvironment> exposes the app's [content root](xref:fundamentals/index#content-root) and [web root](xref:fundamentals/index#web-root) as `IFileProvider` types.
173173
* [Static File Middleware](xref:fundamentals/static-files) uses File Providers to locate static files.
174174
* [Razor](xref:mvc/views/razor) uses File Providers to locate pages and views.
175-
* .NET Core tooling uses File Providers and glob patterns to specify which files should be published.
175+
* .NET tooling uses File Providers and glob patterns to specify which files should be published.
176176

177177
[View or download sample code](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/fundamentals/file-providers/samples) ([how to download](xref:index#how-to-download-a-sample))
178178

aspnetcore/fundamentals/host/generic-host.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: .NET Generic Host in ASP.NET Core
33
author: tdykstra
4-
description: Use .NET Core Generic Host in ASP.NET Core apps. Generic Host is responsible for app startup and lifetime management.
4+
description: Use .NET Generic Host in ASP.NET Core apps. Generic Host is responsible for app startup and lifetime management.
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: tdykstra
77
ms.custom: mvc
@@ -434,7 +434,7 @@ The difference between `Run*` and `Start*` methods is that `Run*` methods wait f
434434

435435
:::moniker range=">= aspnetcore-5.0 < aspnetcore-6.0"
436436

437-
The ASP.NET Core templates create a .NET Core Generic Host (<xref:Microsoft.Extensions.Hosting.HostBuilder>).
437+
The ASP.NET Core templates create a .NET Generic Host (<xref:Microsoft.Extensions.Hosting.HostBuilder>).
438438

439439
This article provides information on using .NET Generic Host in ASP.NET Core. For information on using .NET Generic Host in console apps, see [.NET Generic Host](/dotnet/core/extensions/generic-host).
440440

@@ -952,7 +952,7 @@ public class Program
952952

953953
:::moniker range="< aspnetcore-5.0"
954954

955-
The ASP.NET Core templates create a .NET Core Generic Host (<xref:Microsoft.Extensions.Hosting.HostBuilder>).
955+
The ASP.NET Core templates create a .NET Generic Host (<xref:Microsoft.Extensions.Hosting.HostBuilder>).
956956

957957
This article provides information on using .NET Generic Host in ASP.NET Core. For information on using .NET Generic Host in console apps, see [.NET Generic Host](/dotnet/core/extensions/generic-host).
958958

aspnetcore/fundamentals/host/platform-specific-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The app's Index page reads and renders the configuration values for the two keys
126126

127127
### Console app without an entry point
128128

129-
*This approach is only available for .NET Core apps, not .NET Framework.*
129+
*This approach is only available for .NET apps, not .NET Framework.*
130130

131131
A dynamic hosting startup enhancement that doesn't require a compile-time reference for activation can be provided in a console app without an entry point that contains a `HostingStartup` attribute. Publishing the console app produces a hosting startup assembly that can be consumed from the runtime store.
132132

@@ -526,7 +526,7 @@ The app's Index page reads and renders the configuration values for the two keys
526526

527527
### Console app without an entry point
528528

529-
*This approach is only available for .NET Core apps, not .NET Framework.*
529+
*This approach is only available for .NET apps, not .NET Framework.*
530530

531531
A dynamic hosting startup enhancement that doesn't require a compile-time reference for activation can be provided in a console app without an entry point that contains a `HostingStartup` attribute. Publishing the console app produces a hosting startup assembly that can be consumed from the runtime store.
532532

aspnetcore/fundamentals/http-logging/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: HTTP logging in .NET Core and ASP.NET Core
2+
title: HTTP logging in .NET and ASP.NET Core
33
author: tdykstra
44
description: Learn how to log HTTP requests and responses.
55
monikerRange: '>= aspnetcore-6.0'

aspnetcore/fundamentals/http-requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ An <xref:System.Net.Http.IHttpClientFactory> can be registered and used to confi
12461246

12471247
## Prerequisites
12481248

1249-
Projects targeting .NET Framework require installation of the [Microsoft.Extensions.Http](https://www.nuget.org/packages/Microsoft.Extensions.Http/) NuGet package. Projects that target .NET Core and reference the [Microsoft.AspNetCore.App metapackage](xref:fundamentals/metapackage-app) already include the `Microsoft.Extensions.Http` package.
1249+
Projects targeting .NET Framework require installation of the [Microsoft.Extensions.Http](https://www.nuget.org/packages/Microsoft.Extensions.Http/) NuGet package. Projects that target .NET and reference the [Microsoft.AspNetCore.App metapackage](xref:fundamentals/metapackage-app) already include the `Microsoft.Extensions.Http` package.
12501250

12511251
## Consumption patterns
12521252

aspnetcore/fundamentals/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ ASP.NET Core provides a [configuration](xref:fundamentals/configuration/index) f
137137

138138
By [default](xref:fundamentals/configuration/index#default), ASP.NET Core apps are configured to read from `appsettings.json`, environment variables, the command line, and more. When the app's configuration is loaded, values from environment variables override values from `appsettings.json`.
139139

140-
For managing confidential configuration data such as passwords in the development environment, .NET Core provides the [Secret Manager](xref:security/app-secrets#secret-manager). For production secrets, we recommend [Azure Key Vault](xref:security/key-vault-configuration).
140+
For managing confidential configuration data such as passwords in the development environment, .NET provides the [Secret Manager](xref:security/app-secrets#secret-manager). For production secrets, we recommend [Azure Key Vault](xref:security/key-vault-configuration).
141141

142142
For more information, see <xref:fundamentals/configuration/index>.
143143

aspnetcore/fundamentals/index/includes/index3-7.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ ASP.NET Core provides a [configuration](xref:fundamentals/configuration/index) f
108108

109109
By [default](xref:fundamentals/configuration/index#default), ASP.NET Core apps are configured to read from `appsettings.json`, environment variables, the command line, and more. When the app's configuration is loaded, values from environment variables override values from `appsettings.json`.
110110

111-
For managing confidential configuration data such as passwords, .NET Core provides the [Secret Manager](xref:security/app-secrets#secret-manager). For production secrets, we recommend [Azure Key Vault](xref:security/key-vault-configuration).
111+
For managing confidential configuration data such as passwords, .NET provides the [Secret Manager](xref:security/app-secrets#secret-manager). For production secrets, we recommend [Azure Key Vault](xref:security/key-vault-configuration).
112112

113113
For more information, see <xref:fundamentals/configuration/index>.
114114

@@ -329,7 +329,7 @@ By [default](xref:fundamentals/configuration/index#default), ASP.NET Core apps a
329329

330330
The preferred way to read related configuration values is using the [options pattern](xref:fundamentals/configuration/options). For more information, see [Bind hierarchical configuration data using the options pattern](xref:fundamentals/configuration/index#optpat).
331331

332-
For managing confidential configuration data such as passwords, .NET Core provides the [Secret Manager](xref:security/app-secrets#secret-manager). For production secrets, we recommend [Azure Key Vault](xref:security/key-vault-configuration).
332+
For managing confidential configuration data such as passwords, .NET provides the [Secret Manager](xref:security/app-secrets#secret-manager). For production secrets, we recommend [Azure Key Vault](xref:security/key-vault-configuration).
333333

334334
For more information, see <xref:fundamentals/configuration/index>.
335335

0 commit comments

Comments
 (0)