c# - Multiple endpoints under IIS -


I am trying to add a new endpoint to the service hosted under the IIS, but I am unable to understand it

It is my understanding:

  • There can be many intervals under IIS, unless they have unique addresses.
  • You can provide an original address, but it will be overridden by the virtual directory setup in IIS.

is my virtual directory

  & lt; Services & gt; & Lt; Service name = "WcfCertServer.Service1" behavioral review = "WcfCertServer.Service1Behavior" & gt; & Lt; Endpoint address = "" binding = "wsHttpBinding" contract = "WCFcert server. ISC1" /> & Lt; Endpoint address = "test" binding = "wsHttpBinding" contract = "WcfCertServer.IService1" /> & Lt; Endpoint address = "Max" binding = "MaxHttpending" contract = "IMAXADEXXchange" /> & Lt; / Services & gt; & Lt; / Services & gt;  

I can get the service using

but IE or client does not return anything in the app

What am I missing here is?

Edit:

So I tested more, and here I came to know.

If I start WcfTestClient.exe and either add or it will add both endpoint at the bottom of that address. So my question here should not represent only the first end point? Why to add this address is to raise both end points?

However, if I try to add, I can not get metadata from

error: if it is a Windows Communication Foundation Is nearby, please check that you have enabled metadata publishing at the specified address. For help enabling metadata publishing, please see the MSDN documentation on Exchange Error URI: Metadata has a reference that can not be resolved: '' Sidera: Badcontext token did not process the message Could go This is most likely because the action is incorrect or because there is an invalid or expired security reference token in the message, or because there is no mismatch between the binding, the security reference token will be invalid if the channel has been aborted due to inactivity in service. . To cancel the service by canceling inactive sessions, increase the timing time in the anterior time on the binding of the service endpoint. HTTP gate error URI: There was an error downloading ''. Request HTTP fail 400: Bad request.

It will actually be:

URL to be '', you must specify the full url in the address attribute.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -