From 7bd12516deb483c003ff44d039ceee298d857299 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 21 Mar 2019 01:13:02 -0400 Subject: [PATCH] fix: MD035/hr-style Horizontal (#11618) Use the "---" for HR style --- aspnetcore/data/ef-rp/complex-data-model.md | 6 +++--- aspnetcore/data/ef-rp/concurrency.md | 2 +- aspnetcore/data/ef-rp/intro.md | 6 +++--- aspnetcore/data/ef-rp/migrations.md | 6 +++--- aspnetcore/data/ef-rp/read-related-data.md | 4 ++-- .../includes/scaffold-identity/id-scaffold-dlg-auth.md | 2 +- aspnetcore/includes/scaffold-identity/id-scaffold-dlg.md | 2 +- aspnetcore/includes/scaffold-identity/migrations.md | 2 +- aspnetcore/includes/view-identity-db.md | 2 +- aspnetcore/security/authentication/accconfirm.md | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/aspnetcore/data/ef-rp/complex-data-model.md b/aspnetcore/data/ef-rp/complex-data-model.md index e48cd88f66..5487c7afc2 100644 --- a/aspnetcore/data/ef-rp/complex-data-model.md +++ b/aspnetcore/data/ef-rp/complex-data-model.md @@ -138,7 +138,7 @@ dotnet ef migrations add ColumnFirstName dotnet ef database update ``` ------- +--- The `migrations add ColumnFirstName` command generates the following warning message: @@ -552,7 +552,7 @@ Add-Migration ComplexDataModel dotnet ef migrations add ComplexDataModel ``` ------- +--- The preceding command displays a warning about possible data loss. @@ -604,7 +604,7 @@ Enter the following in the command window: dotnet ef database update ``` ------- +--- Run the app. Running the app runs the `DbInitializer.Initialize` method. The `DbInitializer.Initialize` populates the new DB. diff --git a/aspnetcore/data/ef-rp/concurrency.md b/aspnetcore/data/ef-rp/concurrency.md index b742bf6426..f4d423ab10 100644 --- a/aspnetcore/data/ef-rp/concurrency.md +++ b/aspnetcore/data/ef-rp/concurrency.md @@ -161,7 +161,7 @@ Follow the instructions in [Scaffold the student model](xref:data/ef-rp/intro#sc dotnet aspnet-codegenerator razorpage -m Department -dc SchoolContext -udl -outDir Pages\Departments --referenceScriptLibraries ``` ------- +--- The preceding command scaffolds the `Department` model. Open the project in Visual Studio. diff --git a/aspnetcore/data/ef-rp/intro.md b/aspnetcore/data/ef-rp/intro.md index 13d3180603..83bafbf5a8 100644 --- a/aspnetcore/data/ef-rp/intro.md +++ b/aspnetcore/data/ef-rp/intro.md @@ -32,7 +32,7 @@ The sample app is a web site for a fictional Contoso University. It includes fun [!INCLUDE [](~/includes/2.1-SDK.md)] ------- +--- Familiarity with [Razor Pages](xref:razor-pages/index). New programmers should complete [Get started with Razor Pages](xref:tutorials/razor-pages/razor-pages-start) before starting this series. @@ -71,7 +71,7 @@ cd ContosoUniversity dotnet run ``` ------- +--- ## Set up the site style @@ -176,7 +176,7 @@ dotnet tool install --global dotnet-aspnet-codegenerator dotnet aspnet-codegenerator razorpage -m Student -dc ContosoUniversity.Models.SchoolContext -udl -outDir Pages/Students --referenceScriptLibraries ``` ------- +--- The scaffold process created and changed the following files: diff --git a/aspnetcore/data/ef-rp/migrations.md b/aspnetcore/data/ef-rp/migrations.md index 6d05c9dc71..19479b3c44 100644 --- a/aspnetcore/data/ef-rp/migrations.md +++ b/aspnetcore/data/ef-rp/migrations.md @@ -56,7 +56,7 @@ Enter the following in the command window: dotnet ef database drop ``` ------- +--- ## Create an initial migration and update the DB @@ -76,7 +76,7 @@ dotnet ef migrations add InitialCreate dotnet ef database update ``` ------- +--- ### Examine the Up and Down methods @@ -115,7 +115,7 @@ dotnet ef migrations remove For more information, see [dotnet ef migrations remove](/ef/core/miscellaneous/cli/dotnet#dotnet-ef-migrations-remove). ------- +--- The remove migrations command deletes the migration and ensures the snapshot is correctly reset. diff --git a/aspnetcore/data/ef-rp/read-related-data.md b/aspnetcore/data/ef-rp/read-related-data.md index 35e4a86039..44198b75b2 100644 --- a/aspnetcore/data/ef-rp/read-related-data.md +++ b/aspnetcore/data/ef-rp/read-related-data.md @@ -78,7 +78,7 @@ Follow the instructions in [Scaffold the student model](xref:data/ef-rp/intro#sc dotnet aspnet-codegenerator razorpage -m Course -dc SchoolContext -udl -outDir Pages\Courses --referenceScriptLibraries ``` ------- +--- The preceding command scaffolds the `Course` model. Open the project in Visual Studio. @@ -165,7 +165,7 @@ Follow the instructions in [Scaffold the student model](xref:data/ef-rp/intro#sc dotnet aspnet-codegenerator razorpage -m Instructor -dc SchoolContext -udl -outDir Pages\Instructors --referenceScriptLibraries ``` ------- +--- The preceding command scaffolds the `Instructor` model. Run the app and navigate to the instructors page. diff --git a/aspnetcore/includes/scaffold-identity/id-scaffold-dlg-auth.md b/aspnetcore/includes/scaffold-identity/id-scaffold-dlg-auth.md index 6df43ae3a1..689602dc59 100644 --- a/aspnetcore/includes/scaffold-identity/id-scaffold-dlg-auth.md +++ b/aspnetcore/includes/scaffold-identity/id-scaffold-dlg-auth.md @@ -54,4 +54,4 @@ dotnet aspnet-codegenerator identity -dc MyWeb.Data.ApplicationDbContext --files If you run the Identity scaffolder without specifying the `--files` flag or the `--useDefaultUI` flag, all the available Identity UI pages will be created in your project. -------------- +--- diff --git a/aspnetcore/includes/scaffold-identity/id-scaffold-dlg.md b/aspnetcore/includes/scaffold-identity/id-scaffold-dlg.md index 2374c770d4..f90924025d 100644 --- a/aspnetcore/includes/scaffold-identity/id-scaffold-dlg.md +++ b/aspnetcore/includes/scaffold-identity/id-scaffold-dlg.md @@ -38,4 +38,4 @@ In the project folder, run the Identity scaffolder with the options you want. Fo dotnet aspnet-codegenerator identity --useDefaultUI ``` -------------- +--- diff --git a/aspnetcore/includes/scaffold-identity/migrations.md b/aspnetcore/includes/scaffold-identity/migrations.md index 80e8cddaeb..561a11bec8 100644 --- a/aspnetcore/includes/scaffold-identity/migrations.md +++ b/aspnetcore/includes/scaffold-identity/migrations.md @@ -16,6 +16,6 @@ dotnet ef migrations add CreateIdentitySchema dotnet ef database update ``` ------- +--- The "CreateIdentitySchema" name parameter for the `Add-Migration` command is arbitrary. `"CreateIdentitySchema"` describes the migration. diff --git a/aspnetcore/includes/view-identity-db.md b/aspnetcore/includes/view-identity-db.md index c04ff61d34..b8b86b82c2 100644 --- a/aspnetcore/includes/view-identity-db.md +++ b/aspnetcore/includes/view-identity-db.md @@ -11,4 +11,4 @@ There are many third party tools you can download to manage and view a SQLite database, for example [DB Browser for SQLite](http://sqlitebrowser.org/). ------- \ No newline at end of file +--- \ No newline at end of file diff --git a/aspnetcore/security/authentication/accconfirm.md b/aspnetcore/security/authentication/accconfirm.md index d4eea1fda7..ea69d70812 100644 --- a/aspnetcore/security/authentication/accconfirm.md +++ b/aspnetcore/security/authentication/accconfirm.md @@ -124,7 +124,7 @@ From the console, enter the following command: dotnet add package SendGrid ``` ------- +--- See [Get Started with SendGrid for Free](https://sendgrid.com/free/) to register for a free SendGrid account.