You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/blazor/tutorials/movie-database-app/part-1.md
+42-2Lines changed: 42 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,13 @@ In Visual Studio:
63
63
64
64
* In the **Additional information** dialog, use the following settings:
65
65
66
-
***Framework**: Select **.NET 9.0 (Standard Term Support)**.
66
+
<!-- UPDATE 9.0 Update after regression is resolved.
67
+
Convert this block back over to 9.0 Standard Term Support. -->
68
+
69
+
> [!CAUTION]
70
+
> A regression prevents the .NET 9.0 framework from working for this tutorial series at this time. You can use the 9.0 SDK and the latest version of Visual Studio, but select the **.NET 8.0 (Long Term Support)** framework when creating the app in the following settings.
71
+
72
+
***Framework**: Select **.NET 8.0 (Long Term Support)**.
67
73
***Authentication type**: **None**
68
74
***Configure for HTTPS**: Selected
69
75
***Interactive render mode**: **Server**
@@ -111,7 +117,19 @@ Create a new project:
111
117
112
118
* In the **Command Palette**, name the project `BlazorWebAppMovies`, including matching the capitalization. Using this exact project name is important to ensure that the namespaces match for code that you copy from the tutorial into the app that you're building.
113
119
114
-
* Select **Create project** from the **Command Palette**.
120
+
:::moniker range=">= aspnetcore-9.0"
121
+
122
+
<!-- UPDATE 9.0 Update after regression is resolved.
123
+
Remove this moniker range block to revert. -->
124
+
125
+
> [!CAUTION]
126
+
> A regression prevents the .NET 9.0 framework from working for this tutorial series at this time. You can use the 9.0 SDK and the latest version of Visual Studio Code, but specify the **.NET 8.0 (Long Term Support)** framework in the next step when you create the app.
127
+
128
+
* Select **Show all template options**. Select **Framework** followed by **.NET 8.0**.
129
+
130
+
:::moniker-end
131
+
132
+
* Select **Create project** to create the app.
115
133
116
134
:::zone-end
117
135
@@ -121,13 +139,35 @@ Confirm that you have the latest [.NET SDK](https://dotnet.microsoft.com/downloa
121
139
122
140
In a command shell:
123
141
142
+
:::moniker range=">= aspnetcore-9.0"
143
+
144
+
* Use the `cd` command to change to the directory to where you want to create the project folder (for example, `cd c:/users/Bernie_Kopell/Documents`).
145
+
* Use the [`dotnet new` command](/dotnet/core/tools/dotnet-new) with the [`blazor` project template](/dotnet/core/tools/dotnet-new-sdk-templates#blazor) to create a new Blazor Web App project. The [`-o|--output` option](/dotnet/core/tools/dotnet-new#options) passed to the command creates the project in a new folder at the current shell directory location. Name the project `BlazorWebAppMovies`, including matching the capitalization, so the namespaces match for code that you copy from the tutorial to the app.
146
+
147
+
<!-- UPDATE 9.0 Update after regression is resolved.
148
+
Remove the 9.0 moniker block, leaving the <9.0
149
+
content in place. -->
150
+
151
+
> [!CAUTION]
152
+
> A regression prevents the .NET 9.0 framework from working for this tutorial series at this time. You can use the 9.0 SDK, but specify the **.NET 8.0 (Long Term Support)** framework by passing `net8.0` to the framework option (`-f|--framework`) of the `dotnet new` command when creating the app.
153
+
154
+
```dotnetcli
155
+
dotnet new blazor -o BlazorWebAppMovies -f net8.0
156
+
```
157
+
158
+
:::moniker-end
159
+
160
+
:::moniker range="< aspnetcore-9.0"
161
+
124
162
* Use the `cd` command to change to the directory to where you want to create the project folder (for example, `cd c:/users/Bernie_Kopell/Documents`).
125
163
* Use the [`dotnet new` command](/dotnet/core/tools/dotnet-new) with the [`blazor` project template](/dotnet/core/tools/dotnet-new-sdk-templates#blazor) to create a new Blazor Web App project. The [`-o|--output` option](/dotnet/core/tools/dotnet-new#options) passed to the command creates the project in a new folder at the current shell directory location. Name the project `BlazorWebAppMovies`, including matching the capitalization, so the namespaces match for code that you copy from the tutorial to the app.
0 commit comments