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
-
Most developers when developing Windows Communication Foundation (WCF) services, will take security for granted and deploy their web service...
-
There were lots of issues to contend with up to the end, but got through with flying colors. Consumer reports had something to say about our...
-
As everyone knows, White Van Man (WVM) is truly the Atlas upon who's shoulders our hopes for economic growth rest. And speaking of rest,...
-
Whoops, what a giveaway! And how often is that said on the day after Budget day? But buried in the small print of yesterday's Budget was...
-
R ecently, I have this huge thought about the meaning of life or atleast its purpose and somehow, I discovered that life is meaningless and ...
-
Want to know more about the people in Microsoft Malaysia? Always wondered how it looks like on the 30th floor? Check-out BlitBlog - our ver...
-
Photo: Diane Edwardson, October 15, 2011. On average, twenty-nine Metrolink diesel locomotives can idle for hours, daily, at the maintenanc...
-
YouTube Democratic Debate Mon Night at the Citadel: QUESTION: Hi, I'm Stephanie. We're in the Bay area, in my bathroom, because this...
-
A month or so ago word was Toyota was postponing the new generation Lithium Prius. That seemed to be a hint that Toyota wasn't moving t...
-
Just found a great way to make an art car on the way to your next event. Get yourself a few five gallon buckets of paint and take the lids o...
No comments:
Post a Comment