Total Classes=12 Duration:- 2 Hour per Class
Day-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
Day-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
Day-3. Controllers and Routing
- Creating controllers and actions
- Attribute routing vs. convention-based routing
- Working with route parameters and query strings
Day-4. Models and Data Handling
- Creating models and DTOs
- Model binding and validation
- JSON serialization and deserialization
Day-5. Dependency Injection & Middleware
- Built-in dependency injection in .NET Core
- Adding custom services
- Using middleware for request pipelines
Day-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
Day-7. Security and Authentication
- Introduction to API security
- JWT authentication and role-based authorization
- Using Identity in Web API
Day-8. Error Handling & Logging
- Exception handling best practices
- Custom error responses
- Implementing logging with Serilog/NLog
Day-9. Advanced API Features
- API versioning
- CORS (Cross-Origin Resource Sharing)
- Rate limiting and throttling
Day-10. Testing and Documentation
- Testing APIs with Postman
- Unit testing with xUnit
- Swagger/OpenAPI for documentation
Day-11. Deployment & Hosting
- Hosting APIs on IIS
- Publishing to Azure App Services
- Dockerizing .NET Core Web API
Day-12. Mini Projects
- Employee Management API
- E-Commerce Product Catalog API
- Task Management API