Thứ Ba, 25 tháng 9, 2012

Dotnet Tips: IIS Cấu hình Deploy WCF Net 4.0


Here it is the solution for Config .net run WCF:

1) Click on “Start” -> “Run” -> Enter “cmd” to launch “Command Prompt

2) Type: “C:” and press “Enter

3) Enter the following command on the command prompt
cd “WINDOWSMicrosoft.NETFrameworkv4.0.30319″ <-for 32bit machine
cd “WINDOWSMicrosoft.NETFramework64v4.0.30319″ <-for 64bit machine
The version number maybe different on different machine, at the moment the .net framework which installed on my machine is v4.0.30319.
If you could not found it you can try to use the search feature on Windows to local “aspnet_regiis.exe” file

4) Then you can enter the following command to register asp.net to your IIS server
aspnet_regiis.exe -i

Once you have installed it you should be able to view the WCF service which you deployed to your IIS server.
Hope you found it useful.

0 nhận xét:

Đăng nhận xét