Reputation: 66727
Is it possible to call a WCF service hosted in localhost from a file that is in a directory of our computer (like "C:\Test\") ?
Upvotes: 0
Views: 347
Reputation: 12904
Yes and no.
Yes, by ajax to a remote WCF service.
Otherwise, no, the file would need to be 'processed' by a webserver in order to connect to the service, such as running an .aspx page from IIS.
Upvotes: 2