Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
14
Reply
How can host WCF Service Application on IIS?
Sandeep Singh Shekhawat
May 29 2013 12:09 AM
12.2k
I have a WCF Service Application and want to host on IIS.
WCF Service Application has a .svc file like
<%
@
ServiceHost
Language
="C#"
Debug
="true"
Service
="WcfService1.Service1"
%>
I created a new website on IIS and physical path map to WCF Application created web folder and give host name like "demo" and port number:80
Now I browse website from iis
http://demo/
and did not get .svc file in url or page.
Note:
1. WCF Service Application has one .svc file.
2. WCF Service Application doesn't containe .svc.cs file but it has .cs file to implement service contrat.So
I need to create a svc.cs file instead of .cs file to imlement service contract.
3.WCF Service Application has another .cs file for service contract.
How can I host WCF Service application on IIS?
Reply
Upload Source Code
Select only zip and rar file.
Post
Reset
Answers (
14
)
Claim Based Authentication in WCF
Deploying a WCF Service