An example project of ASP.NET Core Web API Application, using Entity Framework (Sql Server) and AutoMapper. This project uses .NET 8.
- Entity Framework with Sql Server and migrations (inside WebApi project)
- AutoMapper to map Entity <-> DTO
- Swagger
- Some dummy data from kaggle.com as .csv file that can be seeded to database via API route
- Clone the repo
- Open the solution
- Change
appsettings.Development.jsonfile ConnectionString cd Earthquakes.WebApidotnet ef database update- Start the project
- Open swagger
- Call
/api/data/update-databaseendpoint once to seed the database