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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different modes of communication in wcf?

546


What are the transport schemas supported by wcf?

556


What are the core security features that wcf addresses?

529


What are the advantages of hosting wcf services in iis as compared to self hosting?

548


What are the duplex contracts in wcf?

530






What is purpose of IsWrapped property in Message Contract in WCF?

557


What is the difference between wcf and web services?

562


How many types of contracts in WCF?

519


What are the types of Data Contracts in WCF?

544


What do you understand by the term impersonation?

567


What are the three types of transaction manager WCF supports?

541


What are the essential components used in wcf?

516


What do you understand by the term data contract?

488


what is the endpoint in WCF and what are the three major points in WCF?

605


What are the types of contract?

555