ASP.NET Core Web APIs from Scratch Online Course

ASP.NET Core Web APIs from Scratch Online Course

ASP.NET Core Web APIs from Scratch Online Course

This course provides a step-by-step introduction to building RESTful services with ASP.NET Web API. You’ll learn the Web API request workflow, HTTP status codes, and API controller concepts, including controllers, attributes, return types, and operations. Through hands-on practice, you’ll build a RESTful API from scratch in ASP.NET Core, gaining the skills to design, implement, and apply Web API concepts with confidence. By the end, you’ll be able to develop and deploy your own RESTful applications effectively.

Who should take this Course?

The ASP.NET Core Web APIs from Scratch Online Course is ideal for beginner to intermediate developers, software engineers, and IT professionals who want to learn how to design, build, and deploy RESTful APIs using ASP.NET Core. It is also suitable for students and aspiring full-stack developers looking to strengthen their backend development skills and gain hands-on experience in creating secure, scalable, and production-ready web APIs.

What you will learn

  • Build web API operations such as GET, POST, PUT, and DELETE for collections
  • Know how to improve your ASP .NET MVC Web API project using AutoMapper
  • Learn to add validations for the models
  • Learn to create a new web API project from scratch
  • Master API controller concepts such as controllers and attributes
  • Implement association APIs using GET and POST

Course Outline

Introduction

  • Welcome and about the Course
  • Course Overview

Getting Started

  • Introduction
  • Overview of Web API Request Workflow
  • Overview of Web API Operations
  • Overview of HTTP Status Code
  • Overview of CMS OpenAPI Document
  • Step 1: Create a New Web API Project
  • Different Parts of a Web API Project
  • Summary

A Closer Look at API Controllers

  • Introduction
  • What are Controllers?
  • What are Attributes?
  • Significance of ApiController Attribute
  • Summary

Implementing Collection APIs

  • Introduction
  • STEP 2: Add a New Controller
  • STEP 3: Add Actions to the Controller
  • STEP 4: Add Data Models to the Project
  • STEP 5: Add Database Repository
  • STEP 6: Use Database Repository
  • STEP 7: Implement GET Operation to Fetch All Items
  • Summary

A Closer Look at Return Types

  • Introduction
  • Approach 1: Using the Type Directly
  • Approach 2: Using IActionResult
  • Approach 3: Using ActionResult<T>
  • Difference Between IActionResult and ActionResult<T>
  • Returning the Results Asynchronously
  • STEP 8: Update GET Operation to Use ActionResult<T>
  • Summary

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

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

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

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

Reviews

No reviews yet. Be the first to review!

Write a review

Note: HTML is not translated!
Bad           Good

Tags: ASP.NET Core Web APIs from Scratch Online Course, ASP.NET Core Web APIs Training, ASP.NET Core Web APIs Free Course, ASP.NET Core Web APIs Questions, ASP.NET Core Web APIs Test,