Build Real-World Web Projects with ASP.NET 6.0 Online Course
Build Real-World Web Projects with ASP.NET 6.0 Online Course
This online course offers a step-by-step guide to mastering ASP.NET Core concepts through practical coding examples in Visual Studio 2019. You will start by creating a Razor app to-do list with an in-memory collection, then build the same app using MVC for comparison. The course also covers creating a Web API with Serilog for error logging and teaches CRUD operations in an ASP.NET Core 3.1 MVC application. Additionally, you will learn how to consume public APIs via an in-house MVC client. The course concludes with a section on building a Web API using ASP.NET 6.0 and EF Core, providing hands-on experience with modern technologies for database-driven applications.
Key Benefits
- Gain expertise in migrating applications from ASP.NET 3.1 to ASP.NET 6.0, enhancing performance and leveraging the latest features.
- Master the use of Razor Pages to efficiently generate dynamic responses, a powerful technology integral to ASP.NET web development.
- Develop a client-side MVC application within the same Visual Studio solution, enabling seamless integration with and consumption of the API created in previous sections of the course.
Target Audience
This course is designed for developers of all experience levels—beginner, intermediate, and senior—with at least one year of experience in C#, as well as software engineering students and professionals transitioning from Java or C++ to ASP.NET. A foundational understanding of SQL queries and database structures is recommended. Participants will need to have Visual Studio 2019 (Community Edition), .NET Core 3.1 SDK or later, and MS-SQL Server (Developer or Express Edition) with SQL Server Management Studio installed.
Learning Objectives
- Gain a comprehensive understanding of Razor Pages and MVC templates, and how to leverage them in ASP.NET Core development.
- Master model binding techniques in ASP.NET Core to streamline data handling and interaction.
- Explore the concepts of middleware and asynchronous programming, enhancing application performance and scalability.
- Learn to work with SQL Server database tables, efficiently managing data and implementing best practices for database interaction.
- Implement validation attributes in your customer class to ensure data integrity and enforce business rules.
- Understand the process of migrating applications to ASP.NET 6.0, including utilizing the Minimal Hosting Model for more efficient project setup and management.
Course Topics
The Build Real-World Web Projects with ASP.NET 6.0 Exam covers the following topics -
Module 1 - Introduction
- Overview of Course Title Change and Transition to ASP.NET 6.0
- Instructor Introduction
Module 2 - Exploring Your First ASP.NET Core 3.1 Application
- Understanding the Updated Project File Format
- The Program Class and Host Object Overview
- Configuring Services in the Startup Class
- Defining the Middleware Pipeline in the Startup Class
- How Razor Pages Generate Responses
Module 3 - Middleware in ASP.NET Core 3.1
- Introduction to Middleware
- Asynchronous Programming with a Console Application
- Using Request Delegate for Inline Middleware
- Creating Custom Middleware
- Exploring Middleware Behavior in Combination
Module 4 - In-Depth Analysis of Razor Pages and MVC Applications
- Building a ToDo List Application Using Razor Pages
- Developing a Complete MVC ToDo List Application
Module 5 - Model Binding in ASP.NET Core
- Introduction to Model Binding
- Integrating Microsoft GitHub Repository Sample Code
Module 6 - State Management in ASP.NET Core
- Managing State with Cookies
- Session State for Managing Data
- Using Query Strings for State Management
- Implementing Hidden Fields for State Management
Module 7 - Coding Project Part 1: Building a Web API
- Overview of Building and Consuming a Web API with ASP.NET Core and ADO.NET
- Creating a Web API
- Understanding SQL Server Database Tables and Stored Procedures for CRUD Operations
- Building the Customer and Order Model Classes
- Implementing the ICustomerRepository and IOrderRepository Interfaces
- Configuring Connection Strings in the appsettings.json File
- Implementing Error Logging and Integrating Serilog for Web API Logging
- Completing CRUD Methods for Customer and Order Repositories
- Registering Services in the Startup Class
- Creating Controllers for Home, Customer, and Order
Module 8 - Coding Project Part 2: Consuming the Web API in an ASP.NET Core 3.1 MVC Client
- Creating an ASP.NET Core MVC Project
- Inspecting the wwwroot Directory and Shared Folder
- Exploring Views, Controllers, and Models Folders
- Building Customer and Order Classes
- Editing the Layout File and Configuring the Startup Class
- Modifying the Home Controller
Module 9 - Bonus: Migrating the Project to ASP.NET 5
- Steps for Migrating the Web API/MVC Project to ASP.NET 5.0
Module 10 - ASP.NET 6.0 Migration
- Transitioning from ASP.NET Core 3.1 to ASP.NET 6.0
- Adopting the Minimal Hosting Model for ASP.NET 6.0 Migration
- Introduction to Hot Reload in ASP.NET 6.0
Module 11 - Building an ASP.NET 6.0 Web API Project Using Code-First EF Core Approach
- Guide to Creating an ASP.NET 6.0 Web API Using EF Core with the Code-First Approach