I have a AppHostHttpListenerBase
that I’m using for unit tests, but it doesn’t seem to be picking up my web.config
because the AppSettings
is empty in unit tests. Is there a way to get it to pick up web.config
?
For every other non-web application in .NET you need to use App.config
instead.