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

Pubblicato il: 24 dicembre 2021
sul canale di: 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


In questa pagina del sito puoi guardare il video online .NET Core Web API complete tutorial in Tamil + Entity Framework | swagger implementation | CURD della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Nihira Techiees 24 dicembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 7,382 volte e gli è piaciuto 108 spettatori. Buona visione!