Asp.Net Core tutorial for absolute beginners (8): Working with nested resources

preview_player
Показать описание
In this lesson we'll go into the concept of nested resources to find out what this actually means, why they are useful and how to implement REST compliant endpoints for them.
#AspNetCore #DotNetCore #CSharp

Рекомендации по теме
Комментарии
Автор

Great class. Looking forward for the upcoming sessions.

vinyasanallamaddireddy
Автор

What is a convention about what parameters go to url and what goes into body? 1:10:53
Is it good to nest so many parameters into url:

OR /getEmployee and have body like this:
{
companyId,
departmentId
}

lowzyyy
Автор

Nested resources are really necessary when we are dealing with CRUD nature applications? In your context if you go without nested resources it would be just fine.
I think the "best" approach to go down this road is when we start using aggregates and then we construct our endpoints with nested resources following the aggregate root and their objects associated.
What are your thoughts about? Do you agree or not?

haraheiquedossantos
Автор

Hi, i want to create web applications like workflow where is on request is processed by multiple users can u help with tutorials for this

عبدالمجيدالعتيبي-زع
Автор

UpdateRoom method seems wrong, by your code everyone can change hotelId of every room

tauke
join shbcf.ru