<service name="Service.apiGeneral" behaviorConfiguration="Behavior">
<endpoint address="WebService" binding="basicHttpBinding" bindingConfiguration="basicHttpBindingCfg" contract="IService.Iapi"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
//这是服务配置
服务发布到服务器上。在我本地引用接口,总是报405 ,这是哪里配置没有配好吗
摇曳的蔷薇
相关分类