重點:
* 用 wsdl.exe 產生 proxy class 時,加上參數 /serverInterface
- 記得還有 asmx 要處理
參考:
https://stackoverflow.com/questions/1394930/how-to-generate-web-service-out-of-wsdl
延申:
self host wcf
https://docs.microsoft.com/zh-tw/dotnet/framework/wcf/how-to-host-a-wcf-service-in-a-managed-application
https://social.msdn.microsoft.com/Forums/vstudio/en-US/aaa6b8d5-fc49-45ca-9cab-6d5bea60fd3b/configuring-in-code-a-selfhosted-web-service?forum=wcf
https://social.msdn.microsoft.com/Forums/en-US/19c23ba7-6de8-4052-86aa-6a81f74327c6/port-issue-on-a-self-hosted-asmx?forum=asmxandxml
https://stackoverflow.com/questions/30332510/running-a-asmx-web-service-as-a-windows-service
https://dottutorials.net/creating-soap-web-services-dot-net-core-tutorial/
沒有留言:
張貼留言