This repository has been archived by the owner on Mar 20, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
10,514 additions
and
10,514 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> | ||
<PropertyGroup> | ||
<ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..</ProjectRoot> | ||
</PropertyGroup> | ||
|
||
<UsingTask AssemblyFile="$(ProjectRoot)\lib\DotNetOpenId.BuildTasks.dll" TaskName="GetBuildVersion" /> | ||
<UsingTask AssemblyFile="$(ProjectRoot)\lib\DotNetOpenId.BuildTasks.dll" TaskName="SetEnvironmentVariable" /> | ||
<UsingTask AssemblyFile="$(ProjectRoot)\lib\DotNetOpenId.BuildTasks.dll" TaskName="ChangeProjectReferenceToAssemblyReference" /> | ||
<UsingTask AssemblyFile="$(ProjectRoot)\lib\DotNetOpenId.BuildTasks.dll" TaskName="CompareFiles" /> | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> | ||
<PropertyGroup> | ||
<ProjectRoot Condition="'$(ProjectRoot)' == ''">$(MSBuildProjectDirectory)\..\..</ProjectRoot> | ||
</PropertyGroup> | ||
|
||
<UsingTask AssemblyFile="$(ProjectRoot)\lib\DotNetOpenId.BuildTasks.dll" TaskName="GetBuildVersion" /> | ||
<UsingTask AssemblyFile="$(ProjectRoot)\lib\DotNetOpenId.BuildTasks.dll" TaskName="SetEnvironmentVariable" /> | ||
<UsingTask AssemblyFile="$(ProjectRoot)\lib\DotNetOpenId.BuildTasks.dll" TaskName="ChangeProjectReferenceToAssemblyReference" /> | ||
<UsingTask AssemblyFile="$(ProjectRoot)\lib\DotNetOpenId.BuildTasks.dll" TaskName="CompareFiles" /> | ||
|
||
</Project> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
<%@ Application Language="C#" %> | ||
|
||
<script RunAt="server"> | ||
void Application_Start(object sender, EventArgs e) { | ||
log4net.Config.XmlConfigurator.Configure(); | ||
Logging.Logger.Info("Sample starting..."); | ||
} | ||
void Application_End(object sender, EventArgs e) { | ||
Logging.Logger.Info("Sample shutting down..."); | ||
// this would be automatic, but in partial trust scenarios it is not. | ||
log4net.LogManager.Shutdown(); | ||
} | ||
void Application_Error(object sender, EventArgs e) { | ||
// Code that runs when an unhandled error occurs | ||
} | ||
void Session_Start(object sender, EventArgs e) { | ||
// Code that runs when a new session is started | ||
} | ||
void Session_End(object sender, EventArgs e) { | ||
// Code that runs when a session ends. | ||
// Note: The Session_End event is raised only when the sessionstate mode | ||
// is set to InProc in the Web.config file. If session mode is set to StateServer | ||
// or SQLServer, the event is not raised. | ||
} | ||
</script> | ||
<%@ Application Language="C#" %> | ||
|
||
<script RunAt="server"> | ||
void Application_Start(object sender, EventArgs e) { | ||
log4net.Config.XmlConfigurator.Configure(); | ||
Logging.Logger.Info("Sample starting..."); | ||
} | ||
void Application_End(object sender, EventArgs e) { | ||
Logging.Logger.Info("Sample shutting down..."); | ||
// this would be automatic, but in partial trust scenarios it is not. | ||
log4net.LogManager.Shutdown(); | ||
} | ||
void Application_Error(object sender, EventArgs e) { | ||
// Code that runs when an unhandled error occurs | ||
} | ||
void Session_Start(object sender, EventArgs e) { | ||
// Code that runs when a new session is started | ||
} | ||
void Session_End(object sender, EventArgs e) { | ||
// Code that runs when a session ends. | ||
// Note: The Session_End event is raised only when the sessionstate mode | ||
// is set to InProc in the Web.config file. If session mode is set to StateServer | ||
// or SQLServer, the event is not raised. | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
<%@ Page Title="Gmail address book demo" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" | ||
CodeFile="GoogleAddressBook.aspx.cs" Inherits="GoogleAddressBook" %> | ||
|
||
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="Server"> | ||
<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> | ||
<asp:View runat="server" ID="Authorize"> | ||
<table> | ||
<tr> | ||
<td> | ||
Google Consumer Key | ||
</td> | ||
<td> | ||
<asp:TextBox ID="consumerKeyBox" runat="server" Columns="35"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" | ||
ControlToValidate="consumerKeyBox" Display="Dynamic" | ||
ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
Google Consumer Secret | ||
</td> | ||
<td> | ||
<asp:TextBox ID="consumerSecretBox" runat="server" Columns="35"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" | ||
ControlToValidate="consumerSecretBox" Display="Dynamic">*</asp:RequiredFieldValidator> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
</td> | ||
<td> | ||
Don't have a Google Consumer Key? | ||
<a href="https://www.google.com/accounts/ManageDomains">Get one</a>.</td> | ||
</tr> | ||
</table> | ||
<asp:Button ID="authorizeButton" runat="server" Text="Download your Gmail Address Book" | ||
OnClick="authorizeButton_Click" /> | ||
</asp:View> | ||
<asp:View runat="server" ID="Results"> | ||
<p>Now displaying the first 25 records from your address book:</p> | ||
<asp:PlaceHolder runat="server" ID="resultsPlaceholder" /> | ||
</asp:View> | ||
</asp:MultiView> | ||
</asp:Content> | ||
<%@ Page Title="Gmail address book demo" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" | ||
CodeFile="GoogleAddressBook.aspx.cs" Inherits="GoogleAddressBook" %> | ||
|
||
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="Server"> | ||
<asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> | ||
<asp:View runat="server" ID="Authorize"> | ||
<table> | ||
<tr> | ||
<td> | ||
Google Consumer Key | ||
</td> | ||
<td> | ||
<asp:TextBox ID="consumerKeyBox" runat="server" Columns="35"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" | ||
ControlToValidate="consumerKeyBox" Display="Dynamic" | ||
ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
Google Consumer Secret | ||
</td> | ||
<td> | ||
<asp:TextBox ID="consumerSecretBox" runat="server" Columns="35"></asp:TextBox> | ||
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" | ||
ControlToValidate="consumerSecretBox" Display="Dynamic">*</asp:RequiredFieldValidator> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
</td> | ||
<td> | ||
Don't have a Google Consumer Key? | ||
<a href="https://www.google.com/accounts/ManageDomains">Get one</a>.</td> | ||
</tr> | ||
</table> | ||
<asp:Button ID="authorizeButton" runat="server" Text="Download your Gmail Address Book" | ||
OnClick="authorizeButton_Click" /> | ||
</asp:View> | ||
<asp:View runat="server" ID="Results"> | ||
<p>Now displaying the first 25 records from your address book:</p> | ||
<asp:PlaceHolder runat="server" ID="resultsPlaceholder" /> | ||
</asp:View> | ||
</asp:MultiView> | ||
</asp:Content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" | ||
CodeFile="SampleWcf.aspx.cs" Inherits="SampleWcf" %> | ||
|
||
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="Server"> | ||
<fieldset title="Authorization"> | ||
<asp:CheckBoxList runat="server" ID="scopeList"> | ||
<asp:ListItem Value="http://tempuri.org/IDataApi/GetName">GetName</asp:ListItem> | ||
<asp:ListItem Value="http://tempuri.org/IDataApi/GetAge">GetAge</asp:ListItem> | ||
<asp:ListItem Value="http://tempuri.org/IDataApi/GetFavoriteSites">GetFavoriteSites</asp:ListItem> | ||
</asp:CheckBoxList> | ||
<asp:Button ID="getAuthorizationButton" runat="server" Text="Get Authorization" OnClick="getAuthorizationButton_Click" /> | ||
<asp:Label ID="authorizationLabel" runat="server" /> | ||
</fieldset> | ||
<br /> | ||
<asp:Button ID="getNameButton" runat="server" Text="Get Name" OnClick="getNameButton_Click" /> | ||
<asp:Label ID="nameLabel" runat="server" /> | ||
<br /> | ||
<asp:Button ID="getAgeButton" runat="server" Text="Get Age" OnClick="getAgeButton_Click" /> | ||
<asp:Label ID="ageLabel" runat="server" /> | ||
<br /> | ||
<asp:Button ID="getFavoriteSites" runat="server" Text="Get Favorite Sites" | ||
onclick="getFavoriteSites_Click" /> | ||
<asp:Label ID="favoriteSitesLabel" runat="server" /> | ||
</asp:Content> | ||
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" | ||
CodeFile="SampleWcf.aspx.cs" Inherits="SampleWcf" %> | ||
|
||
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="Server"> | ||
<fieldset title="Authorization"> | ||
<asp:CheckBoxList runat="server" ID="scopeList"> | ||
<asp:ListItem Value="http://tempuri.org/IDataApi/GetName">GetName</asp:ListItem> | ||
<asp:ListItem Value="http://tempuri.org/IDataApi/GetAge">GetAge</asp:ListItem> | ||
<asp:ListItem Value="http://tempuri.org/IDataApi/GetFavoriteSites">GetFavoriteSites</asp:ListItem> | ||
</asp:CheckBoxList> | ||
<asp:Button ID="getAuthorizationButton" runat="server" Text="Get Authorization" OnClick="getAuthorizationButton_Click" /> | ||
<asp:Label ID="authorizationLabel" runat="server" /> | ||
</fieldset> | ||
<br /> | ||
<asp:Button ID="getNameButton" runat="server" Text="Get Name" OnClick="getNameButton_Click" /> | ||
<asp:Label ID="nameLabel" runat="server" /> | ||
<br /> | ||
<asp:Button ID="getAgeButton" runat="server" Text="Get Age" OnClick="getAgeButton_Click" /> | ||
<asp:Label ID="ageLabel" runat="server" /> | ||
<br /> | ||
<asp:Button ID="getFavoriteSites" runat="server" Text="Get Favorite Sites" | ||
onclick="getFavoriteSites_Click" /> | ||
<asp:Label ID="favoriteSitesLabel" runat="server" /> | ||
</asp:Content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TracePage.aspx.cs" Inherits="TracePage" %> | ||
|
||
<!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 runat="server"> | ||
<title></title> | ||
</head> | ||
<body> | ||
<form id="form1" runat="server"> | ||
<p align="right"> | ||
<asp:Button runat="server" Text="Clear log" ID="clearLogButton" OnClick="clearLogButton_Click" /> | ||
</p> | ||
<pre> | ||
<asp:PlaceHolder runat="server" ID="placeHolder1" /> | ||
</pre> | ||
</form> | ||
</body> | ||
</html> | ||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TracePage.aspx.cs" Inherits="TracePage" %> | ||
|
||
<!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 runat="server"> | ||
<title></title> | ||
</head> | ||
<body> | ||
<form id="form1" runat="server"> | ||
<p align="right"> | ||
<asp:Button runat="server" Text="Clear log" ID="clearLogButton" OnClick="clearLogButton_Click" /> | ||
</p> | ||
<pre> | ||
<asp:PlaceHolder runat="server" ID="placeHolder1" /> | ||
</pre> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<Application x:Class="ConsumerWpf.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
StartupUri="MainWindow.xaml"> | ||
<Application.Resources> | ||
|
||
</Application.Resources> | ||
</Application> | ||
<Application x:Class="ConsumerWpf.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
StartupUri="MainWindow.xaml"> | ||
<Application.Resources> | ||
|
||
</Application.Resources> | ||
</Application> |
Oops, something went wrong.