Monday, June 13, 2011

Hosting a WCF Service on a Web Server

Hosting a Service on an IIS Web Server
Hosting a service on an IIS Web server is very similar to hosting a traditional Web service. Services exposed this way will be highly available and scalable, but they will require the installation and configuration of an IIS Web server.

To register WCF in IIS Run the following command.

C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>ServiceModelReg.exe -i.

You can host a WCF Service in two different ways.

1. Create WCF service in HTTP mode.
When creating a WCF Service in HTTP Mode it automatically hosted in IIS webserver. To create a service in HTTP Mode, your system must have IIS get installed.

2. Manually host the service in IIS like websites.
You can also do hosting a service by creating a virtual directory in IIS and paste you service files into your virtual directory.

1 comment:


Share trading is very easy if proper hardwork & study is there.If you want to make quick money in market then always trade in blue-chip stocks.never trade in highly volatile & illiquid stocks.Because may be these stock can give you good return but once you stuck in these stocks then you will loose your capital too. SHARE MARKET FREE TIPSBefore trading always select a scrip you want to trade & then give at least half an hour to that particular script after market.This will tell you how the script moved in whole day.Do this atlest 15-20 days.After some time you will get the levels on which it get support& resistances or the range that it is showing .Try to invest half of your investment amount to that script & If price comes down then make the average with your remaining amount.Then wait for a good level for the script.Never trust anyone advise with checking his credibility &accuracy. This will the best process by which you can make a handsome profit without risk.