|
|
1
6
我写了一篇博客文章,描述了如何在自托管wcf服务时使用autofac wcf集成。 http://alexmg.com/self-hosting-wcf-services-with-the-autofac-wcf-integration/ 这应该足以指引你正确的方向。我将更新autofac wiki上的文档以包含相同的示例。 |
|
|
2
0
自alex-meyer反应以来,autofac发生了一些变化。基本上是一行代码:
来源: https://autofaccn.readthedocs.io/en/latest/integration/wcf.html#self-hosting |
|
|
StayCool · Ninject。扩展。约定不会绑定单个接口 8 年前 |
|
|
Nickso · 通用属性和IoC(Autofac)问题 8 年前 |
|
|
LightCC · 如何在C中设置DI/IoC和/或工厂模式设计# 8 年前 |
|
|
Eitan · 使用Castle动态代理拦截所有依赖项 8 年前 |