摘要:
上文已经完成了ControllerFactory的创建,接下来就是调用其CreateController()方法创建Controller了。DefaultControllerFactory中CreateController()的实现: public virtual IControlle... 阅读全文
随笔档案-2015年06月
MVC5 Controller简要创建过程(1):ControllerFactory的创建
2015-06-26 11:56 by cgs, 1310 阅读, 收藏,
摘要:
即将离职,闲来无事回顾下MVC的源码,到了Controller创建这里,由于流程有点复杂,鉴于自己记性不太好,索性就记录一下吧,方便日后参照。首先看MvcHandler: 1 public class MvcHandler : IHttpAsyncHandler, IHttpHandler, IRe... 阅读全文
浙公网安备 33010602011771号