Я получаю 404, когда я пытаюсь открыть файл .svc в iis 7.5, моя system.serviceModel из веб-конфигурации приведена ниже:
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="MyBinding">
<security mode="Transport">
<transport clientCredentialType="Windows" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehavior">
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpsGetEnabled="true" />
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="ServiceBehavior" name="Gsfa.Gsfbs.Integration.Services.MemberIntegrationService">
<endpoint address="https://gsfdevmatthewc/MemberIntegrationService.svc" binding="wsHttpBinding" bindingConfiguration="MyBinding" contract="Gsfa.Gsfbs.Integration.Contracts.IMemberIntegrationService" />
</service>
</services>
</system.serviceModel>