c# - Consuming multiple WCF services from a single client -


i have hosted 2 wcf services using console application, 1 on port 8080 , other @ port 8090. able create object first service named accountmanagementservice not other service named userregistrationservice.

snapshot below shows 2 services have been added. enter image description here

the second service doesn't show in intellisense @ all.

the complete details of service used can found @ following link(this question asked me): hosting 2 wcf services using single console app

i have tried multiple times deleting , creating new service nothing seems working. please suggest.

based on image, should there. open reference.cs file service not showing in intellisense , check namespace. try creating reference using full name. reference.cs file, click on show files in solution explorer shown below

enter image description here

for example, if in reference.cs, see namespace wwwcf.userregistration foo.bar.wwwcf.userregistration, create instance using

foo.bar.wwwcf.userregistration ref = new foo.bar.wwwcf.userregistration (); 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -