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
-
Photo: Diane Edwardson, September 9, 2012. From atop Corralitas Drive. (Click on photo to enlarge.)
-
We don't know if Miami Hit's LeBron James and his LA Laker's rival Kobe Bryant will manage to bring the chic man bag to the mass...
-
V8 / 8.400 cc / 1.700 PS / kompressor (click images for a larger view)
-
Berlin, Salzufer 1, Germany (by the way, this dealership is not only very nice, but also the biggest MB in Europe) 377.000 sqft (35.000 m2) ...
-
mercedes art car , originally uploaded by lomokev . This particular Mercedes Art Car was spotted at burning man some time ago. I am not sure...
-
General Motors announced today that its new 2013 Buick Encore small crossover is rated at an EPA-estimated 25 mpg (9.4lt/100km) city, 33 mp...
-
Photo: Diane Edwardson, June 11, 2012, 11:00 AM. Monday, Red Tail Baby #3 was in and out of the nest all day. (Click on photo to enlarg...
-
Photo: Jerome Courshon, March 9, 2012. (Click on photo to enlarge.) The DWP has moved onto Rockeby from Glendale Blvd. They're diggin...
-
This Radio 96.3 Cool Bus was sent in by Wallie an art school bus from Seymour Indiana created as a promo bus for their radio station. I thi...
-
The sold by SLOT32 extends controller lead by 3 meters! See this link for more information (the listing is at the bottom of the page).


No comments:
Post a Comment