Click here to Skip to main content
13,053,994 members (91,982 online)
Click here to Skip to main content

Stats

174.6K 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
using System;

namespace DateSite
{
    /// <summary>
    /// Master page of all pages in the web project.
    /// </summary>
    public partial class DateSiteMaster : System.Web.UI.MasterPage
    {
        /// <summary>
        /// Page load code.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            // disable page caching
            Response.Expires = 0;
            Response.Cache.SetNoStore();
            Response.AppendHeader("Pragma", "no-cache");
        }

        /// <summary>
        /// The dating id currently in use by the website.
        /// </summary>
        public string DatingId
        {
            get { return Session["datingId"] == null ? string.Empty : Session["datingId"] as string; }
            set { Session["datingId"] = value; }
        }

        /// <summary>
        /// Update debugging information to help visually display 
        /// the current state of what is going on.
        /// </summary>
        public void UpdateDebuggingPane()
        {
            uxDebuggingPane.Update();
        }
    }
}

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
Web02 | 2.8.170713.1 | Last Updated 21 Oct 2008
Article Copyright 2008 by Pero Matić
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid