Freigeben über


Examples of using Persistence and Tracking in ASP.NET

When you are working with ASP.NET you may have the need to persistence and / or tracking. I have put together two examples, one with shared databases and the other with separate, and included the command scripts to create the databases for you. There are VB and C# versions of each sample.

When you run the project you will start on Default.aspx. If there are no existing orders that have not been completed you are redirected to Order.aspx. If there are any existing orders there will be a link for each existing order. Click on the link to start processing the order from its current state. The order number will be retrieved from the tracking database for any order that is at least in the Created state. You can click on the enabled button to transition the order through the order process.  

This posting is provided "AS IS" with no warranties, and confers no rights.

ASPNETWithPersistenceAndTracking.exe

Comments

  • Anonymous
    April 04, 2007
    Thanks you, this example really helps

  • Anonymous
    April 04, 2007
    Do you have exammples using SqlWorkflowPersistenceService Object in ASP.nET Application

  • Anonymous
    July 22, 2007
    I have a question: In the interface IOrderService, we have event handlers like the one below:        event EventHandler<OrderEventArgs> OrderShipped; how are these implemented in the application. I could not find anywhere it being implemented and the related database activities. thanks

  • Anonymous
    November 26, 2007
    Thanks for this useful and clear sample. elpioty

  • Anonymous
    November 29, 2008
    Hi Tom, When tried to open the  ASPNETWithPersistenceAndTracking.exe, i get the error, is not a valid win32 exe.

  • Anonymous
    March 03, 2011
    Nice example. If example had more features like : order number : 20001 Order items: Item1,Item2,Item3 ( Selected from order creation screen) Thanks.