TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sandeep Singh Shekhawat
NA
19.9k
30.3m
How can host WCF Service Application on IIS?
May 29 2013 12:09 AM
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
Answers (
14
)
Claim Based Authentication in WCF
Deploying a WCF Service