asp.net mvc 4 - Storing HttpClient BaseAddress on web.config -
i want store httpclient baseaddress uri on asp.net mvc4 project web.config.
in section correct place add configuration?
add in web.config
<configuration> <appsettings> <add key="baseaddress" value="http://xxx/"/> </appsettings> </configuration>
get value this:
configurationmanager.appsettings["baseaddress"]
Comments
Post a Comment