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
-
Writing is hard. Writing for an agent is even harder. Writing for an editor considering your book but wanting a rewrite first is like climbi...
-
Intro Ahh... My new blog spot. Loke Uei from Microsoft Malaysia has recommended me to blog here as he can't stop laughing at me for blo...
-
Golden Dream Rolls Royce with Hemmy - by Ivan Mitev Photography I stumbled upon this ostentatious golden beauty tonight and had to put it up...
-
My best mooncake award for this year goes to Baker's Cottage 's snow-skin yam mooncake! Absolutely yummy! But mom prefers her Cosway...
-
Complacency - a word usually used to describe folks who take it too easy at work and to some extent, not motivated to do better beyond '...
-
Photo: Diane Edwardson, November 1, 2011. Cat skull. (Click on photo to enlarge.)
-
I t has been one month now since I've joined Microsoft and you must be wondering how am I doing? I'm doing great at the moment and ...
-
I'm a little demotivated lately with the type of work that I'm assigned to. I feel that my skills and talents are not fully utilized...
-
One of the proposals that Ferrari didn't liked... I have LOTS of them in fact.
-
Regular readers will remember that last month we reported with fury and disbelief the upswing in recorded users of pedal cycles in Aberdeen...


No comments:
Post a Comment