404 BadRequest Due to IIS Configuration ...
If you get 404 BadRequest error from IIS after trying to change host headers in IIS, this is common, but there is a fix!
Fix for IIS configuration changes
How can WCF support multiple IIS bindings for each site ?:
http://tinyurl.com/55q5hg
Correction by Changing WCF Code
, , :
, ! WCF, SSL
http://geekswithblogs.net/rakker/archive/2008/07/03/123562.aspx
...
, IIS:
, ...
" IIS wcf "
, GeeksWithBlogs.net, :
, ...
...
WCF , , . - , .
( - ) WCF IIS - - ASMX.
, , WCF, , , , -. "Application Service WCF" ( " " "" # VB).
, , . - -, , , , . - ASMX, , .
ASMX WCF -, , , , , .
URL
SVC ASMX - URL-, . , . , - ASMX, , - , web.config.
URL-...
- HTTP:.// /WcfService1/Service1 SVC
- HTTP:.// /WcfService1/Service1 ASMX
- http:// MachineName MachineFQN/WcfService1/Service1. svc
- http:// MachineName MachineFQN/WcfService1/Service1. asmx
- HTTP:.// MachineLocalIP # 1/WcfService1/Service1 SVC
- HTTP:.// MachineLocalIP # 1/WcfService1/Service1 ASMX
- HTTP:.// MachineLocalIP # 2/WcfService1/Service1 SVC
- HTTP:.// MachineLocalIP # 2/WcfService1/Service1 ASMX
- HTTP:.// ExternalIP/WcfService1/Service1 SVC
- HTTP:.// ExternalIP/WcfService1/Service1 ASMX
.
, - - ASMX URL-, -. , - ASMX -...
- WCF, - ASMX WcfTestClient.exe, Visual Studio 2008 (C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE).
- > , URL- URL- , . SVC ASMX. , MEX, "httpGetEnabled" <serviceMetadata/> web.config, , , :

:
, , WCF, , , , .
WCF, - ASMX , , , web.config .
- , :
, , WCF - ASMX: