摘要: Refer to http://stackoverflow.com/questions/785413/difference-between-httpcontext-current-and-controller-context-in-mvc-asp-netThe context provided by the controller (not the static HttpContext.Current) is mockable. If you're interested in unit-testing your code, it's generally far easier to 阅读全文
posted @ 2012-09-04 15:40 webglcn 阅读(386) 评论(0) 推荐(0) 编辑