Total Classes=12
Duration:- 2 Hour per Class
1. Introduction to Web APIs
-
What is an API?
-
RESTful architecture and principles
-
Understanding HTTP methods (GET, POST, PUT, DELETE)
-
Differences between Web API and WCF
2. Getting Started with .NET Core Web API
-
Setting up the development environment (Visual Studio / VS Code)
-
Creating the first Web API project
-
Project structure and key files explained
3. Controllers and Routing
-
Creating controllers and actions
-
Attribute routing vs. convention-based routing
-
Working with route parameters and query strings
4. Models and Data Handling
-
Creating models and DTOs
-
Model binding and validation
-
JSON serialization and deserialization
5. Dependency Injection & Middleware
-
Built-in dependency injection in .NET Core
-
Adding custom services
-
Using middleware for request pipelines
6. Data Access with Entity Framework Core
-
Connecting Web API with SQL Server
-
Performing CRUD operations with EF Core
-
Repository and Unit of Work patterns
7. Security and Authentication
-
Introduction to API security
-
JWT authentication and role-based authorization
-
Using Identity in Web API
8. Error Handling & Logging
-
Exception handling best practices
-
Custom error responses
-
Implementing logging with Serilog/NLog
9. Advanced API Features
-
API versioning
-
CORS (Cross-Origin Resource Sharing)
-
Rate limiting and throttling
10. Testing and Documentation
-
Testing APIs with Postman
-
Unit testing with xUnit
-
Swagger/OpenAPI for documentation
11. Deployment & Hosting
-
Hosting APIs on IIS
-
Publishing to Azure App Services
-
Dockerizing .NET Core Web API
12. Mini Projects
-
Employee Management API
-
E-Commerce Product Catalog API
-
Task Management API