इसलिए मैं सेवा अंतराल और मेजबान आधार पता के लिए उलझन में एक लेटल हूं। उन सभी उदाहरणों में मैंने अब तक चलने की आवश्यकता है, वे आवश्यक बाइंडिंग के साथ एंडपॉइंट्स सेट करने के बारे में बात करते हैं और आप आमतौर पर उन अंतराल परडब्ल्यूसीएफ सेवा एंडपॉइंट्स बनाम होस्ट बेस पता
होवर जब मैं अपनी सेवा को सेट अप और होस्ट करने के लिए निम्न कॉन्फ़िगरेशन का उपयोग करता हूं तो यह केवल लगता है होस्ट्स बेस एड्रेस का पर्दाफाश करने के लिए।
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
<!-- When deploying the service library project, the content of the config file must be added to the host's
app.config file. System.Configuration does not support config files for libraries. -->
<system.serviceModel>
<services>
<service name="HostService.EvalService">
<endpoint address="http://localhost:8080/basic"
binding="basicHttpBinding" contract="HostService.IEvalService" />
<endpoint address="http://localhost:8080/ws"
binding="wsHttpBinding" contract="HostService.IEvalService" />
<endpoint address="mex" binding="mexHttpBinding"
name="mex" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8080/EvalsService" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
क्या कोई मुझे यह समझा सकता है?
क्या मुझे अभी भी एंडपॉइंट्स पर नेविगेट करने में सक्षम होना चाहिए? फिलहाल मैं –
नहीं कर सकता, आप ब्राउज़र में एंडपॉइंट्स पर नेविगेट करने में सक्षम नहीं होंगे लेकिन अंतिम बिंदु अभी भी सक्रिय हैं और क्लाइंट को ठीक से कनेक्ट करने में सक्षम होना चाहिए। –
मुझे कोई सुराग नहीं है कि क्यों एमएस आपके कुछ बुलेट्स को उनके फ्रीकिन दस्तावेज में नहीं बताता है। – PositiveGuy