Getting Started with ASP.NET Core 3.0
By FoxLearn 9/10/2024 8:34:55 AM 3.76K
Open Visual Studio 2019 from your Start menu or desktop shortcut, 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.
- Boost Your ASP.NET Core Website Performance with .NET Profiler
- The name 'Session' does not exist in the current context
- Implementing Two-Factor Authentication with Google Authenticator in ASP.NET Core
- How to securely reverse-proxy ASP.NET Core
- How to Retrieve Client IP in ASP.NET Core Behind a Reverse Proxy
- Only one parameter per action may be bound from body in ASP.NET Core
- The request matched multiple endpoints in ASP.NET Core
- How to Create a custom model validation attribute in ASP.NET Core