Hi, I was looking into this a while back, and ended up building an
example that was checked into the source.
Please have a look at this project:
https://github.com/ninject/ninject.extensions.wcf/tree/master/src/Examples/WcfServiceLibrary
Does that help?
--
Regards, Morten
--
Cheers, Morten
Should work also for a windows service hosted endpoint, just without the
serviceHostingEnvironment bit.
You would also need to specify a different baseAddress.
For most simple scenarios, you won't need to specify any binding
configuration.
The most common exception to this that I have come across is if one
sends large object graphs over the wire - which is probably indicative
of poorly designed APIs.
--
Cheers, Morten