摘要: public class hello : HttpTaskAsyncHandler, IReadOnlySessionState { public IFetchServise fetch { get; set; } public override async Task ProcessRequestAsync(HttpContext ... 阅读全文
posted @ 2018-03-27 14:41 t_tian 阅读(824) 评论(1) 推荐(0) 编辑
摘要: 开始之前,如果没接触过Autofac的,可以移步到Autofac官方示例学习一下怎么使用:https://github.com/autofac/Examples .net 下集成steeltoe进行微服务客户端的注册与发现均需要使用Autofac依赖注入方式进行,且MVC,WebAPI,webFor 阅读全文
posted @ 2018-03-27 11:38 t_tian 阅读(712) 评论(3) 推荐(0) 编辑