none
哪个产品用的IIS7中的Windows Process Activation Service的Non-HTTP Activation呢? RRS feed

  • 问题

  • 哪个产品用的IIS7中Windows Process Activation Service的Non-HTTP Activation呢?
    IIS承载的应用程序可以代替RPC的应用程序吗?
    2009年5月2日 14:42

答案

  • 你好,

    Non-HTTP Activation的情况是如果你写一个WCF程序并且host在WAS中,并且要用Named Pipe Binding或Net TCP Binding。
    Scenario Site bindings Application path Base application URIs
    HTTP Only http: *:80:* /appTwo http://localhost/appTwo/
    Both HTTP and Non-HTTP http: *:80:* /appTwo http://localhost/appTwo/
    net.tcp: 808:* net.tcp://localhost/appTwo/
    Non-HTTP only net.pipe: * /appThree net.pipe://appThree/

    对于第二个问题你可以参考:
    http://msdn.microsoft.com/en-us/library/aa730857(VS.80).aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • 已标记为答案 microcloud 2009年5月7日 6:46
    2009年5月5日 2:06
    版主

全部回复

  • 你好,

    Non-HTTP Activation的情况是如果你写一个WCF程序并且host在WAS中,并且要用Named Pipe Binding或Net TCP Binding。
    Scenario Site bindings Application path Base application URIs
    HTTP Only http: *:80:* /appTwo http://localhost/appTwo/
    Both HTTP and Non-HTTP http: *:80:* /appTwo http://localhost/appTwo/
    net.tcp: 808:* net.tcp://localhost/appTwo/
    Non-HTTP only net.pipe: * /appThree net.pipe://appThree/

    对于第二个问题你可以参考:
    http://msdn.microsoft.com/en-us/library/aa730857(VS.80).aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • 已标记为答案 microcloud 2009年5月7日 6:46
    2009年5月5日 2:06
    版主
  • 还找到杨文:

    In the past, distributed computing technologies such as DCOM or .NET Remoting aspired to provide the same programming model to the client whether the object was local or remote. In the case of a local call, the client used a direct reference, and when dealing with a remote object, the client used a proxy. The problem with this approach of trying to take the local programming model and make it the remote programming model is that there is much more to a remote call than an object with a wire. Complex issues such as life cycle management, reliability, state management, scalability, and security raised their heads, making the remote programming model significantly more complex, all because it tried to be what it is not a local object. WCF also strives to provide the client with the same programming model regardless of the location of the service. However, the WCF approach is the exact opposite: it takes the remote programming model of instantiating and using a proxy and uses it even in the most local case. Because all interactions are done via a proxy, requiring the same configuration and hosting, WCF maintains the same programming model for the local and remote cases; thus it not only enables you to switch locations without affecting the client, but also significantly simplifies the application programming model.
    2009年5月7日 10:01