typos in ef-mvc intro tutorial (#20629)
parent
00af8873dd
commit
1fdc31cc4b
|
@ -93,7 +93,7 @@ This tutorial uses SQL Server, and the provider package is [Microsoft.EntityFram
|
|||
|
||||
The EF SQL Server package and its dependencies, `Microsoft.EntityFrameworkCore` and `Microsoft.EntityFrameworkCore.Relational`, provide runtime support for EF.
|
||||
|
||||
Add the [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://www.nuget.org/packages/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore) NuGet package and the [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://www.nuget.org/packages/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore) NuGet package. In the Program Manager Console (PMC), enter the following commands to add the NuGet packages:
|
||||
Add the [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://www.nuget.org/packages/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore) NuGet package and the [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://www.nuget.org/packages/Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore) NuGet package. In the Package Manager Console (PMC), enter the following commands to add the NuGet packages:
|
||||
|
||||
```powershell
|
||||
Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
|
||||
|
@ -214,7 +214,7 @@ Open the *appsettings.json* file and add a connection string as shown in the fol
|
|||
|
||||
Add <xref:Microsoft.Extensions.DependencyInjection.DatabaseDeveloperPageExceptionFilterServiceExtensions.AddDatabaseDeveloperPageExceptionFilter%2A> to `ConfigureServices` as shown in the following code:
|
||||
|
||||
[!code-csharp[](intro/samples/5cu/Startup.cs?name=snippet&highlight=1=2,22-23)]
|
||||
[!code-csharp[](intro/samples/5cu/Startup.cs?name=snippet&highlight=6)]
|
||||
|
||||
The `AddDatabaseDeveloperPageExceptionFilter` provides helpful error information in the [development environment](xref:fundamentals/environments).
|
||||
|
||||
|
|
Loading…
Reference in New Issue