ASP.NET MVC:HTTP请求生命周期

通过探索HTTP请求在ASP.NET MVC框架中传播的生命周期,了解MVC框架的架构。本课程向开发人员介绍HTTP请求生命周期的主要步骤,以及如何对它们扩展和自定义。本课程重点不在于编写MVC代码和如何构建应用程序,而是深入探讨组成请求管道的组件之间的关系。

主题包括:

  • 请求生命周期的基础
  • 设计和实现HTTP模块和处理程序
  • 在处理程序和模块之间选择
  • 了解路由处理程序
  • 配置基于约定的路由
  • ASP.NET MVC属性路由
  • Creating a custom controller factory
  • Defining a custom dependency resolver
  • Creating a custom view engine

课程信息

  • 英文名称:ASP.NET MVC: HTTP Request Life Cycle
  • 时长:2小时32分
  • 字幕:英语

课程目录

  1. Welcome
  2. What you should know
  3. Sample application introduction
  4. Introduction to the request life cycle
  5. Explore global application events
  6. Initialize code before application start
  7. Examine HTTP request life cycle events
  8. Subscribe to HTTP application events
  9. Challenge: Global error handling
  10. Solution: Global error handling
  11. HTTP module overview
  12. Build a custom request processing module
  13. Introduction to HTTP handlers
  14. Implement a custom HTTP handler
  15. Choose between handlers and modules
  16. Introduction to routing
  17. URL routing module overview
  18. Understand route handlers
  19. Configure convention-based routing
  20. Explore attribute routing
  21. Challenge: Create a custom route
  22. Solution: Create a custom route
  23. Controller basics
  24. Understand controller initialization
  25. Create a custom controller factory
  26. Explore the role of dependency resolvers
  27. Define a custom dependency resolver
  28. Introduction to action invocation
  29. Understand action method selection
  30. Work with action selector attributes
  31. Apply authentication and authorization filters
  32. Explore the model binding feature
  33. Action execution with action filters
  34. Implement a custom action filter
  35. Challenge: Adding a new course
  36. Solution: Adding a new course
  37. Next steps
  38. Overview of action result execution
  39. Explore action result types
  40. View initialization and rendering
  41. Create a custom view engine
  42. Challenge: A landing page for courses
  43. Solution: A landing page for courses

评论

下载 ASP.NET MVC:HTTP请求生命周期

收起