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

How to generate proxy for WCF Services?

0 Answers  


What is wcf programming?

0 Answers  


What are different isolation levels?

0 Answers  


What are the duplex contracts in wcf?

0 Answers  


Do we have to use the relative addresses when hosting in the iis or the absolute addresses? Why?

0 Answers  






What is .svc file in wcf?

0 Answers  


What are the various ways of hosting a wcf service?

0 Answers  


Elucidate on the various contracts in wcf?

0 Answers  


Difference between wcf and web services?

0 Answers  


What are contracts in wcf?

0 Answers  


How many ways to hosting WCF service?

0 Answers  


Why do we use wcf services?

0 Answers  


Categories