Where we can host WCF service?
-
Windows service
-
WAS
-
None of above
-
Both 1 and 2
D
Correct answer
Explanation
WCF (Windows Communication Foundation) services can be hosted in various environments. They can be hosted in Windows services (formerly NT services), IIS (Internet Information Services), WAS (Windows Activation Service), or self-hosted in console applications. The option 'Both 1 and 2' correctly identifies that Windows services and WAS are both valid hosting options for WCF services.