вторник, 31 июля 2012 г.

Как отключить аутентификацию сообщений MVC

http://www.gotdotnet.ru/forums/15/141125/
На сервере

<bindings>
 <wsHttpBinding>
  <binding name="CustomAuthentication">
   <security mode="None">
    <message clientCredentialType="None"/>
   </security>
  </binding>
 </wsHttpBinding>
</bindings>
 
 <services>
 <service behaviorConfiguration="ServiceBehavior" name="Service">
  <endpoint address="" binding="wsHttpBinding" bindingConfiguration="CustomAuthentication" contract="IService">
 
на клиенте
 
<security mode="None">