回答

0

錯誤之一:

<endpoint address="json" binding="webHttpBinding" contract="Contract.IService" behaviorConfiguration="web" bindingConfiguration="webHttpBinding"></endpoint>

正確的 <endpoint address="" binding="webHttpBinding" contract="Contract.IService" behaviorConfiguration="web" bindingConfiguration="webHttpBinding"></endpoint>

希望這將有助於人們誰將會是新的Web服務。