It is not frequent that I host my WCF services on Windows Activation Service (WAS) - reasons being not many organizations that I work with run Windows Server 2008. Now that I see a Windows Server 2008, I would like to use WAS instead of IIS and configure some of the internal services to use netTcpBinding instead to improve performance.
If you run through the steps here (and probably some tutorials), you will realized that we will need to execute a command similar to this:
%windir%\system32\inetsrv\appcmd.exe set site "Default Web Site" -+bindings.[protocol='net.tcp',bindingInformation='808:*']
or this if we are running in a virtual application
%windir%\system32\inetsrv\appcmd.exe set app "Default Web Site/MyService" /enabledProtocols:http,net.tcp
But I am a lazy person, I like to use the UI. So you can achieve the same results from IIS by defining your bindings. Right-click on the site and select Edit Bindings... then Add a new binding for net.tcp.
Then right-click on the site again and goto Manage Web Site -> Advanced Settings... and add net.tcp to the Enabled Protocols property.
There you have it! WCF on WAS!
Home » Windows » Hosting WCF on WAS
Popular Post
-
While typing this post , I discovered that blogger has a severe limitation in accepting the lesser-than and greater-than characters. Because...
-
One of the proposals that Ferrari didn't liked... I have LOTS of them in fact.
-
Chevy truck, mostly 1963, purchased in 1975 in Poteau, OK. Primary transportation until 1985 (known then as the Turkey Truck due to sticker...
-
Just ahead of its world premiere at the 2012 Paris Motor Show on September 27, Kia has nicked the covers off its all-new Carens MPV . The ...
-
Photo: Diane Edwardson, September 28, 2011. We were so busy talking about protected native tree removal permits, we never had a chance to r...
-
In a perfect world Play People would be everyone's favorite pop band. Sadly this isn't a perfect world...check out the band's n...
-
1915-1931, possibly the peak of board track racing, due to the popularity, the number of race cars and race car drivers, the number of manuf...
-
Italian shoegazers Murnau has made this rehearsal version of a new track called Sprix available for streaming. Not the best sound quality,...


No comments:
Post a Comment