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
Marek
NA
1
0
How to access service from server
May 8 2009 10:08 AM
Hi, i just started working with wcf and maybe this is really stupid question, but I haven't found any solution anywhere. I have simple console server application. i.e.:
ServiceHost host = new ServiceHost(typeof(SomeNamespace.Service));
Uri address = new Uri(@"http://localhost:8080");
host.AddServiceEndpoint(typeof(SomeNamespace.IService), new WSHttpBinding(), address);
...and my question is: can I somehow access the instance of the service SomeNamespace.Service ? I can acces this instance through OperationContract from client app, but is there some way to access it directly?
Thank you !
Reply
Answers (
1
)
WCF-help
WCF Host not running from exe file