Post in ASP NET Core REST API

preview_player
Показать описание
How to create a new item, i.e implement http post in ASP.NET Core REST API

Text Article and Slides

Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.

Blazor tutorial for beginners

Blazor Blog

Angular, JavaScript, jQuery, Dot Net & SQL Playlists

Let's gift education together
Рекомендации по теме
Комментарии
Автор

Thank u dear venkat and please keep your self and Pragim safe from the pandemic....Your Student from Ethiopia.

jobiraw
Автор

Thank you for given us these valueable information

Rieske
Автор

kuduvenkat Many thanks and waiting for next slide

polachanpaily
Автор

Hey man, great video,

Quick question if you have a second, what would be the best way to allow this to accept multiple employees in 1 POST?

IdRatherBePiping
Автор

wow thx for this video, what do we do when we try to post an object wich contains an object?

Defense
Автор

Hi venkat.. thank for the video.. may i know if we can do this to 2 table? i mean during teh httppot save method, how can we save to 2 different repository because the we are having to related table.

cudid
Автор

Quick question: At 6:50 we can see the code. I have added comments to this code. Is this correct?

try
{
if(employee == null)
{
return BadRequest();
}

// Shouldn't there be an else statement here?

var createdEmployee = await

return CreatedAtAction()

//ending here?
}

nmarks
Автор

Found that when I used postman to test the post method, data binding to the employee object doesn't occur, please assist

JJTtWw
Автор

what is the point of using an anonymous object? why we can't just use createdEmployee.employeeId?

AbdelRahmanSeyamEg
Автор

there's a typo in both Employee.cs and the postman JSON : dateOfBrith should be dateOfBirth, that's the only flaw of the entire video series

leslie
Автор

{
"employeeId": 9,
"firstName": null,
"lastName": null,
"email": null,
"dateOfBirth": "0001-01-01T00:00:00",
"gender": 0,
"departmentId": 0,
"photoPath": null
}

conaxlearn
Автор

Sir, please learn us a CRUD Operation using Blazor....

muhammadabuzar