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
-
S3 D / 799 cc / 58 PS / 81 ft/lb (110 Nm) @ 2.000 - 2.500 / turbo / Vmax: 84 mph (135 km/h) (click images for a larger view)
-
V12 / 5.576 cc / 385 PS / 406 ft/lb (550 Nm) @ 4.000 / 0 - 62 mph (100 km/h): 6,6 s / Vmax: 155 mph (250 km/h) (click images for a larger ...
-
Well Kia is sure going after us "toaster pilot's" out there! Still likin' my xBox though...
-
You know that more than one car are used during a movie, right? One for close ups, one for camera mount hardware, one for glamour shots and ...
-
My back is killing me ( again ), so having all kind of difficulties staying focused today. Be it work; be it blogging; be it life in general...
-
Just three days after Michael Jackson, Coda Automotive's senior vice president of global sales, marketing and distribution, resigned to ...
-
The Internet would not be complete without the the 12 days of Art Cars song to commemorate this Christmas Eve. So here is my attempt at crea...
-
Magic Art Car from Croatia The Magic Art car project was submitted by Dinko Bukvic from Osijek Croatia as part of a kids event...
No comments:
Post a Comment