summaryrefslogtreecommitdiffstats
path: root/src/OAuth/OAuthServiceProvider/Default.aspx
diff options
context:
space:
mode:
Diffstat (limited to 'src/OAuth/OAuthServiceProvider/Default.aspx')
-rw-r--r--src/OAuth/OAuthServiceProvider/Default.aspx13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/OAuth/OAuthServiceProvider/Default.aspx b/src/OAuth/OAuthServiceProvider/Default.aspx
new file mode 100644
index 0000000..3e5d820
--- /dev/null
+++ b/src/OAuth/OAuthServiceProvider/Default.aspx
@@ -0,0 +1,13 @@
+<%@ Page Title="DotNetOpenAuth Service Provider Sample" Language="C#" MasterPageFile="~/MasterPage.master" CodeBehind="~/Default.aspx.cs" Inherits="OAuthServiceProvider._Default" AutoEventWireup="True" %>
+
+<%@ Import Namespace="System.IO" %>
+<%@ Import Namespace="System.Data.SqlClient" %>
+
+<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="Server">
+ <asp:Button ID="createDatabaseButton" runat="server" Text="(Re)create Database" OnClick="createDatabaseButton_Click" />
+ <asp:Label runat="server" ID="databaseStatus" EnableViewState="false" Text="Database recreated!"
+ Visible="false" />
+ <p>Note that to be useful, you really need to either modify the database to add an
+ account with data that will be accessed by this sample, or modify this very page
+ to inject that data into the database. </p>
+</asp:Content>