0
cを私はこのコードをしようとするタイプ 'System.ServiceModel.CommunicationObjectFaultedException' の未処理の例外が WCF CommunicationObjectFaultedExceptionは#
System.ServiceModel.dll
で発生したこの例外を得た
using (ServiceHost host = new ServiceHost(typeof(WcfProductService))) { host.Open(); Console.WriteLine("server is open"); }
、app.config iのURLは
<endpoint address="http://localhost:9999/ProductSercie" binding="basicHttpBinding" bindingConfiguration="" contract="IWcfProductService.IWcfProductService" name="ProductServiceEndPoint" kind="" endpointConfiguration="" />
私はこの問題にserachと私は何をしてください行うことができますhttps://i.snag.gy/50tRok.jpg netshのではなく、成功 表情でCMDにこのURLを追加してみては? ありがとう