diff options
Diffstat (limited to 'samples/Consumer/SampleWcf.aspx')
-rw-r--r-- | samples/Consumer/SampleWcf.aspx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/samples/Consumer/SampleWcf.aspx b/samples/Consumer/SampleWcf.aspx index aad8a88..6dfd56e 100644 --- a/samples/Consumer/SampleWcf.aspx +++ b/samples/Consumer/SampleWcf.aspx @@ -2,12 +2,23 @@ CodeFile="SampleWcf.aspx.cs" Inherits="SampleWcf" %>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="Server">
- <asp:Button ID="getAuthorizationButton" runat="server" Text="Get Authorization" OnClick="getAuthorizationButton_Click" />
- <asp:Label ID="authorizationLabel" 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>
|