Skip to content

Sqlite template for asp net - clone -> install nuget stuff and good to go

Notifications You must be signed in to change notification settings

K2adir/Asp-net-7-Sqlite-Template

Repository files navigation

ASP.NET 7 SQLite Template

This is a ready-to-go ASP.NET 7 template with SQLite setup. If you are on Mac like me and SQL setup takes too much time, give this a try. You don't need Docker to host SQLite on Mac, which makes prototyping so much simpler.

Quick Start

  1. Install Missing NuGet Packages

Run the following command in the terminal to install any missing packages

dotnet restore

Add-Migration

dotnet ef migrations add InitialCreate

Update database

dotnet ef database update

This will create 2 tables, Products, and Customers, just to test if it's working or not.

I'm including my application.db (sqlite file) and appsettings.json in case you need it. They don't contain any valuable data.

About

Sqlite template for asp net - clone -> install nuget stuff and good to go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published