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

通过 Coursera Plus 解锁访问 10,000 多门课程。开始 7 天免费试用

Packt

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

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
中级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
中级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • 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.

要了解的详细信息

可分享的证书

添加到您的领英档案

最近已更新!

November 2025

作业

16 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有14个模块

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.

涵盖的内容

15个视频1篇阅读材料1个作业

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.

涵盖的内容

7个视频1个作业

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.

涵盖的内容

19个视频1个作业

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.

涵盖的内容

7个视频1个作业

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.

涵盖的内容

9个视频1个作业

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.

涵盖的内容

17个视频1个作业

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.

涵盖的内容

5个视频1个作业

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.

涵盖的内容

6个视频1个作业

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.

涵盖的内容

14个视频1个作业

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.

涵盖的内容

10个视频1个作业

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.

涵盖的内容

8个视频1个作业

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.

涵盖的内容

15个视频1个作业

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.

涵盖的内容

9个视频1个作业

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.

涵盖的内容

3个视频3个作业

位教师

Packt - Course Instructors
Packt
1,186 门课程292,430 名学生

提供方

Packt

从 Software Development 浏览更多内容

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.
自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'
Jennifer J.
自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'
Larry W.
自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'
Chaitanya A.
''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题