Click here to Skip to main content
15,885,767 members
Articles / Web Development / ASP.NET

Navigational Workflows Unleashed in WWF/ASP.NET 3.5

Rate me:
Please Sign up or sign in to vote.
4.97/5 (42 votes)
21 Oct 2008CPOL18 min read 224.9K   1.6K   165  
Case-study on the internals of a Navigational Workflow engine for a fictional dating website called “World Wide Dating”.
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.21022</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{211EFF95-6FC3-4835-B1A2-21107D9DD960}</ProjectGuid>
    <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>DateSite</RootNamespace>
    <AssemblyName>DateSite</AssemblyName>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data.Linq">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Workflow.Activities">
      <RequiredTargetFramework>3.0</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Workflow.Runtime">
      <RequiredTargetFramework>3.0</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Xml.Linq">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Drawing" />
    <Reference Include="System.Web" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Configuration" />
    <Reference Include="System.Web.Services" />
    <Reference Include="System.EnterpriseServices" />
    <Reference Include="System.Web.Mobile" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Web.config" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="appearance.aspx.cs">
      <DependentUpon>appearance.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="appearance.aspx.designer.cs">
      <DependentUpon>appearance.aspx</DependentUpon>
    </Compile>
    <Compile Include="basics.aspx.cs">
      <DependentUpon>basics.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="basics.aspx.designer.cs">
      <DependentUpon>basics.aspx</DependentUpon>
    </Compile>
    <Compile Include="complete.aspx.cs">
      <DependentUpon>complete.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="complete.aspx.designer.cs">
      <DependentUpon>complete.aspx</DependentUpon>
    </Compile>
    <Compile Include="Database.cs" />
    <Compile Include="DateSiteMaster.Master.cs">
      <DependentUpon>DateSiteMaster.Master</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="DateSiteMaster.Master.designer.cs">
      <DependentUpon>DateSiteMaster.Master</DependentUpon>
    </Compile>
    <Compile Include="DebuggingPane.ascx.cs">
      <DependentUpon>DebuggingPane.ascx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="DebuggingPane.ascx.designer.cs">
      <DependentUpon>DebuggingPane.ascx</DependentUpon>
    </Compile>
    <Compile Include="default.aspx.cs">
      <DependentUpon>default.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="default.aspx.designer.cs">
      <DependentUpon>default.aspx</DependentUpon>
    </Compile>
    <Compile Include="genericError.aspx.cs">
      <DependentUpon>genericError.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="genericError.aspx.designer.cs">
      <DependentUpon>genericError.aspx</DependentUpon>
    </Compile>
    <Compile Include="Global.asax.cs">
      <DependentUpon>Global.asax</DependentUpon>
    </Compile>
    <Compile Include="interests.aspx.cs">
      <DependentUpon>interests.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="interests.aspx.designer.cs">
      <DependentUpon>interests.aspx</DependentUpon>
    </Compile>
    <Compile Include="lifestyle.aspx.cs">
      <DependentUpon>lifestyle.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="lifestyle.aspx.designer.cs">
      <DependentUpon>lifestyle.aspx</DependentUpon>
    </Compile>
    <Compile Include="NavigationPane.ascx.cs">
      <DependentUpon>NavigationPane.ascx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="NavigationPane.ascx.designer.cs">
      <DependentUpon>NavigationPane.ascx</DependentUpon>
    </Compile>
    <Compile Include="Profile.designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Profile.dbml</DependentUpon>
    </Compile>
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="unknownError.aspx.cs">
      <DependentUpon>unknownError.aspx</DependentUpon>
      <SubType>ASPXCodeBehind</SubType>
    </Compile>
    <Compile Include="unknownError.aspx.designer.cs">
      <DependentUpon>unknownError.aspx</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <WCFMetadata Include="Service References\" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="appearance.aspx" />
    <Content Include="basics.aspx" />
    <Content Include="complete.aspx" />
    <Content Include="database setup procedure\_readme.txt" />
    <Content Include="DateSiteMaster.Master" />
    <Content Include="DebuggingPane.ascx" />
    <Content Include="default.aspx" />
    <Content Include="genericError.aspx" />
    <Content Include="Global.asax" />
    <Content Include="images\complete.png" />
    <Content Include="images\critical.png" />
    <Content Include="images\logo2.png" />
    <Content Include="images\warning.png" />
    <Content Include="interests.aspx" />
    <Content Include="lifestyle.aspx" />
    <Content Include="NavigationPane.ascx" />
    <Content Include="unknownError.aspx" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Profile.dbml">
      <Generator>MSLinqToSQLGenerator</Generator>
      <LastGenOutput>Profile.designer.cs</LastGenOutput>
      <SubType>Designer</SubType>
    </None>
  </ItemGroup>
  <ItemGroup>
    <Service Include="{3259AA49-8AA1-44D3-9025-A0B520596A8C}" />
  </ItemGroup>
  <ItemGroup>
    <None Include="database setup procedure\Composite.sql" />
    <None Include="database setup procedure\Profile_Schema.sql" />
    <None Include="database setup procedure\SqlPersistenceService_Logic.sql" />
    <None Include="database setup procedure\SqlPersistenceService_Schema.sql" />
    <None Include="Profile.dbml.layout">
      <DependentUpon>Profile.dbml</DependentUpon>
    </None>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\NavigationWorkflow\DateSiteNavigation.csproj">
      <Project>{3E6A9AC1-8237-4763-88F3-A822E8CABA0F}</Project>
      <Name>DateSiteNavigation</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Folder Include="App_Data\" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
  <ProjectExtensions>
    <VisualStudio>
      <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
        <WebProjectProperties>
          <UseIIS>False</UseIIS>
          <AutoAssignPort>True</AutoAssignPort>
          <DevelopmentServerPort>50076</DevelopmentServerPort>
          <DevelopmentServerVPath>/</DevelopmentServerVPath>
          <IISUrl>
          </IISUrl>
          <NTLMAuthentication>False</NTLMAuthentication>
          <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
        </WebProjectProperties>
      </FlavorProperties>
    </VisualStudio>
  </ProjectExtensions>
</Project>

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)


Written By
Founder Turing Inc.
United States United States

Comments and Discussions