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: Extension/Blazor-Extension/Visual-Studio/template-studio.md
+18-8Lines changed: 18 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -376,25 +376,35 @@ You can select a culture language in combobox at top right on the output page to
376
376
377
377
##### Applying Database Migrations and User Registration in the .NET 8.0 Blazor Web App
378
378
379
-
1. Navigate to **View -> Other Windows -> Package Manager Console** in Visual studio.
379
+
###### Applying Database Migrations:
380
380
381
-
2. Run the following command in the Package Manager Console to apply pending migrations to the database:
381
+
In the Blazor Web App, it's essential to apply pending migrations to the database before proceeding with user registration. Choose one of the following options:
382
382
383
-
```Update-Database```
383
+
**Option 1: Using Visual Studio Package Manager Console**
384
+
385
+
Navigate to **View -> Other Windows -> Package Manager Console** in Visual Studio.
386
+
387
+
Run the following command in the Package Manager Console:
384
388
385
-
Alternatively, you can apply pending migrations from a command prompt in your project directory by running the following command:
389
+
```Update-Database```
386
390
387
-
```dotnet ef database update```
391
+
**Option 2: Using Command Prompt**
392
+
393
+
Open a command prompt in your project directory and execute the following command:
388
394
389
-
3. Now, launch the application and register by submitting your email address and creating a password.
395
+
```dotnet ef database update```
396
+
397
+
###### User Registration:
398
+
399
+
1. Launch the application and register by submitting your email address and creating a password.
390
400
391
401

392
402
393
-
4. Confirm your registration by clicking **Click here to confirm your account.**
403
+
2. Confirm your registration by clicking **Click here to confirm your account.**
394
404
395
405

396
406
397
-
5. Submit your registered email address and password to log in to the application.
407
+
3. Submit your registered email address and password to log in to the application.
0 commit comments