This API was developed with .NET Core 9 and Entity Framework. It uses the Swagger UI to visualize and test endpoints. The database it connects to is SQL Server.
These are the installed Nutgets packages:
- Microsoft.EntityFrameWorkCore
- Microsoft.EntityFrameWorkCore.SqlServer
- Microsoft.EntityFrameWorkCore.Tools
- Swashbuckle.AspNetCore
- Swashbuckle.AspNetCore.Swagger
After installing, run this command in the Package Manager Console:
Scaffold-DbContext "Data Source=YOURSERVER;Database=UsersAPI;Trusted_Connection=True;TrustServerCertificate=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Force