Duration: 5 days – 35 hrs
Overview
This .NET Core Training Course takes participants from foundational concepts to an intermediate level in developing secure, scalable web applications and Web APIs using ASP.NET Core. The course emphasizes practical, hands-on learning, focusing on building modern web applications and Web APIs that can be consumed by different clients, including web, mobile, and desktop applications.
Objectives
By the end of the course, participants will:
- Build modern web applications using ASP.NET Core MVC.
- Create and expose RESTful Web APIs using ASP.NET Core.
- Understand essential web development concepts like routing, data binding, and API security.
- Comprehend the lifecycle of a .NET Core application, including middleware configuration.
- Secure APIs using JWT authentication and configure CORS for cross-domain access.
- Deploy ASP.NET Core applications to Azure, IIS, or other hosting environments.
Target Audience
This course is designed for:
- Software Developers looking to enhance their skills in .NET Core.
- Web Developers focused on front-end and back-end web development.
- API Developers interested in creating and managing Web APIs.
- Technical Architects responsible for designing application architecture.
- DevOps Engineers involved in the deployment and operation of web applications.
- IT Professionals looking to expand their knowledge of modern web technologies.
- Students or Recent Graduates pursuing careers in software development.
Prerequisites
Participants should have:
- Basic knowledge of C# and object-oriented programming.
- Familiarity with HTML, CSS, and basic web development concepts.
- Experience using an IDE such as Visual Studio or Visual Studio Code.
Course Content
Day 1: Introduction to .NET Core and ASP.NET Core
- Introduction to .NET Core
- Overview of .NET Core and its cross-platform capabilities.
- Setting up the development environment (Visual Studio / Visual Studio Code).
- Understanding the .NET Core project structure.
- Building and running a basic .NET Core console application.
- ASP.NET Core Overview
- Introduction to ASP.NET Core and its advantages for web development.
- Overview of ASP.NET Core architecture and its components.
- Understanding the role of middleware and the request pipeline.
- Building a Basic ASP.NET Core MVC Application
- Introduction to Model-View-Controller (MVC) pattern.
- Creating a basic web application using ASP.NET Core MVC.
- Handling routing and action methods.
- Using the Razor view engine for dynamic content generation.
Day 2: Web Application Development with ASP.NET Core MVC
- Working with Models and Data Binding
- Defining and working with models in ASP.NET Core.
- Understanding data binding between views and models.
- Form handling and validation in MVC applications.
- Dependency Injection (DI) in ASP.NET Core
- Understanding dependency injection (DI) and its importance.
- Implementing dependency injection in ASP.NET Core applications.
- Working with Data Using Entity Framework Core (EF Core)
- Setting up EF Core for database access.
- Creating a database context and models.
- Performing CRUD (Create, Read, Update, Delete) operations using EF Core.
- Connecting an MVC application to a database.
Day 3: Building RESTful Web APIs with ASP.NET Core
- Introduction to REST and Web APIs
- Overview of RESTful Web APIs and their principles.
- Creating a basic Web API using ASP.NET Core.
- Understanding HTTP methods: GET, POST, PUT, DELETE.
- Building and Exposing Web APIs
- Creating and managing API routes.
- Handling HTTP requests and responses.
- Returning JSON from APIs and handling content negotiation.
- Securing Web APIs
- Implementing authentication and authorization in Web APIs using JWT (JSON Web Token).
- Securing endpoints with role-based and policy-based security.
- Configuring CORS (Cross-Origin Resource Sharing) for APIs.
Day 4: Intermediate Features of ASP.NET Core
- Middleware and Request Pipeline
- Deep dive into the ASP.NET Core request pipeline.
- Creating custom middleware to handle requests and responses.
- Error Handling and Logging
- Implementing global error handling in web applications and APIs.
- Using ASP.NET Core’s built-in logging framework to capture application events.
- Integrating structured logging tools like Serilog or NLog for production-level logging.
- Versioning and Testing Web APIs
- Implementing API versioning strategies to manage evolving APIs.
- Unit testing ASP.NET Core applications using XUnit and Moq.
Day 5: Advanced Features and Deployment
- Consuming Web APIs
- Consuming Web APIs using HttpClient in ASP.NET Core applications.
- Integrating Web APIs with client applications (web, mobile, or desktop).
- Deployment of ASP.NET Core Applications
- Publishing and deploying ASP.NET Core web applications and Web APIs to Azure, IIS, or other hosting environments.
- Understanding deployment configuration and environment settings.
- Introduction to Continuous Integration/Continuous Deployment (CI/CD) concepts.
- Final Project: Building a Full Web Application and Web API
- Participants will work on a final project to build a full ASP.NET Core web application connected with a Web API.
- Implementing best practices in routing, security, and database integration.
Learning Outcomes
By the end of the course, participants will be able to:
- Build scalable web applications using ASP.NET Core MVC.
- Create and expose RESTful Web APIs using ASP.NET Core.
- Secure Web APIs using industry-standard techniques such as JWT authentication.
- Deploy ASP.NET Core applications to production environments like Azure and IIS.
- Implement versioning, testing, and error handling in ASP.NET Core applications.
Final Notes
This course provides participants with the fundamental and intermediate knowledge needed to build, secure, and deploy modern web applications and Web APIs using ASP.NET Core, preparing them for real-world development tasks.


