Click here to Skip to main content
15,844,477 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello ,

I want to create a windows service to install on users machines , this service windows contain a WCF (self hosted ) .

After that , my website would call this WCF .

on localhost it all works normally.

But when my site is on published on azure app didn't work.

How do I consume a WCF web ?

Web site is on Azure.
And WCF is on the user machine .

The port is open using the command : netsh http add urlacl url = http : // +: 4321 / StudentService user = MYCOMPUTER \ MYUSER

What I have tried:

i tried consuming from c# to c#.
Consuming from ajax, i received problem with cors.
Sergey Alexandrovich Kryukov 22-May-16 21:03pm    
Not clear. What is "consuming from Ajax", and why? "Received problems" is not informative. What is the purpose of all that? Would you consider some server push technology instead?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900