Windows Workflow Foundation (WF4) - Workflow Services and Auto-Start

This sample application demonstrates how you can create a Workflow Service that will automatically start and periodically wake up to do some work. The sample also demonstrates a UI that shows the progress of the work and provides control and query capabilities.

C# (249.0 KB)
 
 
 
 
 
4 Star
(6)
4,302 times
Add to favorites
4/28/2011
E-mail Twitter del.icio.us Digg Facebook
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="StopJob.aspx.cs" Inherits="BatchWeb.StopJob" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Stop Job</h2>
    <table>
        <tr>
            <td>
                Job ID:
            </td>
            <td>
                <asp:Label ID="LabelJobID" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                Count:
            </td>
            <td>
                <asp:Label ID="LabelCurrentCount" runat="server"></asp:Label>
                /
                <asp:Label ID="LabelCountTo" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <p><asp:Label ID="LabelMsg" runat="server" Text="Label"></asp:Label>
    <a href="Default.aspx">Return</a>
        
    </p>
</asp:Content>