Something about the microsoft HttpContext domain design
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Something about the microsoft HttpContext domain design相关的知识,希望对你有一定的参考价值。
1. HttpContext.Current.Request, Response
2.HttpHandler-> ProcessRequest
3.HttpModule-> Init, InitHandlers, context_BeginRequest
Comments:
This seems to be an event and handler based system. Can follow the design lines.
Kinds of DDD, HttpContext, naturally, there should be different Contexts, so, something can be infered from these code. Current? Request and Response, there are the basic lines of this Domain driven.
Maybe we can realize DDD and CQRS, CQRS is like an architectural pattern, while DDD is used to handle different domain business, DDD varies with different domain.
A software should be an architect and some OOP models(DOMAIN MODELs), no need to bother so much to know how it is realized, just watch out for you business. We have different styles.
以上是关于Something about the microsoft HttpContext domain design的主要内容,如果未能解决你的问题,请参考以下文章