An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# aspnetcore-todoapp ![Build](https://github.com/larsbergqvist/aspnetcore-todoapp/actions/workflows/dotnet.yml/badge.svg)
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
```