ASP.Net Core Web API

₹9000/-₹6000/-

No Prerequisites required.

Introduction to APIs – Foundation of REST & Web API

Key Topics Covered

  • Client–Server Architecture
  • Types of APIs (Public, Private, Partner)
  • API Communication Styles (REST, SOAP, GraphQL, gRPC, OData)
  • Requests & Responses (Path, Query, Body)
  • JSON & HTTP Status Codes

Hands-On Lab / Demo

Build a simple Public REST API

REST Architecture, API Evolution & Core Constraints

Key Topics Covered

  • What is REST
  • Why REST
  • REST Constraints (Client–Server, Resources, Representations, Statelessness, Uniform Interface, Cacheability, Layered System)

Hands-On Lab / Demo

REST vs Non-REST comparison demo

ASP.NET Core Web API – Project Structure & Pipeline

Key Topics Covered

  • Web API project structure
  • Enterprise folder patterns
  • Middleware pipeline
  • Controllers
  • Controller vs ControllerBase
  • [ApiController] benefits

Hands-On Lab / Demo

Create Web API project & walkthrough

Web API Controllers & Routing Behavior

Key Topics Covered

  • [ApiController] features
  • automatic validation
  • attribute routing
  • action selection
  • routing conflicts

Hands-On Lab / Demo

CRUD APIs (GET, POST, GET by Id/Name)

Routing Types & Advanced Routing

Key Topics Covered

  • Attribute vs conventional routing
  • route parameters
  • optional/default values
  • route constraints (int, alpha, length, regex, guid, decimal)

Hands-On Lab / Demo

Advanced routing & constraint demos

HTTP Methods & Web API Operations

Key Topics Covered

  • HTTP methods (GET, POST, PUT, DELETE, PATCH)
  • safe vs unsafe
  • idempotent vs non-idempotent
  • HEAD & OPTIONS

Hands-On Lab / Demo

CRUD operations with idempotency checks

Model Binding, DTOs & Validation

Key Topics Covered

  • Model binding sources ([FromRoute], [FromBody], [FromQuery], [FromHeader])
  • DTOs vs entities
  • validation pipeline

Hands-On Lab / Demo

Orders API with all binding types

HTTP Status Codes & API Responses

Key Topics Covered

  • Status code categories (2xx, 4xx, 5xx)
  • 200
  • 201
  • 204
  • 400
  • 404
  • 409
  • 500
  • real-world usage

Hands-On Lab / Demo

Status-code-driven API responses

Serialization & Deserialization

Key Topics Covered

  • Serialization vs deserialization
  • automatic JSON handling
  • System.Text.Json vs Newtonsoft.Json
  • manual serialization scenarios

Hands-On Lab / Demo

POST API with manual JSON handling

Content Negotiation & Formatters

Key Topics Covered

  • Media types
  • Content-Type & Accept headers
  • JSON & XML formatters
  • content negotiation process

Hands-On Lab / Demo

JSON ↔ XML response switching

Swagger, OpenAPI & Postman (.NET 9)

Key Topics Covered

  • Swagger overview
  • Postman testing
  • OpenAPI concepts
  • modern API documentation workflow

Hands-On Lab / Demo

Load OpenAPI spec into Postman

Dependency Injection in Web API (Services & Lifetimes)

Key Topics Covered

  • Introduction to DI
  • benefits of decoupling & testability
  • service lifetimes (Singleton, Scoped, Transient)
  • real request-based lifetime behavior

Hands-On Lab / Demo

Live demo showing lifetime differences across requests

Repository Pattern for Web API

Key Topics Covered

  • Repository pattern concept
  • clean controller design
  • IRepository & Repository structure
  • Service layer (optional)
  • DbContext lifetime (Scoped)
  • DI request lifecycle

Hands-On Lab / Demo

Build Repository → Service → Controller flow

Applying DI Lifetimes in Real-World Apps|

Key Topics Covered

  • Choosing lifetimes correctly
  • Transient for utilities
  • Singleton for shared configuration/cache services
  • lifetime rules & best practices

Hands-On Lab / Demo

TaxCalculationService (Transient) & Settings service (Singleton) demos

EF Core Integration & CRUD Operations

Key Topics Covered

  • EF Core overview
  • DbContext & DbSet
  • POST/PUT/DELETE APIs
  • clean architecture flow
  • basic error handling

Hands-On Lab / Demo

Full CRUD API with EF Core & Postman testing

Paging, Sorting & Filtering in APIs

Key Topics Covered

  • Filtering with query params & LINQ
  • sorting (ASC/DESC)
  • pagination using Skip/Take
  • edge cases

Hands-On Lab / Demo

Build final GET API with filter + sort + pagination

AutoMapper for APIs (Entity ⇆ DTO)

Key Topics Covered

  • DTO importance
  • request vs response DTOs
  • AutoMapper concepts
  • manual vs auto mapping
  • performance considerations

Hands-On Lab / Demo

AutoMapper configuration & DTO-based APIs

N-Tier Architecture for Web APIs

Key Topics Covered

  • Layered architecture concept
  • API/Application/Domain/Infrastructure layers
  • moving from simple repo to full architecture

Hands-On Lab / Demo

Refactor existing API into N-Tier structure

Asynchronous APIs & Performance

Key Topics Covered

  • Why async is needed
  • thread blocking issues
  • async/await behavior
  • TAP model
  • scalability concepts

Hands-On Lab / Demo

Convert sync APIs to async & observe behavior

File Upload & Download in Web APIs

Key Topics Covered

  • IWebHostEnvironment
  • IFormFile
  • multipart/form-data
  • file validation
  • upload & download strategies

Hands-On Lab / Demo

File upload & download APIs using FileStream

Rate Limiting in ASP.NET Core Web API

Key Topics Covered

  • What is rate limiting
  • why APIs need limits
  • real-world use cases (login, OTP, banking APIs)
  • IP vs client-based limiting
  • time windows & thresholds
  • HTTP 429 handling
  • best practices for secure APIs

Hands-On Lab / Demo

Configure rate limiting using NuGet, appsettings.json, middleware & test controller

JWT Authentication in ASP.NET Core Web APIs

Key Topics Covered

  • Authentication vs authorization
  • JWT structure (Header/Payload/Signature)
  • JWT real-world usage
  • appsettings JWT configuration
  • issuer/audience/secret key
  • token expiration & claims

Hands-On Lab / Demo

Implement JWT authentication, create login API, generate token & test via Postman

OAuth 2.0 Authentication in ASP.NET Core Web API

Key Topics Covered

  • OAuth 2.0 & OpenID Connect concepts
  • roles & authorization flow
  • access token vs ID token
  • Google OAuth endpoints
  • scopes & token decoding

Hands-On Lab / Demo

Google OAuth setup, app registration, OAuth login flow & JWT generation

Role & Policy-Based Authorization (JWT)

Key Topics Covered

  • JWT recap
  • claims vs roles vs policies
  • adding role claims in JWT
  • defining policies
  • role-based vs policy-based authorization

Hands-On Lab / Demo

Secure APIs using [Authorize], Admin vs User access demo

CORS in Web APIs (Cross-Origin Resource Sharing)

Key Topics Covered

  • Same-Origin Policy
  • understanding CORS errors
  • enabling CORS policies
  • AllowAnyOrigin / Method / Credentials
  • security implications

Hands-On Lab / Demo

Enable & test CORS using external HTML client

Global Exception Middleware in ASP.NET Core

Key Topics Covered

  • Exceptions vs errors
  • expected API scenarios (400, 409)
  • drawbacks of try/catch in controllers
  • middleware-based global handling
  • RequestDelegate & pipeline flow

Hands-On Lab / Demo

Build global exception middleware & test standardized error responses

Input Validation using FluentValidation

Key Topics Covered

  • Why validation doesn’t belong in controllers
  • FluentValidation basics
  • FluentValidationAutoValidation
  • request pipeline behavior
  • rule-based validation & custom messages

Hands-On Lab / Demo

Implement FluentValidation with real API request validation

Introduction to Minimal APIs

Key Topics Covered

  • Motivation & evolution of Minimal APIs
  • Controllers vs Minimal APIs
  • Program.cs-only API model
  • characteristics of Minimal APIs
  • safe and recommended use cases
  • scenarios where Minimal APIs should be avoided

Hands-On Lab / Demo

Build a Minimal API using in-memory data with Program.cs only

Parameter Binding & Request Handling in Minimal APIs

Key Topics Covered

  • Lambda handlers (MapGet, MapPost, MapPut, MapDelete)
  • request lifecycle in Minimal APIs
  • convention-based parameter binding
  • route, query, header & body parameters

Hands-On Lab / Demo

Implement endpoints with multiple parameter binding types

Dependency Injection in Minimal APIs

Key Topics Covered

  • DI fundamentals recap
  • Controllers vs Minimal APIs DI model
  • registering services (Singleton/Scoped/Transient)
  • injecting services into lambda handlers
  • using built-in services (ILogger, IConfiguration)

Hands-On Lab / Demo

Register services and inject dependencies into Minimal API endpoints

Odata in ASP.NET Core

Key Topics Covered

  • Introduction & Problem Statement (challenges with traditional/minimal APIs, multiple endpoints, maintenance issues)
  • Introduction to OData (one endpoint per entity, OData query options)
  • Core OData Concepts (request flow, EDM, metadata, key components)
  • Hands-On Demo (Product model, EDM with ODataConventionModelBuilder, configuring OData, single endpoint, IQueryable)
  • Live Query Demo (get all, filter, sort, paging, field selection, combine queries)

Introduction to GraphQL

Key Topics Covered

  • Introduction to GraphQL and problem statement (over-fetching and under-fetching in REST)
  • Core GraphQL concepts (Schema, Types, Queries, Mutations)
  • Setting up GraphQL in ASP.NET Core
  • Building GraphQL schema for Product and Order
  • Single endpoint with multiple entities
  • Live demo of querying multiple entities in one request
  • Error handling and performance basics

gRPC basics

Key Topics Covered

  • Introduction to gRPC and use cases
  • Protocol Buffers (proto files) basics
  • Unary vs Streaming calls
  • Creating gRPC service in ASP.NET Core
  • Defining messages and services
  • Client-server communication demo
  • Performance comparison with REST

REST vs Minimal APIs vs OData vs GraphQL vs gRPC

Key Topics Covered

  • REST vs Minimal APIs vs OData vs GraphQL vs gRPC
  • Architectural differences
  • Performance comparison
  • Payload size and network efficiency
  • Use-case driven selection
  • When to use which API style in real-world systems
  • Designing hybrid API strategies

Payment options include:

UPI / GPay
Bank Transfer
Payment details will be shared after registration confirmation to ensure secure and smooth processing.

The website contact form, or

Email: contactdotnetgurukul@gmail.com

WhatsApp: +91 9000366774

You will receive complete information regarding:

Course access

Pricing

Payment options

For any issues related to payment or course access, you may reach out through the email or WhatsApp contact channels mentioned on the website.

The course can be accessed on the following devices:

Mobile

Tablet

Laptop / Desktop

A stable internet connection is recommended for a smooth learning experience.

Course Details
  ASP.Net Core Web API
  Total Video Duration:30+ hours of recorded content mins
  Video Access Duration:6 months
Faculty Details
  NAME:Praveen Kumar Manda
  SUBJECT:ASP.Net Core Web API
  EXPERIENCE:18 Year
  EMAIL:praveen.camp@gmail.com
  WHATSAPP NO:9000366774

Share this Course on Social Media:

Do You Have Questions ?

We'll help you to grow your career and growth.
Contact Us Today