主机wcf [英] Host wcf

查看:82
本文介绍了主机wcf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将wcf托管在托管环境中 应用程序

I am trying to host wcf in a managed application

当我将其托管在 控制台应用程序.但是当我将其托管在Windows窗体中时它不起作用 应用程序

It is working fine when i host it in a console application. But it does not work when i host it in a windows form application

托管项目应该是什么样子 当我在客户端PC上安装它时

What should the hosting project look like when i install it on the client pc

推荐答案

当您说它不起作用"时,您实际上看到了什么-一个例外?如果是这样,异常和调用栈是什么?
When you say "it doesn;t work" what do you actually see  - an exception? If so what is the exception  and  callstack?


这篇关于主机wcf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆