一个 Wcf 服务项目中的多项服务 [英] Multiple services in one Wcf service project

查看:27
本文介绍了一个 Wcf 服务项目中的多项服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Wcf 服务项目,其中包含许多名为 Service1、Service2 等的服务.

I have one Wcf service project and in it many services called Service1, Service2 etc.

但是,只有 Service1 正在运行.这是为什么以及如何解决?

However, only Service1 is running. Why is this and how to resolve it?

推荐答案

这对您的问题的描述有点模糊,但也许这会有所帮助.我做了一个 post 关于如何在一个 Windows 服务中托管多个 WCF 服务.如果没有帮助,请检查您的 ABC(地址、绑定和合同)是否设置正确.

This is a bit vague description of your problem, but maybe this will help. I did a post on how to host many WCF services in one windows service. If it doesn't help, check that your ABC(address, binding and contract) are set correctly.

这篇关于一个 Wcf 服务项目中的多项服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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