From 68b39e541b9d73b2a4712c2ff0065da61f1e579f Mon Sep 17 00:00:00 2001 From: Luke Latham <1622880+guardrex@users.noreply.github.com> Date: Sat, 2 Mar 2019 17:18:30 -0600 Subject: [PATCH] Update method descriptions (#11245) --- aspnetcore/fundamentals/index.md | 8 ++++---- aspnetcore/fundamentals/logging/index.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aspnetcore/fundamentals/index.md b/aspnetcore/fundamentals/index.md index 5a81059acb..abec96f97f 100644 --- a/aspnetcore/fundamentals/index.md +++ b/aspnetcore/fundamentals/index.md @@ -4,7 +4,7 @@ author: rick-anderson description: Learn the foundational concepts for building ASP.NET Core apps. ms.author: riande ms.custom: mvc -ms.date: 02/14/2019 +ms.date: 03/02/2019 uid: fundamentals/index --- # ASP.NET Core fundamentals @@ -83,7 +83,7 @@ The code to create a host is in `Program.Main` and follows the [builder pattern] ::: moniker range="<= aspnetcore-2.2" -ASP.NET Core 2.x uses Web Host (the `WebHost` class) for web apps. The framework provides `CreateDefaultBuilder` extension methods that set up a host with commonly used options, such as the following: +ASP.NET Core 2.x uses Web Host (the `WebHost` class) for web apps. The framework provides `CreateDefaultBuilder` to set up a host with commonly used options, such as the following: * Use [Kestrel](#servers) as the web server and enable IIS integration. * Load configuration from *appsettings.json*, environment variables, command line arguments, and other sources. @@ -105,13 +105,13 @@ For more information, see [Web Host](xref:fundamentals/host/web-host). In ASP.NET Core 3.0, Web Host (`WebHost` class) or Generic Host (`Host` class) can be used in a web app. Generic Host is recommended, and Web Host is available for backwards compatibility. -The framework provides `CreateDefaultBuilder` and `ConfigureWebHostDefaults` extension methods that set up a host with commonly used options, such as the following: +The framework provides the `CreateDefaultBuilder` and `ConfigureWebHostDefaults` methods to set up a host with commonly used options, such as the following: * Use [Kestrel](#servers) as the web server and enable IIS integration. * Load configuration from *appsettings.json*, *appsettings.[EnvironmentName].json*, environment variables, and command line arguments. * Send logging output to the console and debug providers. -Here's sample code that builds a host. The extension methods that set up the host with commonly used options are highlighted. +Here's sample code that builds a host. The methods that set up the host with commonly used options are highlighted. [!code-csharp[](index/snapshots/3.x/Program1.cs?highlight=9-10)] diff --git a/aspnetcore/fundamentals/logging/index.md b/aspnetcore/fundamentals/logging/index.md index e813bd4195..78883f53f7 100644 --- a/aspnetcore/fundamentals/logging/index.md +++ b/aspnetcore/fundamentals/logging/index.md @@ -4,7 +4,7 @@ author: tdykstra description: Learn about the logging framework in ASP.NET Core. Discover the built-in logging providers and learn more about popular third-party providers. ms.author: tdykstra ms.custom: mvc -ms.date: 01/14/2019 +ms.date: 03/02/2019 uid: fundamentals/logging/index --- # Logging in ASP.NET Core @@ -25,7 +25,7 @@ To add a provider, call the provider's `Add{provider name}` extension method in [!code-csharp[](index/samples/2.x/TodoApiSample/Program.cs?name=snippet_ExpandDefault&highlight=17-19)] -The default project template calls the extension method, which adds the following logging providers: +The default project template calls , which adds the following logging providers: * Console * Debug