简体   繁体   English

Windows 2003上的Windows激活服务

[英]Windows Activation Service on Windows 2003

I know (Windows Activation Service) WAS is advertised as part of Windows 2008/Vista/7 but since it appears under .NET 3.5 framework components in Control Panel Windows Components, I was wondering if anyone knows/has managed to run in under Windows 2003 as well. 我知道(Windows激活服务)WAS是作为Windows 2008 / Vista / 7的一部分宣传的,但由于它出现在控制面板Windows组件中的.NET 3.5框架组件下,我想知道是否有人知道/已经设法在Windows 2003下运行同样。

I'm trying to host a WCF server in WAS under Windows 2003 (written in .NET C#) 我正在尝试在Windows 2003下用WAS托管WCF服务器(用.NET C#编写)

Alternatively, does anyone know of any good open source application servers out there that can be used to host .NET servers? 或者,有没有人知道任何可用于托管.NET服务器的开源应用程序服务器? (TomCat for .NET?!) (TomCat for .NET ?!)

WAS is a part of IIS7, which is available on Vista and Win Server 2008 and up only. WAS是IIS7的一部分,它仅适用于Vista和Win Server 2008。

On Win Server 2003, you can either host your WCF service in IIS - which limits you to just http (basicHttp or wsHttp), or - my preferred way - you can host your WCF service yourself. 在Win Server 2003上,您可以在IIS中托管您的WCF服务 - 这仅限于http(basicHttp或wsHttp),或者 - 我的首选方式 - 您可以自己托管您的WCF服务。

Typically, you would host your WCF service in a console app for testing/debugging purposes, and then put it inside a Windows NT Service for production - this runs around the clock, with no one logged in, and it supports ALL the WCF bindings (not just http, but also Net.TCP, NetNamedPipe, MSMQ and so on). 通常,您将在控制台应用程序中托管您的WCF服务以进行测试/调试,然后将其放入Windows NT服务进行生产 - 这是全天候运行,没有人登录,并且它支持所有 WCF绑定(不仅仅是http,还有Net.TCP,NetNamedPipe,MSMQ等)。

Marc

You can always roll your own WCF host. 您始终可以滚动自己的WCF主机。 I've used this concept as an example. 我用这个概念作为例子。

http://www.codeproject.com/KB/WCF/generic_wcf_host.aspx http://www.codeproject.com/KB/WCF/generic_wcf_host.aspx

You can host a WCF service in IIS on Windows 2003, if you use basichttpbinding or wshttpbinding. 如果使用basichttpbinding或wshttpbinding,则可以在Windows 2003上的IIS中托管WCF服务。

You could also host a WCF service as a windows service on windows 2003. 您还可以在Windows 2003上将WCF服务作为Windows服务托管。

WAS is not available on Windows 2003. WAS在Windows 2003上不可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM