4.4 自营主机(Self-Hosting):企业自己拥有并且维护服务器及 所有软件。 主机租用服务的类型 主机托管(Colocated Hosting):企业拥有主机的所有权, 但其它...
基于30个网页-相关网页
...在不同的场景下来获取实例; 基于代码的配置: Web API 单独使用代码完成配置, 从而保证了配置文件的整洁; 自托管 (Self-Host) : Web API 除了可以托管在 IIS 中, 还可以托管在进程中,依旧可以使用路由以及其它的特性。
基于8个网页-相关网页
...: return false; 11: } 12: public bool CancelOrder(int orderId) 13: { 14: return false; 15: } 16: } 服务托管(Self-Host) 1: static void Main() 2: { 3: //binding,how?
基于1个网页-相关网页
Never self-host on a UI thread, and have the UI application call the service.
不要在UI线程上托管服务,让UI程序只调用服务。
To note: This is for self-hosters only and you should not have to download it - it should be already provided by your web host provider.
记住:此方法仅适用于self - hoster,你不必下载它,因为你的网络主机提供商已经为你准备好了。
There is more than one way to host your.net Web service, including IIS or a self-hosted console application, but the config file is fundamentally the same for both.
可以通过多种方式托管您的. NET Web服务,包括IIS或一个自托管控制台应用程序,但是配置文件基本上是一样的。
应用推荐