summaryrefslogtreecommitdiffstats
path: root/samples/OAuthAuthorizationServer/Views/Home/CreateDatabase.aspx
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-07-31 22:01:16 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2010-07-31 22:01:16 -0700
commitc94c7f8197eda673947a9d1e0c0b3f3c4efca94f (patch)
tree0f978cfc2de70c54ac81e11d4339da04dff9f27f /samples/OAuthAuthorizationServer/Views/Home/CreateDatabase.aspx
parent7d38eefb65928a1e80036ec006b0e129dc2cface (diff)
downloadDotNetOpenAuth-c94c7f8197eda673947a9d1e0c0b3f3c4efca94f.zip
DotNetOpenAuth-c94c7f8197eda673947a9d1e0c0b3f3c4efca94f.tar.gz
DotNetOpenAuth-c94c7f8197eda673947a9d1e0c0b3f3c4efca94f.tar.bz2
Split the OAuthServiceProvider sample into two samples: OAuthAuthorizationServer and OAuthResourceServer.
Renamed OAuthConsumer to OAuthClient.
Diffstat (limited to 'samples/OAuthAuthorizationServer/Views/Home/CreateDatabase.aspx')
-rw-r--r--samples/OAuthAuthorizationServer/Views/Home/CreateDatabase.aspx19
1 files changed, 19 insertions, 0 deletions
diff --git a/samples/OAuthAuthorizationServer/Views/Home/CreateDatabase.aspx b/samples/OAuthAuthorizationServer/Views/Home/CreateDatabase.aspx
new file mode 100644
index 0000000..e7d57cc
--- /dev/null
+++ b/samples/OAuthAuthorizationServer/Views/Home/CreateDatabase.aspx
@@ -0,0 +1,19 @@
+<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/Site.Master" %>
+
+<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="MainContent">
+ <% if (ViewData["Success"] != null) {
+ %>
+ <p>
+ Database (re)created!</p>
+ <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>
+ <%
+ }
+ %>
+ <p style="color: Red; font-weight: bold">
+ <%= ViewData["Error"] %>
+ </p>
+</asp:Content>