aF.
aF.

Reputation: 66727

How to call WCF service application from local html file?

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

Answers (1)

Kinexus
Kinexus

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

Related Questions