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
Arvind Singh
320
5.7k
775.7k
Ho to remove .svc from url in wcf rest service in .Net 3.5
Sep 2 2016 2:46 AM
Hi
I want to remove the extension from service url, shown below
http://localhost:58957/FOSUpdateAML.svc
remove .svc i want url only like this http://localhost:58957/FOSUpdateAML
i dont want to rewrite url in IIS, i want to do this from my service or config file i used this
<serviceHostingEnvironment>
<serviceActivations>
<add factory="System.ServiceModel.Activation.ServiceHostFactory"
relativeAddress="/YourService"
service="SomeNamespace.YourService"/>
</serviceActivations>
</serviceHostingEnvironment>
but it is giving error as the element serviceHostingEnvironment has invalid child element serviceActivations.
Reply
Answers (
1
)
WCF service Contract
XML security namespace from WCF code