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
-
S4 / 1.984 cc / 200 PS / 207 ft/lb (280 Nm) @ 1.700 - 5.000 / turbo / AWD (click images for a larger view)
-
these photos are from a gallery I posted http://justacarguy.blogspot.com/2011/04/gourmet-feed-trucks-were-gathered-to.html when I accident...
-
Honda nearing capacity at Swindon Honda's UK factory in Swindon, which builds the Civic and CR-V models , will be working at its peak o...
-
Boxstr continues being absolutely useless. Seems like it's (occasionally) possible to download songs previously uploaded, but for the p...
-
Electric / 63 PS / 133 ft/lb (180 Nm) / 0 - 62 mph (100 km/h): 11,4 s / Vmax: 91 mph (146 km/h) / range: 115 miles (185 km) (click images ...
-
For the second time this summer, Kia is teasing the upcoming Carens compact MPV with a set of sketches that were released in advance of the...
-
So, yeah. There's always a simmering debate among writers about whether or not to respond to bad reviews. In one recent article titled W...
-
The all-new 2013 ATS premium compact sedan will be taking the spotlight on Cadillac’s stand at the upcoming Paris Motor Show as the automak...
-
SS: V8 / 6.162 cc / 432 PS / 420 lb/ft (569 Nm) @ 4.600 ZL1: V8 / 6.162 cc / 556 PS / 556 lb/ft (746 Nm) @ 3.800 (click images for a larger ...
-
V8 / 4.806 cc / 430 PS / 384 ft/lb (520 Nm) @ 3.500 / AWD / 0 - 62 mph (100 km/h): 4,5 s / Vmax: 179 mph (288 km/h) (click images for a la...
No comments:
Post a Comment