<configuration>
<system.serviceModel>
<client>
<endpoint address="http://localhost:5566/VictorService" binding="basicHttpBinding" contract="Victor.WCFService.Contract.IVictor"/>
</client>
</system.serviceModel>
</configuration>
配置文件为什么要严格区分大小写!
害我DEBUG了1天的,伤啊!!
就因为把
<system.ServiceModel>
</system.ServiceModel>
"S"写成了大写!!!
