Inserted a note to add references (#13067)

Added assemblies Microsoft.Extensions.Logging and Microsoft.Extensions.Configuration as Visual Studio auto-suggestion is also not recognising them.
pull/13110/head
Swanand Pangam 2019-07-04 01:30:27 +05:30 committed by Rick Anderson
parent 3903404f3a
commit b804af05c7
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ 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=18-20)]
The preceding code requires references to `Microsoft.Extensions.Logging` and `Microsoft.Extensions.Configuration`.
The default project template calls <xref:Microsoft.AspNetCore.WebHost.CreateDefaultBuilder%2A>, which adds the following logging providers:
* Console