Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to add service reference to an application when the service does not have an svc file

Posted on 2011-05-05
3
Medium Priority
?
341 Views
Last Modified: 2012-05-11
I am trying to create a client application for a service self hosted using console application. The service is composed of one name space (with the service. operation contracts defined correctly), web.config file with the service model section, but no svc file is created (as I am not going to host it in IIS)

The console hosting application starts the service host correctly, when run.
Now, how to reference the service in the client application to create a proxy, in other words, what to type in the service path before clicking GO to retreive the contract?? REMEMBER there is no svc file, and no asmx file to point the path to????

Thanks for your help
0
Comment
Question by:fmichail
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 35702056
You can just give the base address without the svc file

http://www.emoreau.com/Entries/Articles/2010/10/A-self-hosted-WCF-service.aspx
0
 

Author Closing Comment

by:fmichail
ID: 35756875
That is very good, thanks CodeCruiser, and sorry for being late in replying
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 35758078
Glad to help :-)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question