Setup GET Endpoints In ASP.NET Core API | Ultimate ASP.NET Web API Tutorial For Beginners

preview_player
Показать описание
A GET Endpoint is simple and used to fetch a resource on the server.

In this video we will discuss
1. How to implement GET Endpoints
2. How to create DTOs for security and efficiency
3. How to test GET requests using Postman


Chapters
0:00 Overview
4:50 Implement GET Request
31:36 Implement GET by ID Request
41:11 Coding Challenge Review

___________________________________________________________________

I am a Software Engineer and Instructor. I can provide professional development services or private code coaching sessions to help you to accomplish your professional or personal IT goals.

Check out my content on Social Media


Check out some free courses below:
Microsoft SQL Server 2017 for Everyone! - Database Development Course

PHP Bootstrap 4, Heroku and MySQL Course

PHP Development with Bootstrap, GitHub and Heroku

Modern PHP Web Development with MySQL, GitHub and Bootstrap 4

C# - Basics Uncovered

Enterprise C# Winforms Application Development

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

For anyone watching in the future: Upon testing my project prior to moving on @31:30 I would get an Internal Server Error. I added the exception to the return statement in the catch (inside CountryController), and it was an issue with AutoMapper "missing type map configuration or unsupported mapping." This was NOT the issue. I simply missed adding the 'await' in the line: var countries = await

Adding the await fixed me up.

conwaydante
Автор

I love the way you explained how to create endpoints and all of that. Thank you!!

somebody
Автор

Would it be better to implement the try/catch syntax in addition to the logging on the level of the UnitOfWork in I am not mapping my domain objects to DTO onbjects?

oussamaalghamian
Автор

Can you implement the same for update and delete?

Anandkumar-gwbs