Is there a way to accept any hostheader with ASP.Net WebApi eg:
var config = new HttpSelfHostConfiguration(http://*:8080);
which I would expect to accept any host header
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Webapi appears to accept any host header (domain) for a self hosted service. For example if you bind
webapi will accept calls from
http://aaa:8080(assuming dns is pointing to the machine)or
This is not terribly intuitive