summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdRelyingPartyClassicAsp/default.asp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OpenIdRelyingPartyClassicAsp/default.asp')
-rw-r--r--samples/OpenIdRelyingPartyClassicAsp/default.asp39
1 files changed, 39 insertions, 0 deletions
diff --git a/samples/OpenIdRelyingPartyClassicAsp/default.asp b/samples/OpenIdRelyingPartyClassicAsp/default.asp
new file mode 100644
index 0000000..bdddbcc
--- /dev/null
+++ b/samples/OpenIdRelyingPartyClassicAsp/default.asp
@@ -0,0 +1,39 @@
+<!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>DotNetOpenAuth Classic ASP sample</title>
+ <link href="styles.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+ <div>
+ <a href="http://DotNetOpenId.googlecode.com">
+ <img runat="server" src="images/DotNetOpenId_tiny.gif" title="Jump to the project web site."
+ alt="DotNetOpenAuth" border='0' /></a>
+ </div>
+ <h2>Classic ASP OpenID Relying Party</h2>
+ <p>Visit the <a href="MembersOnly.asp">Members Only</a> area. (This will trigger
+ a login demo). </p>
+ <h3>Required steps for this sample to work on your own machine:</h3>
+ <p>Although classic ASP cannot access .NET assemblies directly, it does know how to
+ call COM components.&nbsp; DotNetOpenAuth exposes a COM server to allow classic ASP
+ and other COM clients to utilize it for easy OpenID support. The DotNetOpenAuth.dll
+ assembly must be registered as a COM server on each development box and web server
+ in order for COM clients such as classic ASP to find it.</p>
+ <p>To register DotNetOpenAuth as a COM server, complete these steps.</p>
+ <ol>
+ <li>At an administrator command prompt, navigate to a directory where the DotNetOpenAuth
+ assembly is found.</li>
+ <li>Register DotNetOpenAuth as a COM server:<br />
+ <span class="command">%windir%\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe
+ /tlb DotNetOpenAuth.dll</span></li>
+ <li>Install DotNetOpenAuth into the GAC.&nbsp; The gacutil.exe tool may be in an SDK
+ directory, which will be in your path if you opened a Visual Studio Command Prompt.<br />
+ <span class="command">gacutil.exe /i DotNetOpenAuth.dll</span></li>
+ </ol>
+ <p>Another thing to be aware of is that with classic ASP there is no Web.config
+ file in which to customize DotNetOpenAuth behavior.&nbsp; And the COM interfaces
+ that DotNetOpenAuth exposes are a very limited subset of full functionality
+ available to .NET clients.&nbsp; Please send feature requests to
+ <a href="mailto:DotNetOpenId@googlegroups.com">DotNetOpenId@googlegroups.com</a>.</p>
+</body>
+</html>