Skip to content

Commit 1f2be7d

Browse files
Merge pull request #47 from dotnet/update-launchsettings
Update launch settings
2 parents 01351b8 + dec1b81 commit 1f2be7d

File tree

8 files changed

+62
-8
lines changed

8 files changed

+62
-8
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- 3-razor-pages/1-complete/RazorPagesPizza/RazorPagesPizza/RazorPagesPizza.csproj
2626
- 4-minimal-api/0-start/PizzaStore/PizzaStore.csproj
2727
- 4-minimal-api/1-complete/PizzaStore/PizzaStore.csproj
28-
- 5-blazor/0-start/ConnectFour.csproj
28+
- 5-blazor/0-start/ConnectFour/ConnectFour.csproj
2929
- 5-blazor/1-complete/ConnectFour/ConnectFour.csproj
3030

3131
steps:

3-razor-pages/0-start/RazorPagesPizza/RazorPagesPizza/Properties/launchSettings.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@
88
}
99
},
1010
"profiles": {
11-
"RazorPagesPizza": {
11+
"http": {
12+
"commandName": "Project",
13+
"dotnetRunMessages": true,
14+
"launchBrowser": true,
15+
"applicationUrl": "http://localhost:5101",
16+
"environmentVariables": {
17+
"ASPNETCORE_ENVIRONMENT": "Development"
18+
}
19+
},
20+
"https": {
1221
"commandName": "Project",
1322
"dotnetRunMessages": true,
1423
"launchBrowser": true,

3-razor-pages/1-complete/RazorPagesPizza/RazorPagesPizza/Properties/launchSettings.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@
88
}
99
},
1010
"profiles": {
11-
"RazorPagesPizza": {
11+
"http": {
12+
"commandName": "Project",
13+
"dotnetRunMessages": true,
14+
"launchBrowser": true,
15+
"applicationUrl": "http://localhost:5101",
16+
"environmentVariables": {
17+
"ASPNETCORE_ENVIRONMENT": "Development"
18+
}
19+
},
20+
"https": {
1221
"commandName": "Project",
1322
"dotnetRunMessages": true,
1423
"launchBrowser": true,

4-minimal-api/0-start/PizzaStore/Properties/launchSettings.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@
88
}
99
},
1010
"profiles": {
11-
"PizzaStore": {
11+
"http": {
12+
"commandName": "Project",
13+
"dotnetRunMessages": true,
14+
"launchBrowser": true,
15+
"applicationUrl": "http://localhost:5112",
16+
"environmentVariables": {
17+
"ASPNETCORE_ENVIRONMENT": "Development"
18+
}
19+
},
20+
"https": {
1221
"commandName": "Project",
1322
"dotnetRunMessages": true,
1423
"launchBrowser": true,

4-minimal-api/1-complete/PizzaStore/Properties/launchSettings.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@
88
}
99
},
1010
"profiles": {
11-
"PizzaStore": {
11+
"http": {
12+
"commandName": "Project",
13+
"dotnetRunMessages": true,
14+
"launchBrowser": true,
15+
"applicationUrl": "http://localhost:5112",
16+
"environmentVariables": {
17+
"ASPNETCORE_ENVIRONMENT": "Development"
18+
}
19+
},
20+
"https": {
1221
"commandName": "Project",
1322
"dotnetRunMessages": true,
1423
"launchBrowser": true,

5-blazor/0-start/ConnectFour/Properties/launchSettings.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@
88
}
99
},
1010
"profiles": {
11-
"ConnectFour": {
11+
"http": {
12+
"commandName": "Project",
13+
"dotnetRunMessages": true,
14+
"launchBrowser": true,
15+
"applicationUrl": "http://localhost:5007",
16+
"environmentVariables": {
17+
"ASPNETCORE_ENVIRONMENT": "Development"
18+
}
19+
},
20+
"https": {
1221
"commandName": "Project",
1322
"dotnetRunMessages": true,
1423
"launchBrowser": true,

5-blazor/1-complete/ConnectFour/Properties/launchSettings.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@
88
}
99
},
1010
"profiles": {
11-
"ConnectFour": {
11+
"http": {
12+
"commandName": "Project",
13+
"dotnetRunMessages": true,
14+
"launchBrowser": true,
15+
"applicationUrl": "http://localhost:5007",
16+
"environmentVariables": {
17+
"ASPNETCORE_ENVIRONMENT": "Development"
18+
}
19+
},
20+
"https": {
1221
"commandName": "Project",
1322
"dotnetRunMessages": true,
1423
"launchBrowser": true,

5-blazor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ Let's add some error handling and indicators to our board to make the current st
390390
```
391391

392392
- The `CurrentTurn` property is automatically calculated based on the state of the `winnerMessage` and the `PlayerTurn` property of the `GameState`.
393-
- The `ResetStyle` is calculated based on contents of the `WinnerMessage`. If there's a `winnerMessage`, we make the reset button appear on screen.
393+
- The `ResetStyle` is calculated based on contents of the `winnerMessage`. If there's a `winnerMessage`, we make the reset button appear on screen.
394394

395395
1. Let's handle the error message when a piece is played. Add a line to clear the error message and then wrap the code in the `PlayPiece` method with a `try...catch` block to set the `errorMessage` if an exception occurred:
396396

0 commit comments

Comments
 (0)