Welcome to MSDN Blogs Sign in | Join | Help

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.
Published Wednesday, May 17, 2006 11:12 AM by tomlake
Attachment(s): ASPNETWithPersistenceAndTracking.exe

Comments

Wednesday, April 04, 2007 4:38 PM by JaszeerMohammed

# re: Examples of using Persistence and Tracking in ASP.NET

Thanks you, this example really helps

Wednesday, April 04, 2007 4:56 PM by JaszeerMohammed

# re: Examples of using Persistence and Tracking in ASP.NET

Do you have exammples using SqlWorkflowPersistenceService Object in ASP.nET Application

Sunday, July 22, 2007 10:31 PM by angelo34jj

# re: Examples of using Persistence and Tracking in ASP.NET

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

Monday, November 26, 2007 8:41 AM by elpioty

# re: Examples of using Persistence and Tracking in ASP.NET

Thanks for this useful and clear sample.

elpioty

Saturday, November 29, 2008 10:30 AM by bbajwa

# re: Examples of using Persistence and Tracking in ASP.NET

Hi Tom, When tried to open the  ASPNETWithPersistenceAndTracking.exe, i get the error, is not a valid win32 exe.

Anonymous comments are disabled
 
Page view tracker