Packt
ASP.NET Core Razor Pages - The Complete Guide (.NET 6)

Saving $160 on access to 10,000+ programs is a holiday treat. Save now.

Packt

ASP.NET Core Razor Pages - The Complete Guide (.NET 6)

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Create dynamic web applications using ASP.NET Core Razor Pages with .NET 6.

  • Master CRUD operations and database management with .NET 6.

  • Implement advanced features like dependency injection, repositories, and unit of work.

  • Integrate third-party services like Stripe and manage user roles and authorization.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

November 2025

Assessments

16 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 14 modules in this course

In this module, we will introduce the key components of the course, including the necessary tools and technologies. You will get an overview of what to expect as we explore .NET Core, dependency injection, and Razor Pages. Additionally, we’ll set the stage by setting up your first project and covering the essentials like hot reload and routing.

What's included

15 videos1 reading1 assignment

In this module, we will dive into setting up the database for your application. You'll learn about nullable reference types in .NET 6, how to build the necessary models like the category model, and implement essential data annotations. We’ll also guide you through setting up your database connection and creating a database, ensuring a seamless integration between your application and the database.

What's included

7 videos1 assignment

In this module, we will explore the CRUD (Create, Read, Update, Delete) operations within Razor Pages. You will learn how to display, create, edit, and delete categories with smooth user interface integration. We'll cover essential validation techniques (both server-side and client-side), as well as advanced features like TempData and Toastr for effective feedback. Additionally, you'll discover how to scaffold CRUD pages to streamline development.

What's included

19 videos1 assignment

In this module, we will explore the implementation of N-Tier architecture, which promotes a clean separation of concerns in application design. You'll learn how to add multiple projects to your solution and organize data and model files. We will also guide you through structuring admin and customer pages, implementing a dropdown in the navbar, and completing a hands-on assignment focused on Food Type functionality.

What's included

7 videos1 assignment

In this module, we will focus on implementing the Repository Pattern, which helps in abstracting and managing data access operations. You will learn how to create and implement the IRepository interface and a specific repository for categories. We will also explore the Unit of Work pattern for handling transactions and demonstrate its use in real-world scenarios. A hands-on assignment will allow you to apply these concepts and review your progress.

What's included

9 videos1 assignment

In this module, we will dive into the creation and management of Menu Items within your application. You'll learn how to build the MenuItem model, create its corresponding table in the database, and integrate it into the UnitOfWork pattern. We'll cover the full CRUD functionality, including rich text editors, DataTables integration, and managing Edit and Delete operations with HTTP handlers and user alerts.

What's included

17 videos1 assignment

In this module, we will focus on the development of the home page and related functionality. You’ll learn how to implement a Get handler to populate the home page with dynamic data and display it effectively. We will also cover adding additional repository functionality, creating a detailed view page, and managing users to provide a personalized experience on your site.

What's included

5 videos1 assignment

In this module, we will explore identity management, focusing on user authentication and role-based authorization. You’ll learn how to scaffold identity, register the first user, and extend the default identity system to meet your needs. Additionally, we will guide you through assigning roles during user registration and creating users with varying roles to control access across the application.

What's included

6 videos1 assignment

In this module, we will walk through the implementation of a shopping cart system. You’ll learn how to create and manage the shopping cart model, integrate it into the repository, and handle the core cart functionalities like adding items, incrementing quantities, and removing/decrementing items. We’ll also cover order totals, routing for checkout, and provide a comprehensive UI to summarize the cart contents.

What's included

14 videos1 assignment

In this module, we will focus on the order submission process. You’ll learn how to create the Order Header and Order Details models to structure the order data. We’ll also guide you through building the repository, loading order summary data, applying validations, and adding the order to the database. By the end of this module, you’ll have the full functionality for managing and submitting orders, as well as performing final cleanup to ensure your project is ready for deployment.

What's included

10 videos1 assignment

In this module, we will guide you through the integration of Stripe for payment processing in your application. You’ll learn how to create and configure a Stripe account, handle API keys securely, and incorporate Stripe’s payment features into your pages. By the end of this module, you will have the skills to implement a full payment workflow, from setting up the checkout page to handling order confirmations.

What's included

8 videos1 assignment

In this module, we will focus on managing orders effectively within the system. You'll learn how to display and manage orders with DataTables, design an Order Details UI, and implement features to load, update, and track order statuses. We’ll cover practical functionalities such as toggling status displays, processing refunds, and filtering orders based on their status, enabling smooth order management from start to finish.

What's included

15 videos1 assignment

In this module, we will dive into several advanced topics to enhance the functionality and security of your application. You’ll learn how to manage user sessions, use view components for reusable logic, and send emails using both SMTP and SendGrid. Additionally, we’ll cover social login integrations (with Facebook), as well as securing both navigation and user registration processes to ensure data privacy and application security.

What's included

9 videos1 assignment

In this module, we will guide you through the process of deploying your application to Azure. You’ll learn how to seed the database with initial data, create a SQL database on Azure, and run migrations to set up the database in the cloud. Finally, we’ll cover the deployment process to get your application live and accessible to users.

What's included

3 videos3 assignments

Instructor

Packt - Course Instructors
Packt
1,086 Courses266,128 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions