This is an API to demonstrate the simple and easy use of technologies in C# language with ASP.NET. With the intention of learning, I built this API to understand the general functioning of Entity Framework and everything that involves the creation and manipulation of Database through it. This system was built using the SQLite database.
Below are some instructions.
The project template chosen at the time of creating the solution was the following:
To run this project, you must add the following packages with the NuGet package manager:
You can use the NuGet graphical interface if you are in Visual Studio, or install via CLI, with the following commands:
# if you want to add the version just add --version <version>
# Microsoft EntityFramworkCore
dotnet add package Microsoft.EntityFrameworkCore
# Microsoft EntityFrameworkCore Tools
dotnet add package Microsoft.EntityFrameworkCore.Tools
# Microsoft EntityFrameworkCore SQlite
dotnet add package Microsoft.EntityFrameworkCore.Sqlite
The screen above is where you will find the routes and will be able to actually use the system, inserting and manipulating information in the database.
Each request option is opened when you expand the option, where if necessary you will pass parameters in the route, to later obtain the JSONs of response for each request made.
This project is using the MIT license, so feel free to use it.