.NET Core Web API complete tutorial in Tamil + Entity Framework | swagger implementation | CURD

Veröffentlicht am: 24 Dezember 2021
auf dem Kanal: Nihira Techiees
7,382
108

#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


Auf dieser Seite können Sie das Online-Video .NET Core Web API complete tutorial in Tamil + Entity Framework | swagger implementation | CURD mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Nihira Techiees 24 Dezember 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 7,382 Mal angesehen und es wurde von 108 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!