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.

时间: 2024-11-07 01:32:25

Something about the microsoft HttpContext domain design的相关文章

未能正确加载包“Microsoft.Data.Entity.Design.Package.MicrosoftDataEntityDesignPackage

本文出处:http://blog.sina.com.cn/s/blog_6fe3efa301016i64.html vs 2005 ,vs 2008, vs 2010,安装后有时出现这个错误(我的机器装的x64的win7),很烦人.找了很多地方都不能解决.其实说起来还是开发国家牛,轻易就解决了这个问题.其实出现这个问题的原因并不是卸载不彻底,而是做了相关的注册表清理,将vs工具箱所依赖的设置改变了.具体原因本人不甚了解,仅附上解决办法: reg query HKEY_LOCAL_MACHINE\

vs2010安装后打开提示 未能正确加载包“Microsoft.Data.Entity.Design

将如下代码复制粘贴到cmd下运行一次或多次即可: reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mic

Domain Driven Design and Development In Practice--转载

原文地址:http://www.infoq.com/articles/ddd-in-practice Background Domain Driven Design (DDD) is about mapping business domain concepts into software artifacts. Most of the writings and articles on this topic have been based on Eric Evans' book "Domain Dr

File System Design Case Studies

SRC=http://www.cs.rutgers.edu/~pxk/416/notes/13-fs-studies.html Paul Krzyzanowski April 24, 2014 Introduction We've studied various approaches to file system design. Now we'll look at some real file systems to explore the approaches that were taken i

Microsoft.VisualStudio.Shell.14.0.dll 文件位置

1 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Platform\Shell\Microsoft.VisualStudio.Shell.UI.Internal.StatusBar.imagemanifest" 2 "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensio

跨时钟域设计【一】——Slow to fast clock domain

跨时钟域设计是FPGA设计中经常遇到的问题,特别是对Trigger信号进行同步设计,往往需要把慢时钟域的Trigger信号同步到快时钟域下,下面是我工作中用到的慢时钟域到快时钟域的Verilog HDL设计.     // Trigger Cross Domain Design, Slow to fast clock domain  module Trig_ CrossDomain _S2F (      input clkB,      input rst_n,      input Trig

[转].NET Core之Entity Framework Core 你如何创建 DbContext

本文转自:http://www.cnblogs.com/tdws/p/5874212.html 本文版权归博客园和作者吴双共同所有,欢迎转载,转载和爬虫请注明博客园蜗牛原文地址 http://www.cnblogs.com/tdws/p/5874212.html. 目前国内各大论坛,各位大牛的分享,是按照Microsoft官方文档,在Web层直接应用EF Core.当然这并没有什么问题,因为我也要从文档开始分享.唯一多的一点就是在Dal层中调用DbContext的方法.你以前用的EF6.x,如果

[it-ebooks]电子书列表

#### it-ebooks电子书质量不错,但搜索功能不是很好 #### 格式说明  [ ]中为年份      ||  前后是标题和副标题  #### [2014]: Learning Objective-C by Developing iPhone Games || Leverage Xcode and Objective-C to develop iPhone games http://it-ebooks.info/book/3544/ Learning Web App Developmen

Xamarin Forms ch1 - Project Architecture

Before we start any project, the structure of project contents including folder name, third party package referencing need to be settled properly. In this very first section of Xamarin Tutorial, the detailed planning of Xamarin Form project is illurs