What files in Service References must be deployed to consume a WCF service?

送分小仙女□ 提交于 2019-12-12 12:14:51

问题


I'm concerned about files should be included in a deployment of a .NET project. I have console applications that are consuming a WCF service. The WCF service is running over HTTP. Do I need to deploy all the XSD, SVCINFO, WSDL & SVCMAP files that are in the Service References folder?

Thanks for any help. I sure wish there was a single page at Microsoft that definitively explained what file types were required in a deployment.


回答1:


The only bits you need at installation time are the compiled code and the .config file. The rest of the pieces (the code, WSDL, etc) or all for compile / design time.



来源:https://stackoverflow.com/questions/4901424/what-files-in-service-references-must-be-deployed-to-consume-a-wcf-service

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!