I am trying to do some unit testing in for a Web API project. I am going simulate the web API hosting environment. It seems like that I could use In memory host (HttpServer) or self host (HttpSelfHostServer).
Just wondering what are the difference and which technology is good for what and is there any limitation for those options.
config.HostNameComparisonMode = System.ServiceModel.HostNameComparisonMode.Exact;
to run as non-admin if you are listening locally. – Gist