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
-
TAKEN FROM CDN: Victor was the very first student to upload an entry to the competition website. He separates the passenger compartment from...
-
I 've managed to solve the mystery of the missing SharePoint Workflow templates in the Enterprise Content Management Starter Kit . The w...
-
Morning, Friends! If you haven't checked out Kindle Fire Department yet and you own a Kindle Fire, you are not human. I'm TELLING YO...
-
I had to post this video about men flying only feet away from cliff walls
-
Y esterday, I was working as usual on Windows Vista and all a sudden, I discovered that I could no longer select multiple files in Windows E...
-
B ill Gates has announced his plans to transition out of his role in Microsoft. It will be a two-year transition process and by July 2008, h...
-
That is a barn, sometimes they are easy to distinguish, and sometimes, they look like a lot of wood in a vague pile that might have space u...
-
This is so brilliant (though it clearly belongs to a genre that I'd normally avoid at any cost) and brought to my attention because I Am...
-
If you ever need to access one of the out-of-the-box SharePoint Web Services, you may find this post valuable to you. I was tasked to access...


No comments:
Post a Comment