Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Consume The Wcf Rest based Service running on IIS using Console application?

$
0
0

Now that we have our service running in IIS and secured with SSL certificate,Now i want to consume the service. using console application,

How can i do this?

I tried 

Normally  i added service references in console application,
Code will be

ServiceClient ccc=new ServiceClient();
Console.WriteLine(ccc.show());

After running this client application getting an error
The client application does not trust the service. You can fix this by inspecting the certificate which the service hands over to the client.

How can i write the code in Console application.With certificate


anilbabu


Viewing all articles
Browse latest Browse all 4189

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>