Links: ASP .NET Core (2021-02) (#21575)

pull/21579/head
David Coulter 2021-02-17 12:05:24 -08:00 committed by GitHub
parent e91843f849
commit e0f84f406a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 13 deletions

View File

@ -152,7 +152,7 @@ conceptualContent:
- url: signalr/introduction.md
itemType: get-started
text: "Create your first SignalR app"
- url: tutorials/signalr-blazor-webassembly.md
- url: tutorials/signalr-blazor.md
itemType: tutorial
text: "SignalR with Blazor WebAssembly"
- url: tutorials/signalr-typescript-webpack.md
@ -407,4 +407,4 @@ additionalContent:
- url: /dotnet/architecture/modern-web-apps-azure/development-process-for-azure
text: Development process for Azure
# footer (optional)
footer: "Contribute to ASP.NET Core docs. Read our [contributor guide](https://github.com/aspnet/AspNetCore.Docs/blob/master/CONTRIBUTING.md)."
footer: "Contribute to ASP.NET Core docs. Read our [contributor guide](https://github.com/aspnet/AspNetCore.Docs/blob/master/CONTRIBUTING.md)."

View File

@ -42,7 +42,7 @@ public void ConfigureServices(IServiceCollection services)
}
```
If the web app is running as an Azure service, connection string can be used to authenticate to Azure storage by using [Azure.Storage.Blobs](https://docs.microsoft.com/dotnet/api/azure.storage.blobs.blobcontainerclient).
If the web app is running as an Azure service, connection string can be used to authenticate to Azure storage by using [Azure.Storage.Blobs](/dotnet/api/azure.storage.blobs.blobcontainerclient).
```csharp
string connectionString = "<connection_string>";
@ -183,4 +183,4 @@ The `DataProtectionKeys` class/entity adopts the structure shown in the followin
## Custom key repository
If the in-box mechanisms aren't appropriate, the developer can specify their own key persistence mechanism by providing a custom [IXmlRepository](/dotnet/api/microsoft.aspnetcore.dataprotection.repositories.ixmlrepository).
If the in-box mechanisms aren't appropriate, the developer can specify their own key persistence mechanism by providing a custom [IXmlRepository](/dotnet/api/microsoft.aspnetcore.dataprotection.repositories.ixmlrepository).

View File

@ -100,7 +100,7 @@ At the end of this tutorial, you'll have a working todo list app.
Save the `Shared/NavMenu.razor` file.
1. Build and run the app by executing the [`dotnet watch run`](/aspnet/core/tutorials/dotnet-watch) command in the command shell from the `TodoList` folder. After the app is running, visit the new Todo page by selecting the **`Todo`** link in the app's navigation bar, which loads the page at `/todo`.
1. Build and run the app by executing the [`dotnet watch run`](xref:tutorials/dotnet-watch) command in the command shell from the `TodoList` folder. After the app is running, visit the new Todo page by selecting the **`Todo`** link in the app's navigation bar, which loads the page at `/todo`.
Leave the app running the command shell. Each time a file is saved, the app is automatically rebuilt. The browser temporarily loses its connection to the app while compiling and restarting. The page in the browser is automatically reloaded when the connection is re-established.

View File

@ -23,7 +23,7 @@ In this section [Entity Framework](/ef/core/get-started/aspnetcore/new-db) Code
When using EF Code First to automatically create a database, Code First:
* Adds an [`__EFMigrationsHistory`](https://docs.microsoft.com/ef/core/managing-schemas/migrations/history-table) table to the database to track whether the schema of the database is in sync with the model classes it was generated from.
* Adds an [`__EFMigrationsHistory`](/ef/core/managing-schemas/migrations/history-table) table to the database to track whether the schema of the database is in sync with the model classes it was generated from.
* If the model classes aren't in sync with the database, EF throws an exception.
Automatic verification that the schema and model are in sync makes it easier to find inconsistent database code issues.
@ -164,7 +164,7 @@ In this section [Entity Framework](/ef/core/get-started/aspnetcore/new-db) Code
When using EF Code First to automatically create a database, Code First:
* Adds an [`__EFMigrationsHistory`](https://docs.microsoft.com/ef/core/managing-schemas/migrations/history-table) table to the database to track whether the schema of the database is in sync with the model classes it was generated from.
* Adds an [`__EFMigrationsHistory`](/ef/core/managing-schemas/migrations/history-table) table to the database to track whether the schema of the database is in sync with the model classes it was generated from.
* If the model classes aren't in sync with the database, EF throws an exception.
Automatic verification that the schema and model are in sync makes it easier to find inconsistent database code issues.
@ -305,7 +305,7 @@ In this section [Entity Framework](/ef/core/get-started/aspnetcore/new-db) Code
When using EF Code First to automatically create a database, Code First:
* Adds an [`__EFMigrationsHistory`](https://docs.microsoft.com/ef/core/managing-schemas/migrations/history-table) table to the database to track whether the schema of the database is in sync with the model classes it was generated from.
* Adds an [`__EFMigrationsHistory`](/ef/core/managing-schemas/migrations/history-table) table to the database to track whether the schema of the database is in sync with the model classes it was generated from.
* If the model classes aren't in sync with the database, EF throws an exception.
Automatic verification that the schema and model are in sync makes it easier to find inconsistent database code issues.
@ -430,4 +430,4 @@ Run the app and verify you can create/edit/display movies with a `Rating` field.
> [Previous: Add Search](xref:tutorials/razor-pages/search)
> [Next: Add Validation](xref:tutorials/razor-pages/validation)
::: moniker-end
::: moniker-end

View File

@ -124,7 +124,7 @@ In the previous code, the `Main` method has been modified to do the following:
* Get a database context instance from the dependency injection container.
* Call the `seedData.Initialize` method, passing to it the database context instance.
* Dispose the context when the seed method completes. The [using statement](https://docs.microsoft.com/dotnet/csharp/language-reference/keywords/using-statement) ensures the context is disposed.
* Dispose the context when the seed method completes. The [using statement](/dotnet/csharp/language-reference/keywords/using-statement) ensures the context is disposed.
The following exception occurs when `Update-Database` has not been run:
@ -278,7 +278,7 @@ In the previous code, the `Main` method has been modified to do the following:
* Get a database context instance from the dependency injection container.
* Call the `seedData.Initialize` method, passing to it the database context instance.
* Dispose the context when the seed method completes. The [using statement](https://docs.microsoft.com/dotnet/csharp/language-reference/keywords/using-statement) ensures the context is disposed.
* Dispose the context when the seed method completes. The [using statement](/dotnet/csharp/language-reference/keywords/using-statement) ensures the context is disposed.
The following exception occurs when `Update-Database` has not been run:
@ -422,7 +422,7 @@ In the previous code, the `Main` method has been modified to do the following:
* Get a database context instance from the dependency injection container.
* Call the `seedData.Initialize` method, passing to it the database context instance.
* Dispose the context when the seed method completes. The [using statement](https://docs.microsoft.com/dotnet/csharp/language-reference/keywords/using-statement) ensures the context is disposed.
* Dispose the context when the seed method completes. The [using statement](/dotnet/csharp/language-reference/keywords/using-statement) ensures the context is disposed.
A production app would not call `Database.Migrate`. It's added to the preceding code to prevent the following exception when `Update-Database` has not been run:
@ -469,4 +469,4 @@ The next tutorial will clean up the presentation of the data.
> [Previous: Scaffolded Razor Pages](xref:tutorials/razor-pages/page)
> [Next: Update the pages](xref:tutorials/razor-pages/da1)
::: moniker-end
::: moniker-end