How to use Autofac with WCF Web API
Posted by: eXtensible mind,
on 16 May 2011 |
View original | Bookmarked: 0 time(s)
The new configuration model in the latest WCF Web APIs allows extending the service instantiation via what is called a resource factory. For Autofac, I wanted to support a per-request lifetime scope, so I used the concept of instance context extensions in the Web APIs to place our scope so that it can be disposed [...]...