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


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

Posted on 2011-05-05
Medium Priority
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
Question by:fmichail
  • 2
LVL 83

Accepted Solution

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


Author Closing Comment

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

Expert Comment

ID: 35758078
Glad to help :-)

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