Skip to content

CRUD in .NET 8 WebAPI using Entity Framework Core with Code First approach and Sqlite, created for study purposes.

Notifications You must be signed in to change notification settings

dvdalves/entityframework-sqlite-api

Repository files navigation

CRUD API with SQLite

This is a simple CRUD (Create, Read, Update, Delete) API developed in .NET for study purposes. The API uses the SQLite database to store person records.

Technologies Used

  • .NET 9
  • ASP.NET WebAPI
  • Entity Framework Core
  • SQLite

Features

The API provides the following features:

  • List all registered people
  • Retrieve details of a specific person by their ID
  • Add a new person
  • Update an existing person's data
  • Delete a person

Database Configuration

The database used is SQLite, a lightweight and easy-to-configure database. The connection string is located in the appsettings.json file.

Running the Project

To run the project locally, follow these steps:

  1. Make sure you have the .NET Core SDK installed on your machine.
  2. Clone this repository to your local machine.
  3. Open the project in your preferred development environment (e.g., Visual Studio, Visual Studio Code).
  4. Configure the connection string in the appsettings.json file, if necessary.
  5. Run the application.

About

CRUD in .NET 8 WebAPI using Entity Framework Core with Code First approach and Sqlite, created for study purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages