Windows Server AppFabric / Workflow Services Demo - Contoso HR

This sample demonstrates how you can use a Windows Workflow Foundation (WF4) Workflow Service and Windows Server AppFabric to construct a long running business process.

C# (6.3 MB)
 
 
 
 
 
4.9 Star
(8)
6,155 times
Add to favorites
12/3/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="HRApplicationServices.Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Join Our Team
    </h2>
    <p>
        Contoso offers world class opportunities for qualified applicants. Apply today!
    </p>
    <asp:Table ID="Table1" runat="server" Width="381px">
        <asp:TableRow>
            <asp:TableCell HorizontalAlign="Right">Name</asp:TableCell>
            <asp:TableCell>
                <asp:TextBox ID="txtName" runat="server" Width="300" />
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell HorizontalAlign="Right">email</asp:TableCell><asp:TableCell>
                <asp:TextBox ID="txtEmail" runat="server" Width="300" />
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell HorizontalAlign="Right">Education</asp:TableCell><asp:TableCell>
                <asp:DropDownList ID="ddEducation" runat="server" Width="300">
                    <asp:ListItem>None</asp:ListItem>
                    <asp:ListItem>Bachelors</asp:ListItem>
                    <asp:ListItem>Masters</asp:ListItem>
                    <asp:ListItem>Doctorate</asp:ListItem>
                </asp:DropDownList>
            </asp:TableCell></asp:TableRow><asp:TableRow>
            <asp:TableCell></asp:TableCell><asp:TableCell>
                <asp:Button ID="buttonApply" runat="server" Text="Apply" OnClick="ButtonApplyClick" Width="200" /></asp:TableCell>
        </asp:TableRow>
    </asp:Table>
</asp:Content>