Advanced Techniques and Best Practices
Level 3 – Advanced (C# programming course)
Recorded Training held last June 2024
Who is this course for?
- SHS Students and Recent Graduates
- Individuals Seeking Career Transitions
- Freelancers and Junior devs with basic c# programming language knowledge
Why choose this course?
- To understand more about ASP NET CORE and Web API
- Gain more knowledge about c# dot NET
Final Project
- Develop a full-fledged application combining ASP.NET Core MVC and Web API
- Implement advanced features like authentication, error handling, and logging
- Deploy the application to a cloud service or on-premises server
Course Outline
Day 1: Introduction to ASP.NET Core
- Overview of ASP.NET Core
- What is ASP.NET Core?
- Key features and benefits
- .NET 6 and .NET 7 overview
- Setting Up the Development Environment
- Installing .NET SDK
- Setting up Visual Studio/Visual Studio Code
- Creating your first ASP.NET Core project
- Project Structure and Configuration
- Understanding the project structure
- Configuration files (appsettings.json, launchSettings.json)
- Dependency injection basics
- Building a Basic Web Application
- Creating controllers and actions
- Routing and URL patterns
- Serving static files and content
- Hands-On Lab
- Build and run a basic ASP.NET Core application
- Implement simple routing and static file serving
Day 2: Deep Dive into ASP.NET Core MVC
- MVC Architecture Overview
- Model-View-Controller pattern
- Role of each component in MVC
- Models and Data Binding
- Creating models
- Data annotations and validation
- Model binding and validation in controllers
- Views and Razor Syntax
- Introduction to Razor syntax
- Creating and using views
- Layouts, partial views, and view components
- Controllers and Actions
- Action methods and parameters
- Returning different action results
- TempData, ViewData, and ViewBag
- Hands-On Lab
- Create a simple MVC application with data binding and validation
- Implement Razor views and layout pages
Day 3: Building RESTful APIs with ASP.NET Core Web API
- Introduction to Web API
- What is Web API?
- REST principles and HTTP methods
- Creating a Web API Project
- Setting up a Web API project
- Creating controllers and action methods for API
- Attribute routing and conventions
- Working with Data
- Entity Framework Core overview
- Setting up DbContext and data models
- CRUD operations with EF Core
- Handling Requests and Responses
- Content negotiation
- Serialization and deserialization
- Using ActionResult and IActionResult
- Hands-On Lab
- Build a Web API with CRUD operations using Entity Framework Core
- Test the API using tools like Postman
Day 4: Advanced Topics and Best Practices
- Authentication and Authorization
- Introduction to ASP.NET Core Identity
- JWT authentication
- Role-based and policy-based authorization
- Error Handling and Logging
- Exception handling middleware
- Custom error pages
- Logging with ILogger and third-party providers
- Versioning and Documentation
- API versioning strategies
- Using Swagger for API documentation
- Creating API documentation with Swashbuckle
- Testing and Deployment
- Unit testing controllers and services
- Integration testing Web API
- Deployment options and strategies (Azure, Docker, IIS)
- Hands-On Lab
- Implement JWT authentication and role-based authorization
- Configure Swagger for API documentation
- Write unit and integration tests for Web API
Learn now
₱500.00
✅ Digital Badge
✅ Video Recording of All Live Sessions
✅ Learning materials from our trainer
Simeon “Jok” has 20 years of experience in the IT industry as an Azure DevOps Engineer, Web and Mobile Developer. He is a seasoned Senior full-stack developer in the information technology and services sector, proficient in Microsoft .NET Technology and Hybrid Mobile Development.