开发者

Castle WCF DefaultServiceHostFactory in IIS: Accessing the ServiceHost

I am attempting to move from a self hosting architecture to hosting under IIS 6, primarily to take advantage of built in dynamic compression.

I am using the Castle D开发者_开发问答efaultServiceHostFactory to provide the service to IIS in the .svc file. However, I need to programmatically specify certain end points and behaviours and I do not know how to retrieve the current ServiceHost.

Is this be possible, or should I just look at other methods of compression independent of IIS?


Implement IServiceHostAware for this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜