Instagram

ASP .NET Core WebAPI

CL/CRS/FWD0001

Full Stack Web Development with HTML, CSS, JavaScript, C#, SQL Server, ASP.NET Core WebAPI and Blazor.

ASP .NET Core WebAPI

 

ASP.NET Core Web API is a framework for building RESTful HTTP services using the ASP.NET Core platform. It provides a robust set of features for building APIs, including support for model binding and validation, HTTP caching, and data management.

ASP.NET Core Web API is designed to be fast, flexible, and modular, and it can be hosted on a variety of platforms, including Windows, Linux, and macOS. It is also designed to be cross-platform, so developers can build and deploy applications on any operating system.

  1. Introduction to ASP.NET Core
  • Overview of ASP.NET Core
  • Why use ASP.NET Core
  • Setting up development environment
  1. Web API Fundamentals
  • RESTful services
  • HTTP Verbs (GET, POST, PUT, DELETE)
  • Routing (attribute routing, conventional routing)
  • Content Negotiation (JSON, XML)
  1. NET Core Web API
  • Creating Web API project
  • Configuring services and middleware
  • Understanding Startup class
  • Controllers and actions
  • Action results and HTTP status codes
  • Action parameters (query string, request body)
  • Models and Model Binding
  • Data annotations
  • Model validation
  1. Data Access
  • Entity Framework Core
  • Overview of Entity Framework Core
  • Code-First and Database-First approaches
  • LINQ and Lambda expressions
  • Repository patterns
  • Connecting to SQL Server database 
  1. Token Authentication and Authorization using JWT token
  • Understanding JWT token
  • Structure of a JWT token
  • Encoding and decoding JWT tokens
  • Implementing token-based authentication in ASP.NET Core Web API
  • Registering authentication middleware
  • Creating login endpoint
  • Protecting API endpoints
  • Implementing role-based authorization
  • Assigning roles to users
  • Checking user’s role in API endpoints
  1. Exception Handling and Logging
  • Exception handling middleware
  • Understanding global exception handling
  • Creating custom exception handling middleware
  • Logging with NLog
  • Setting up logging in ASP.NET Core Web API
  • Understanding different logging levels (debug, info, warning, error)
  1. Deployment
  • Deploying ASP.NET Core Web API to various hosting options (e.g. IIS, Azure etc.)
  • Understanding deployment options
  • Deploying to IIS
  • Deploying to Azure
  1. Swagger and OpenAPI
  • Understanding Swagger and OpenAPI
  • Setting up Swagger in ASP.NET Core Web API
  • Documenting API endpoints 
  1. Performance Optimization
  • Understanding performance optimization in ASP.NET Core Web API
  • Caching and response compression
  • Optimizing data access and database queries

<==Back To Main Page