Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
ASPNET Web API

ASPNET Web API

ASP NET Web API - Routing, Model Binding, Web API Security - OAuth 2 Code Flows, Client Credentials, Auth Code, JWT
Created byArunprakash PV
Last updated 7/2025
English

What you'll learn

  • Gain knowledge of ASP Net Core Web api concepts
  • Practical implemention of security in Core Web api
  • Understand and implement create and manipulate database using dbcontext in core web api
  • Get expert knowledge of authorization roles and policies in web api and handling middlewares in aspnet core

Course content

3 sections11 lectures6h 12m total length
  • ASP NET Core Web API Introduction3:57

    This Lecture session tells about the introduction of ASP NET Web API and TOC contents of the entire Web API sessions

  • Creating ASP NET Core Web API Application41:09

    This lecture shows demo of creating ASP NET Web API in a NET Framework and in a ASP NET Core.

    Also in this session, it gives a practical demo on creating ASP NET Web API in NET Framework and ASPNET Core using Visual Studio.

    This session also discusses about how to connect SQL Server Data in a ASPNET Core Web API

  • Testing ASPNET Core Web API8:42

    This session explains about how to test ASPNET Web API in ASPNET Core.

    Testing of ASPNET Web API is done through opening source testings tools such as Swagger, Fiddler, and Postman

  • Custom Services and Consume Core Web API38:22

    This session explains about creating custom services in web api to connect sql server through dbcontext while controller action methods handle crud operations by invoking service.

    How to consume Web API from a razor page

  • Consume Core Web API using jQuery and Cross Domain Access38:47

    This session explains about consuming Web API using jQuery from client-scripting.

    Practical demo shown on how an action method of a controller can be consumed by mapping to a  Razor view page

    How all CRUD operations of  GET, POST, PUT, DELETE has been done from a razor view page to the controller's actions methods

    Explains the concept of Cross-Domain access of Web API service from a web page of another domain.

    How CORS blockage of api service access to different domain clients has been removed

    Usage of CORS policy in Core Web API, giving CORS permission to single client and multiple clients

    Explains the sharing of actions methods to multiple clients using CORS and defining CORS permission of  specific actions me1hods for specific clients  only


Requirements

  • Students should have basic understanding of REST Api services

Description

This course contain concepts explanation and practical demo which implements realtime scenario-based solutions.

The course discusses about the concepts of Web API Basics, Routing and Attribute Routing, Web API Security

Shows Demo on ASPNET Web API in NET Framework and Core Web API

Shows demo in core web api about implementing DataContext to connect SQL Server database

Shows demo on Controllers Action methods and Viewing in a Razor View

Explains Action methods in controller with GET, POST, PUT, DELETE http method types

Testing Web API Service using testing tools such as Swagger, Fiddler, and Postman

Explains about the Attribute Routing and Model Binding

Explains custom methods names, and model binding in parameter using [From Route], [From Query], [From Header], [From Body], [From Form]

Explains consuming web api service in a razor pages

Shows how to implement dependency injection of various services registered and configured in services collection in startup file in core web api

Shows demo on Consuming API Service in a jQuery and Calling API Service from Cross Domain client app

Configuring in Core Web API for registering custom services, Data Context, CORS policy, Razor Pages and Mapping Razor pages

Attribute Routing and Route Constraints in Web API

Optional Parameters in Attribute Routing

Explains Route names and Route Orders in Web API

Security in Web API - Implemented Practical demo on Basic Authentication,  OAuth 2  Code Flows (Client Credentials, Authorization Code Flow), JWT, and JWT in Microservices communication

Enable SSL in visual studio development server and Implement HTTPS in Web API


Who this course is for:

  • A student plans to gain expert knowledge in the concepts of aspnet core web api and practical implemention in realtime scenarios