[Mono-dev] Environment.GetEnvironmentVariable() not working in Linux ASP.NET app
H .
test051102 at hotmail.com
Thu Nov 3 08:51:00 EDT 2011
Environment.GetEnvironmentVariable("no_proxy") not working in Linux ASP.NET app
After configuring proxies in Ubuntu, the environment variable no_proxy contains the list of proxies to bypass. Using Environment.GetEnvironmentVariable("no_proxy") we can retrieve the content of this environment variable as a string. This is working fine in standard C# applications.
However, when calling Environment.GetEnvironmentVariable("no_proxy") within an ASP.NET application, the return value is always null. As a result, the current proxy support in Mono fails to establish the list of proxies to bypass.
I am wondering how Environment.GetEnvironmentVariable() is working behind the scenes. I guess the reason why it
fails in ASP.NET is related to some kind of a permission issue.
Does anybody know more about the implementation details of Environment.GetEnvironmentVariable() in Mono?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111103/3de63fb4/attachment.html
More information about the Mono-devel-list
mailing list