#dotnetcore #swagger #webapi
This video explains below topics
1, How to create .NET Core Web API
2, How to implement .NET Core CURD operations in Web API
3, How to implement Swagger in .NET Core Web API
4, How to enable CORS in .NET Core
please follow the below steps
=====================
1, Create the application using .NET Core
2, Add Entity framework - below library need to be installed through nugget package manager
1, Microsoft.EntityFrameworkCore
2, Microsoft.EntityFrameworkCore.Tools
3, Create DB Content through below scaffold command
Scaffold-DbContext your connectionstring Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
4, Implement Swagger
1, Install - Swashbuckle.AspNetCore using nugget
2, Add Name space Microsoft.OpenApi.Models
3, Add AddSwaggerGen & SwaggerDoc in services
4, Add UseSwagger in config section
5, Create endpoint using UseSwaggerUI
5, Move Connection string to appsettings.json
6, Enable CORS in applications
1, install the library - Microsoft.AspNetCore.Cors through nugget
2, add required configuration
Sur cette page du site, vous pouvez voir la vidéo en ligne .NET Core Web API complete tutorial in Tamil + Entity Framework | swagger implementation | CURD durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Nihira Techiees 24 décembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 7,382 fois et il a aimé 108 téléspectateurs. Bon visionnage!