This course builds on the foundation established in Course 1, focusing on data management, dependency injection, middleware, and error handling in ASP.NET Core applications. Learners will implement database operations with Entity Framework Core, configure middleware components, handle errors gracefully, and develop minimal APIs for lightweight web services.


您将获得的技能
要了解的详细信息

添加到您的领英档案
November 2025
18 项作业
了解顶级公司的员工如何掌握热门技能

积累 Mobile and Web Development 领域的专业知识
- 向行业专家学习新概念
- 获得对主题或工具的基础理解
- 通过实践项目培养工作相关技能
- 通过 Microsoft 获得可共享的职业证书

该课程共有5个模块
In this module, you will learn to build maintainable and scalable ASP.NET Core applications through proper dependency injection and configuration management techniques. You'll explore how dependency injection promotes loose coupling and testability by understanding service lifetimes and registration patterns within ASP.NET Core's built-in container. Through hands-on practice, you'll implement the Options pattern to create strongly-typed configuration classes, work with multiple configuration sources including JSON files, environment variables, and secure storage options like Azure Key Vault. You'll master environment-specific configuration strategies that enable your applications to seamlessly transition between development, staging, and production environments without code changes. By implementing comprehensive configuration validation and secret management practices, you'll learn to prevent common deployment failures and security vulnerabilities. By the end of this module, you'll be able to architect applications that are truly environment-agnostic, maintainable at enterprise scale, and follow industry best practices for configuration security and dependency management.
涵盖的内容
10个视频6篇阅读材料4个作业3个非评分实验室1个插件
In this module, you will learn to control and customize the flow of HTTP requests through your ASP.NET Core applications using middleware components and the request pipeline. You'll explore how middleware works as the foundation of ASP.NET Core's architecture, understanding how each component in the pipeline processes requests and responses in a specific order. Through hands-on practice, you'll configure built-in middleware for common tasks like authentication, static file serving, and error handling, then progress to creating custom middleware components that address specific application requirements. You'll implement request logging, response transformation, and throttling middleware while learning proper error handling and dependency injection patterns. You'll master middleware ordering principles, understand performance implications, and learn to debug pipeline issues effectively. By the end of this module, you'll be able to design and implement sophisticated request processing pipelines that handle cross-cutting concerns cleanly, maintain security and performance standards, and provide the foundation for scalable, maintainable web applications.
涵盖的内容
8个视频5篇阅读材料4个作业2个非评分实验室1个插件
In this module, you will learn to build robust ASP.NET Core applications through comprehensive error handling and effective debugging strategies. You'll implement global exception handling mechanisms that capture and process errors consistently across your entire application, preventing unhandled exceptions from reaching end users. Through hands-on practice, you'll configure structured logging systems that capture meaningful application events and errors for analysis and monitoring. You'll master debugging techniques using Visual Studio Code's integrated tools, learning to set breakpoints, inspect variables, and trace execution flow to identify and resolve complex issues efficiently. You'll also create user-friendly error responses for API consumers that provide helpful information without exposing sensitive system details. By the end of this module, you'll be able to build applications that gracefully handle unexpected situations, provide clear diagnostic information for troubleshooting, and maintain professional user experiences even when errors occur.
涵盖的内容
7个视频2篇阅读材料3个作业1个非评分实验室1个插件
In this module, you will learn to build data-driven ASP.NET Core applications using Entity Framework Core as your object-relational mapping (ORM) solution. You'll explore how Entity Framework Core simplifies database operations while maintaining type safety and performance, understanding the architecture and components that make it the preferred data access technology for .NET applications. Through hands-on practice, you'll design and create comprehensive data models with proper entity relationships, implement the repository pattern for clean architecture, and build complete CRUD operations within a well-structured service layer. You'll master database migrations for schema management, implement robust data validation strategies, and create comprehensive unit tests that ensure your data access layer performs reliably. You'll learn to configure complex relationships including one-to-many, many-to-many, and owned entity types while optimizing for both query performance and data integrity. By the end of this module, you'll be able to architect and implement enterprise-grade data access solutions that support complex business requirements while maintaining clean separation of concerns and comprehensive test coverage.
涵盖的内容
14个视频6篇阅读材料6个作业4个非评分实验室1个插件
In this hands-on project, you will build a lightweight task management API using ASP.NET Core. The project focuses on foundational concepts, including dependency injection, minimal APIs, basic data modeling, and simple middleware.
涵盖的内容
1篇阅读材料1个作业1个非评分实验室
获得职业证书
将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。
从 Mobile and Web Development 浏览更多内容
人们为什么选择 Coursera 来帮助自己实现职业发展




常见问题
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Certificate, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
更多问题
提供助学金,








