Dot NET Core Web API using VS Code (Entity Framework DB First + CRUD Actions + Testing with Swagger)

Dot NET Core Web API using VS Code (Entity Framework DB First + CRUD Actions + Testing with Swagger)

Nihira Techiees

2 года назад

54,959 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

MBA
MBA - 29.09.2023 02:26

i have mysql what cmd should run dotnet ef dbcontext scaffold "connectionstring" Microsoft.EntityFrameworkCore.SqlServer --output-dir Models

Ответить
Md Ekramul
Md Ekramul - 28.09.2023 09:56

Hey folks, if you're using ssms 2019 or above, while establishing the connection with sql server, you may face issue stating [A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)]. Please enable "Trust server certificate" from ssms under option>>Connection Properties. Then add one more property "TrustServerCertificate=True" to the command i,e {dotnet ef dbcontext scaffold "Server=(server name);Database=(database name);TrustServerCertificate=True;Trusted_Connection=True" Microsoft.EntityFrameworkCore.SqlServer --output-dir Models}. After this it will Definity run.

Ответить
Gokul V
Gokul V - 07.09.2023 13:54

Are you using stored procedure for CRUD in this app ? Please reply asap.

Ответить
Mathews Golias
Mathews Golias - 09.08.2023 16:56

Does anyone have this error? "Failed to create CoreCLR, HRESULT: 0x80004005"

Ответить
Shanmugabavan Shan
Shanmugabavan Shan - 25.07.2023 06:40

Where can I get this slide.... It will be easy to copy the Commands from there

Ответить
Ahsan Ali
Ahsan Ali - 04.07.2023 11:55

how to generate connection string ?

Ответить
Naimisha Hada
Naimisha Hada - 29.06.2023 20:34

Just after executing Dotnet run command
Localhost is not loading.
Also swagger is not loading. Follows ur steps. Pls let me know if anything need to be corrected. Also I haven't changed anything 😀after creating project. Still.

Ответить
a
a - 24.04.2023 12:51

please send me database script :(((

Ответить
Sonali Datey
Sonali Datey - 19.03.2023 09:55

How to create api with code first approach then?

Ответить
Abdul Wareez Sheriffdeen
Abdul Wareez Sheriffdeen - 13.03.2023 15:14

please sir is it the scaffold command that generated those class in Models

Ответить
Saurabh Khandagle
Saurabh Khandagle - 25.01.2023 14:29

hello sir, i need help while connecting sqlite data with webapi project

Ответить
Batuhan
Batuhan - 23.01.2023 22:32

how do i use the database you use

Ответить
KULDEEP RAJPUROHIT
KULDEEP RAJPUROHIT - 17.01.2023 20:20

Why model folder is not created while connecting to server database

Ответить
Semir Yonis
Semir Yonis - 24.12.2022 07:13

This is excellent. Thank you.

Ответить
Twyyre
Twyyre - 26.11.2022 19:46

how to create an edit function that edits table columns. You only create, delete, and retrieve columns.

Ответить
VIMLESH SHARMA
VIMLESH SHARMA - 29.09.2022 18:27

Thank you so much👍

Ответить
Pooja Swain
Pooja Swain - 25.09.2022 11:12

can you provide database part sir

Ответить
Natali F
Natali F - 16.09.2022 01:50

I started to create my own web api using your videos. Helps a lot. Thank you for your work🙏🧡

Ответить
Pooja Swain
Pooja Swain - 08.09.2022 09:24

Sir plz database part provide

Ответить
Vijay Kumar
Vijay Kumar - 16.06.2022 18:04

Waiting for it from 2 hours. pls make a complete series on it.

Ответить