We have already 2 hostings IIS and self hosting.
there is another hosting ie WAS Hosting.
What is the use of the WAS(Windows activation Service)
compared to other hostings.

Answers were Sorted based on User's Feedback



We have already 2 hostings IIS and self hosting. there is another hosting ie WAS Hosting. What is ..

Answer / pradeeprajasekharan

Windows Process Activation Server (WAS) supports the
communication protocols such as HTTP, TCP, Named Pipes and
MSMQ while IIS supports only HTTP. WAS is available with
Windows Server 2008 only. If the server is Server 2008 then
the better option to deploy WCF service is through WAS. If
the deployment server is Server 2003, the only possible way
to deploy the application with protocols other than HTTP is
using self hosting (using a Windows Application or a Windows
Service and if for a demo purpose can use Console
application also). So WAS is a gift with Vista and Server
2008.

Is This Answer Correct ?    23 Yes 1 No

We have already 2 hostings IIS and self hosting. there is another hosting ie WAS Hosting. What is ..

Answer / guest

WAS is completely separated from the IIS hosting environment
and provides a protocol-agnostic activation mechanism, so
you aren’t limited only to HTTP. WAS allows you to choose
the most appropriate protocol for your needs.These
capabilities are implemented in the form of protocol
handlers, which manage communication between the worker
process and the Windows service. There are two types of
protocol handlers loaded when the WAS activates a worker
process instance: Process Protocol Handler (PPH) and App
Domain Protocol Handler (ADPH).Because of these reason use
of WAS come into picture.

Is This Answer Correct ?    16 Yes 2 No

We have already 2 hostings IIS and self hosting. there is another hosting ie WAS Hosting. What is ..

Answer / maya

WAS hosting is used to host the application on IIS with different protocol along with HTTP. WAS hosting is available in IIS 7 onwards where we have ability to mention the protocol to be used for any website we have created.

To host the service on WAS, simply create a website in IIS and go to Manage Websites > Advance Settings and at the Enable Protocols write the command separated values like "http, tcp" and this website can be used by both http and tcp protocol.

WAS is generally used when the WCF service has to be consumed locally (in the intranet environment).

The benefit are

1. In self hosting the dependency is on the system to start and stop
2. in IIS only http protocol can be used

IN WAS as soon as system starts, the WAS starts and no need a controller app to start and stop the service

It can be hosted on multiple protocol.
Because it can be hosted on multiple protocols such as TCP, it is faster than others.


There are many very good WCF interview questions available at http://www.dotnetfunda.com/interview/showcatquestion.aspx?category=74 you can read them.

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More WCF Interview Questions

What are various ways of hosting wcf services?

0 Answers  


What is message contract in wcf?

0 Answers  


What is the use of is required property in data contracts?

0 Answers  


What are the Advantages of hosting wcf in iis?

0 Answers  


What is wcf ipc binding type?

0 Answers  






What is the different between WCF web service and WCF web Api?

0 Answers   PUCIT,


What are the features of wcf?

0 Answers  


what is msmq binding? : Wcf data services

0 Answers  


Can we have two way communications in msmq?

0 Answers  


WCF:Is the MsmqIntegrationBinding used the msmq.formatname scheme or the net.msmq scheme?

1 Answers  


How many types of bindings are in WCF?

0 Answers  


What is the windows communication foundation?

0 Answers  


Categories