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="Manage Roles" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" 
    CodeBehind="ManageRoles.aspx.cs" Inherits="AspProvidersDemoWebRole.ManageRoles" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
        Manage Roles
        <asp:ListBox ID="AvailableRoles" runat="server" SelectionMode="Multiple" 
            Height="284px" Width="320px"></asp:ListBox>
        <asp:Label ID="LabelNewRole" runat="server" Text="Add new role:"></asp:Label>
        <asp:TextBox ID="TextBoxNewRole" runat="server"></asp:TextBox>
        <asp:Button ID="ButtonNewRole" runat="server" Text="Add New Role" OnClick="ButtonNewRole_Click" />
        <br />
        <asp:Label ID="ErrorLabel" runat="server"></asp:Label>