Implementing post method in ASP NET Web API

preview_player
Показать описание
Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

Slides

All Dot Net and SQL Server Tutorials

All ASP.NET Web API Text Articles and Slides
Рекомендации по теме
Комментарии
Автор

some time i don't understand why some other unnecessary videos like jokes etc make 10 20 50M views while after very hard work this kind of post does not make even 0.5M views. Always awesome job done by venkat sir.

RaJaiswal_RJ
Автор

I saw Video again and now I got it. We're passing entity to return. Thanks a lot for creating such demos which makes understanding so easy.

RaviGupta
Автор

you are like a blessing to all the IT employees

AlokSingh-vhbl
Автор

Thank you for the tutorials. I've found each one to be very informative. I was hoping you could post something to help resolve an error I'm receiving when trying to update the Get method to return the correct error code. Specifically, I'm getting the following: "Cannot implicitly convert type to [DataAccess.MyModel]". Thanks again! Your videos have helped me tremendously.

leonardacquaye
Автор

just found your channel.
I really love it!

tmcode
Автор

its really good about how you modify the code and evolve it to more appropriate and perfected code

itspreethisworld
Автор

Great video. Today I properly understood how this works in terms of C#. Can you help me understand what happens when you send the same request for the existing user?
Or
If you send an update to the salary of the user?

dhirajin
Автор

Very good video. I have learnt a lot. Thank you sir..

aniruddhabasak
Автор

You are great!!! Thanks for your beautiful tutorials!!!

davidemarzorati
Автор

You don't need to have [frombody] in posts, only if you send simple types(string, int) and not objects. Will kudvenkat make a followup course for webapi 2? It has some nice shortcuts like return BadRequest();

terjes
Автор

Thank you for your posts. Appreciate it.
I have a doubt in Get Verb with ID.

The final mentioned return type is HTTPResponseMessage and thus we are able to return correct header response, but then how are we getting the employee details even when return type is changed. Please tell us the concept behind it.

Thanks.

RaviGupta
Автор

Thank you for all tutorials..
sir what I have to do if I want to POST data for one-to-many relationship.

manishjadhav
Автор

Sir, am getting error(HTTP/1.1 502 Fiddler - Connection Failed) while calling post method.
Could you please help me to fix the issue?

arthisr
Автор

Again great explanation..Thank you so much sir...

kavithavishwanathen
Автор

Awesome! Much better than PlualSight!

hshlom
Автор

Thanks for this video sir, I have one doubt that why did you use "Var" datatype instead of "Employee" datatype in following code line of get method:-
var entity = => e.ID == id);

vikassingla
Автор

Thank you for the wonderful series. Can you please upload some videos .NET Core 5 (.NET 5) and .NET Core Web API? Appreciate your content.

kanhamunjal
Автор

Congratulation Your tutorial are very good. How can I get the last Id if I am using stored procedure for inserting?

norcedesign
Автор

hello sir, thanks for all the tutorials. I want to post data into table but I have two foreign keys in the table in which I want to insert data. I tried a lot but but not able to solve yet. how to solve this issue?

snehakothawade
Автор

Sorry, If it is a stupid question But want to understand that initially we didnt pass employee with ID in the POST request, Then how are we getting ID in the object which is referred in
var message = Request.CreateResponse(HttpStatusCode.Created, employee);

Shubhamify