서비스에서 정의한 엔드 포인트를 사용해야한다는 인상 때문에 구성 파일에 표준 엔드 포인트가 정의되어있는 이유를 이해하려고합니다. 표준 엔드 포인트에 주석을 달면 서비스를 실행할 때 메시지가 나타납니다. "No Endpoint found"
표준 엔드 포인트 사용
두 가지 모두 필요합니까? 내가한다면, 표준 종점이 어떻게 사용 되는가? 감사합니다,
<standardEndpoints>
<webHttpEndpoint>
<standardEndpoint name="" helpEnabled ="true"
automaticFormatSelectionEnabled ="true"></standardEndpoint>
</webHttpEndpoint>
</standardEndpoints>
<services>
<service name ="SimRestService" behaviorConfiguration ="MyServiceBehavior">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="defaultBasicHttpBinding"
contract="SimRestServices.ISimRestService" />
</service>
WCF 서비스를 어디에서 호스팅합니까? 자가 호스팅 또는 IIS? –
IIS에서 – user2127344