WCF: Multiple binding configurations for a single service

梦想与她 提交于 2019-12-03 05:35:46

You basically need 2 endpoints for the same service exposed at different addresses and aligned with different bindings. This may help you.

You can have 2 two different bindings for the same service contract, but you'll need to create separate service nodes in the config and you will also need separate endpoints defined. So create a new endpoint for the binary formatted service, and have the new version of the client reference it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!