Tuesday, 15 July 2014

.net - How can I simulate CORS on my LOCAL machine? -



.net - How can I simulate CORS on my LOCAL machine? -

is possible ti create web site in iis7 somehow sits in different domain, 1 of site's pages can test cross-origin-resource-sharing calls wcf service in local host?

you can add together domain names hosts file (%windir%\system32\drivers\etc\hosts) , map 127.0.0.1. requests domain sent local machine.

each domain name add together should treated separately far cors concerned. if you're on windows server sku, can configure iis utilize multiple sites , configure examine host headers determine site responds requests each domain.

.net wcf iis-7 wcf-security cors

No comments:

Post a Comment