summaryrefslogtreecommitdiffstats
path: root/doc/WebFarms.htm
blob: 5ae924d310e054ae50371e50ebe88ed775cb1d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Notes on implementing DotNetOpenId on web farms</title>
</head>
<body>
	<h3>
		Non-ASP.NET web servers</h3>
	<p>
		DotNetOpenAuth works without being a part of an ASP.NET web site.&nbsp; The ASP.NET
		controls may not be used in this context, but the programmatic access to the OpenIdProvider
		and OpenIdRelyingParty classes will work correctly if you call the method overloads
		that do not require a current ASP.NET context.&nbsp; The xml doc comments indicate
		which methods require an ASP.NET context and which methods may be used without one.</p>
	<h3>
		Proxy servers</h3>
	<p>
		If your web servers need to use proxy servers to make outbound requests, you will
		need to configure your .NET AppDomain to default to the proxy server you require
		so that DotNetOpenAuth will use it.&nbsp;
	</p>
	<p>
		To set the default web proxy programmatically, set the System.Net.WebRequest.DefaultWebProxy
		property.</p>
	<p>
		To use the default proxy using your web.config file, add this section:<br />
		<pre>&lt;system.net&gt;
	&lt;defaultProxy enabled=&quot;true&quot; /&gt;
&lt;/system.net&gt;</pre>
	</p>
</body>
</html>