If
you haven't created the WCF Service go to following link to create
the Service.
If
you create the WCF Service follow the following Step to Host WCF
Service inside IIS
Note
:- Step based on Windows 10 Operating System
Step
1 :- To Open the IIS Manager, Search "Run" in Search
Windows => Click/Enter "Run" => "Run"
Window box Open => Type "inetmgr" => Click/Enter "OK"
Or
Search
"inetmgr" in Search Windows => Click/Enter "Internet
Information Services (IIS) Manager"
Step
2:- Right Click Sites => Add Website...
Step
3:- Fill Details... => Click OK => WCF Website added under
Sites List
Site
name
:- WCF
Physical
path :-
D:\DEMO\WCF\EmployeeWcfService\EmployeeWcfService
Port
:- 52923
Step
4:- Select the WCF Website and switch to Features View to Content
View
Step
5:- Select the EmployeeService.svc => Right Click
EmployeeService.svc => Select Browse
Step
6:- If following screen appear, Your WCF service is running and
hosted on IIS Successfully => Use following URL to Consume the
Service.
URL
:- http://localhost:52923/EmployeeService.svc?wsdl
Now
your WCF Service running on IIS, to check it follow the following
link to consume it.
No comments:
Post a Comment