Updating highlights and Mac instructions (#20783)

* Updating highlights and Mac instructions

Incorrect highlights for json snippets
Missing key step for steps on Macs

* Update aspnetcore/tutorials/first-mvc-app/adding-model.md

Co-authored-by: Wade Pickett <wpickett@microsoft.com>
pull/20897/head
ptrm04 2020-12-08 00:24:26 +00:00 committed by GitHub
parent 30416c6ba9
commit 496a033036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -212,6 +212,12 @@ The automatic creation of these files is known as *scaffolding*.
* Open a command window in the project directory (The directory that contains the *Program.cs*, *Startup.cs*, and *.csproj* files).
* Export the scaffold tool path:
```console
export PATH=$HOME/.dotnet/tools:$PATH
```
* Run the following command:
```dotnetcli
@ -534,11 +540,11 @@ Add a connection string to the *appsettings.json* file:
# [Visual Studio](#tab/visual-studio)
[!code-json[](~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie3/appsettings.json?highlight=10-12)]
[!code-json[](~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie3/appsettings.json?highlight=10-13)]
# [Visual Studio Code / Visual Studio for Mac](#tab/visual-studio-code+visual-studio-mac)
[!code-json[](~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie3/appsettings_SQLite.json?highlight=10-12)]
[!code-json[](~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie3/appsettings_SQLite.json?highlight=10-13)]
---