.NET Framework Bookmark and Share   
 index > Windows Communication Foundation > Implement MultipleEndpoints with 2 Different Bindings in asp.net
 

Implement MultipleEndpoints with 2 Different Bindings in asp.net

Hello

I have build a wcf duplex service with pollingduplex binding. Im consume this service in silverlight application and asp.net web application. This is Single Instance Service. How this possible consume this service in both application with different bindings. because silverlight support pollingduplex and asp.net support wsdualhttpbinding.Im using self hosted service by console application. please guide me how to consume this service in both application with different binding.

Thanks

Hello To All
amritpal
You can very well have two different endpoints for the same service- one with pollingduplex and other one with wsdualhttpbinding.

in config:

<services>
...
<service name="dfds">
    <endpoint
 binding = polling
address="something else"
contact="samecontract"

></endpoint>
    <endpoint
address="something"
binding = wsdual
contact="samecontract"
></endpoint>
</service>
</services>
<br/>
HTH,

-Phani
----------------

Please mark a post as answered if it does...
Phani_tpk

You can use google to search for other answers

Custom Search

More Threads

• netTcpBinding WCF works fine but Exceptions found in "Recevie bytes on connection ..." activity of diagnostics log
• DataContract
• Help on object state strange behaviour ?
• Async calls are unsafe with object reusing?
• How do i use svcutil to generate a proxy-code for a specific endpoint / interface.
• WCF Extension for Visual Studio 2008?
• Async WCFservice: How to return error message from BeginMethod() instead of returning IAsyncResult ?
• Reference.svcmap
• WCF can't get certificate revocation list
• WSE 3.0 client