Click here to Skip to main content
13,094,983 members (84,414 online)
Click here to Skip to main content

Stats

175.7K views
165 bookmarked
Posted 28 Apr 2008

Navigational Workflows Unleashed in WWF/ASP.NET 3.5

, 21 Oct 2008
Case-study on the internals of a Navigational Workflow engine for a fictional dating website called “World Wide Dating”.
DateSite
App_Data
bin
database setup procedure
DateSite.csproj.user
Global.asax
images
complete.png
critical.png
logo2.png
warning.png
Profile.dbml
Profile.dbml.layout
Properties
Service References
NavigationWorkflow
bin
NavigationWorkflow.layout
Properties
<%@ Page Language="C#" MasterPageFile="~/DateSiteMaster.Master" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="DateSite._default" Title="World Wide Dating: Home" %>
<%@ MasterType VirtualPath="~/DateSiteMaster.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <table width="500px">
        <tr>
            <td style="text-align: left;">
                <h3>Create New Profile</h3>
                Dating ID: <asp:TextBox ID="txtDatingId" runat="server" ontextchanged="txtDatingId_TextChanged"></asp:TextBox> 
                <asp:Button ID="btnCreate" runat="server" Text="Create" onclick="btnCreate_Click" />
                <br />
                <asp:RequiredFieldValidator
                    ID="rfvDatingId" 
                    runat="server" 
                    ErrorMessage="Please enter a Dating ID to create."
                    ControlToValidate="txtDatingId" />
            </td>
        </tr>
        <tr>
            <td>
                <hr />
            </td>
        </tr>    
        <tr>
            <td style="text-align: left;">
                <h3>Retrieve/Delete Existing Profiles</h3>
                <asp:GridView ID="gdvExistingProfiles" 
                    AutoGenerateColumns="true" 
                    AutoGenerateDeleteButton="true" 
                    AutoGenerateSelectButton="true"                     
                    CellPadding="5" 
                    OnSelectedIndexChanging="gdvExistingProfiles_SelectedIndexChanging"
                    OnRowDeleting="gdvExistingProfiles_RowDeleting"
                    AlternatingRowStyle-BackColor="LightGray"
                    runat="server">
                </asp:GridView>
            </td>
        </tr>
    </table>

</asp:Content>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Pero Matić
Founder Turing Inc.
United States United States

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170813.1 | Last Updated 21 Oct 2008
Article Copyright 2008 by Pero Matić
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid