Hands-On ASP.NET Core Web API - Build API from Scratch
Video description
Learn to build ASP.NET Web APIs with ease with the help of this course.
About This Video
Get an overview of web APIs in ASP .NET Core and learn about web API request workflow, HTTP status codes, and the different parts of a web API request
Understand web API operations such as GET, POST, PUT, and DELETE for collections as well as individual items
Build a new RESTful API for a case study through step-by-step instructions
In …
Hands-On ASP.NET Core Web API - Build API from Scratch
Video description
Learn to build ASP.NET Web APIs with ease with the help of this course.
About This Video
Get an overview of web APIs in ASP .NET Core and learn about web API request workflow, HTTP status codes, and the different parts of a web API request
Understand web API operations such as GET, POST, PUT, and DELETE for collections as well as individual items
Build a new RESTful API for a case study through step-by-step instructions
In Detail
ASP.NET Web API is an ideal platform for building RESTful services and building RESTful applications on .NET Framework. This course explains RESTful Web API request workflow, HTTP status codes, and different parts of a web API request. You will learn to master API Controller concepts that include what are controllers, attributes, and their significance in ASP.NET Web API development.
Some of the topics you will learn to include the following:
- An overview of web APIs in ASP.NET Core
- Web API request workflow
- HTTP status codes
- Mastering API controller
- Building a new RESTful API from scratch
- Learn API return types
- Understand web API operations
This course will provide significant knowledge of implementing API for your next RESTful API-related project. You will be certain to use the building concepts with ease by following a step-by-step approach. You will be confident to instantly apply the ASP.NET Web API tips covered in the course.
By the end of the course, you will know how to create a web API project in ASP.NET Core from scratch.
Audience
This course is for backend web developers who work with APIs by either consuming or exposing APIs and for software architects who want to apply the API concepts to scale and enhance distributed computing in their projects.
Basic knowledge of designing a RESTful API, ASP.NET Core, and ASP.NET Core MVC is expected.
STEP 7: Implement GET Operation to Fetch All Items
Summary
Chapter 5 : A Closer Look at Return Types
Introduction
Approach 1: Using the Type Directly
Approach 2: Using IActionResult
Approach 3: Using ActionResult
Difference Between IActionResult and ActionResult
Returning the Results Asynchronously
STEP 8: Update GET Operation to Use ActionResult
Summary
Chapter 6 : Improving Your Web API Project
Introduction
STEP 9: Use AutoMapper to Map Data and DTOs
STEP 10: Implement POST Operation to Add a New Item
STEP 11: Add Validation to Models
Summary
Chapter 7 : Implementing Individual Item APIs
Introduction
STEP 12: Implement GET Operation to Fetch a Single Item
STEP 13: Implement PUT Operation to Update an Existing Item
STEP 14: Implement DELETE Operation to Delete an Existing Item
Summary
Chapter 8 : Implementing Association APIs
Introduction
What are Association APIs?
STEP 15: Implement GET Operation to Fetch All Sub-Items
STEP 16: Implement POST Operation to Add a New Association
Summary
Chapter 9 : Versioning Your Web API
Introduction
Understanding API Versioning
Different Ways of Versioning Web APIs
Step 17: Add API Versioning Service
Step 18: Add Version to Controllers
Step 19: Add Version to Actions
Query Versus URL Versus Header Versioning
Step 20: Add Support for Multiple Versioning Ways
Summary
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept