ASP.NET Core: Getting Started with ASP.NET Core 3.0
By FoxLearn 11/8/2019 2:46:09 AM 3.31K
Opening your Visual Studio, then click create new project => Select ASP.NET Core Web Application.
Entering your project name, then click Create button
Selecting Web Application (Model-View-Controller), then click Change authentication
Selecting Individual User Accounts, then click OK button
Next, Click Create button
Press F5 to run your project, then click register link to create a new account.
If you get an error "A database operation failed while processing the request" you should click the Apply Migrations button, then press F5 to refresh your page.
If you want to update your database, you can click Tool menu => Nuget Package Manager => Package Manager Console, then enter Update-Database
Finally, Enter dotnet ef database update to update modify to your database.
- How to fix "InvalidOperationException: No service for type 'Microsoft.AspNetCore.Identity.UserManager'"
- How to fix 'IMvcBuilder' does not contain a definition for 'AddNewtonsoftJson'
- ASP.NET Core: How to Create RDLC Report in ASP.NET Core
- How to fix Assets file 'project.assets.json' not found
- How to fix 'DbContextOptionsBuilder' does not contain a definition for 'UseSqlServer'
- How to set cookie ValidationInterval in ASP.NET Core
- How to fix LoginPath not working in ASP.NET Core
- How to fix Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager'