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.
- Introduction to ASP.NET Core
- Overview of ASP.NET Core
- Why use ASP.NET Core
- Setting up development environment
- Web API Fundamentals
- RESTful services
- HTTP Verbs (GET, POST, PUT, DELETE)
- Routing (attribute routing, conventional routing)
- Content Negotiation (JSON, XML)
- 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
- 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
- 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
- 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)
- 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
- Swagger and OpenAPI
- Understanding Swagger and OpenAPI
- Setting up Swagger in ASP.NET Core Web API
- Documenting API endpoints
- Performance Optimization
- Understanding performance optimization in ASP.NET Core Web API
- Caching and response compression
- Optimizing data access and database queries