https://github.com/larsbergqvist/aspnetcore-todoapp
A simple todo-app in Razor Pages / .NET 6
https://github.com/larsbergqvist/aspnetcore-todoapp
csharp entity-framework-core net6 razorpages
Last synced: 7 months ago
JSON representation
A simple todo-app in Razor Pages / .NET 6
- Host: GitHub
- URL: https://github.com/larsbergqvist/aspnetcore-todoapp
- Owner: LarsBergqvist
- License: mit
- Created: 2021-08-24T18:42:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-06T17:08:13.000Z (almost 2 years ago)
- Last Synced: 2024-05-28T22:13:43.031Z (over 1 year ago)
- Topics: csharp, entity-framework-core, net6, razorpages
- Language: C#
- Homepage:
- Size: 712 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aspnetcore-todoapp 
Uses SqlLite, EntityFramework and AspNetCore.Identity# Install dotnet ef
```
dotnet tool install --global dotnet-ef
```
# Create the database for todo lists
Modify TodosConnection in Infrastructure\appsettings.json (or use user-secret)
```
cd Infrastructure
dotnet ef database update
```
# Create database for application users
```
cd RazorPagesApp
dotnet ef database update --context ApplicationDbContext
```