Expense Sample - November 2008 (for .NET 3.5)

Rating:        Based on 4 ratings
Reviewed:  3 reviews
Downloads: 5116
Released: Nov 28, 2008
Updated: Nov 28, 2008 by firedancer
Dev status: Stable Help Icon

Recommended Download

Source Code ExpenseSample-V3-20081128.zip
source code, 560K, uploaded Nov 28, 2008 - 3477 downloads

Other Available Downloads

Source Code SCSFClient-V3-20081128.zip
source code, 593K, uploaded Nov 28, 2008 - 1639 downloads

Release Notes

Please read the accompanying README.txt file for setup and installation instructions.

This is the public release of the Expense sample application V3 for .NET 3.5. If there are no issues with this release, I hope to focus on .NET 3.5 SP1 features next.

  • Namespaces renamed to map more closely to Application Architecture Guide V2.
  • Data Layer and Business Entities now use LINQ-to-SQL.
  • WCF/WF integration now use .NET 3.5 WorkflowServices.
  • Architecture diagram is included.
  • WPF experimental client has been removed.
  • MSMQ support has been removed.
  • State-machine workflow has been removed.
  • Experimental Smart Client Software Factory (SCSF) client (available as separate download).

  • Fixed Web Clients
  • Fixed SCSF Client
  • Fixed Windows Service Host and Web Host

This version is only supported on Visual Studio 2008

Previous stable version for Visual Studio 2005 and .NET 3.0 can be found here

This sample contains 15 Visual Studio 2008 projects that illustrates the following:

Presentation Layer
  • Expense Application - A Windows Forms client for expense submission.
  • Manager Application - A Windows Forms client for approving expense.
  • UI Process - Contains user process components.
  • Web Application - Contains the ASP.NET version of the expense submission and approver application.

Business Layer
  • Business Components - Contains Business logic classes.
  • Business Entities - Contains entity classes that are used in the application.
  • Business Workflows - Contains the Sequential Expense Workflow class.
  • Workflow Activities - Contains custom workflow activities.
  • Workflow Services - Contains the Local Service (ExternalDataExchangeService) implementation.

Services Layer
  • Service Contracts - Contains WCF Service Contracts.
  • Services - Contains WCF service implementation (non WorkflowService).

Data Layer
  • Data - Contains components that performs CRUD functions.

  • Console Host - Console host for the WCF Services.
  • Windows Service Host - Windows Service host for the WCF Services.
  • WebHost - IIS host for the WCF Expense Services.

About the SCSF Client
You need to install the Smart Client Software Factory April 2008 edition. Extract the SCSF Client directly into the ExpenseSample folder so that an UI.SCSFClient folder is created under the ExpenseSample folder. The SCSF Client has its own Solution and README.TXT files.

For more information on Application Architecture for .NET, please refer to the following Microsoft patterns & practices guide http://www.codeplex.com/AppArchGuide

Please report any issues for this release in Issue Tracker http://www.codeplex.com/LayerSample/WorkItem/List.aspx

Please feel free to feedback on this release in Discussions http://www.codeplex.com/LayerSample/Thread/List.aspx

Thank You for downloading Layered Architecture Sample. :)

Reviews for this release

wow.....thank you .....for the hard work....Great.....jobs
by henryjwr on Jan 22, 2009 at 3:42 AM
good but ExpenseSampleDB.sql missing a procedure called RetrieveNonblockingInstanceStateIds. sample cannot run. sorry.
by ashraftm on Jan 7, 2009 at 12:07 AM
by binglingshui on Dec 19, 2008 at 8:08 AM