Caso práctico resuelto
-
ASP.NET Core Web API .NET 8
-
Entity Framework Core
-
SQL Server 2022
-
Swagger Documentation
-
Insertar data mediante un query en sql server. Ejemplo: INSERT INTO Students (FullName) VALUES ('Alexander'); INSERT INTO Courses (Title) VALUES ('Programacion .NET');
-
Al inciar sesión se debe usar el username "usuario" y de password "123"
-
El token resultante se debe añadir lo siguiente "Bearer"+ " "+ Token. Ejemplo "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoidXN1YXJpbyIsImV4cCI6MTc0ODcxNTA1Nn0.JS-WkEKq0ho3ELK3qtDvSSs3tHthF5Zi0dqhrEEvtqk"
-
Solo probar los métodos usando las ids correctas para el alumno y el curso