Windows Azure ASP.NET Providers Sample

The Windows Azure ASP.NET Providers sample shows how to use tables and blobs in Windows Azure storage to host Membership records, Profile records, Role records and Session State information with custom ASP.NET Providers.

C# (7.1 MB)
4.1 Star
7,104 times
Add to favorites
E-mail Twitter Digg Facebook

Solution explorer

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" 
    CodeBehind="ChangeRoles.aspx.cs" Inherits="AspProvidersDemoWebRole.Account.ChangeRoles" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
        Add and Remove Roles for Your Account
        Select the roles to associate your account with.
    <div class="accountInfo">
        <asp:ListBox ID="AvailableRoles" runat="server" SelectionMode="Multiple" 
            Height="284px" Width="320px" ></asp:ListBox>
        <p class="submitButton">
            <asp:Button ID="ChangeRolesButton" runat="server" Text="Save Changes" OnClick="ChangeRolesButton_Click" />
         <br />
         <br />
           <asp:Button ID="RevertRolesButton" runat="server" Text="Revert Changes" OnClick="RevertRolesButton_Click" />
        <asp:Label ID="ErrorLabel" runat="server" CssClass="failureNotification"></asp:Label>