Lesson 4: Getting Started with MVC Controllers and Return Types

preview_player
Показать описание
*Lesson 4: Getting Started with MVC Controllers and Return Types*

*Lesson Description*
In this lesson you learn to work with MVC controllers and return types. You see how to pass parameters to APIs, group APIs together, and generate API documentation.

*Content*
Lesson Objectives 00:00
DEMO: Add Entity and Classes 00:34
Where to Download Product Repository Class 02:15
DEMO: Add Product Controller to Return a List of Products 03:00
DEMO: Get a Single Product from the Product Controller 05:53
DEMO: Using the IActionResult Return Type for a List 07:44
DEMO: Using the IActionResult Return Type for a Single Product 12:19
DEMO: Alternatives to the StatusCode() Method 14:04
DEMO: Add Multiple Response Types to Action Methods 15:03
Use ActionResult<T>Generic for Returning Data 16:40
Lesson Summary 18:54

#mvc #webapi #passparameters #routes #controllers #returntypes #csharp #development #programming #dotnet #dotnetcore #dotnet6 #dotnet7 #dotnet8 #pauldsheriff #pluralsight #youtube

*Paul.About()*
Hello, my name is Paul D. Sheriff and I have a passion for teaching. I have been training developers for over 35 years through books, videos, article, blog posts, and international conferences and user groups.

*Paul.Contact()*
YouTube Channel: @pauldsheriff
Рекомендации по теме
join shbcf.ru