Expense Sample - August 2010 (for .NET 4.0)

Rating:        Based on 7 ratings
Reviewed:  5 reviews
Downloads: 21645
Released: Aug 26, 2010
Updated: Aug 26, 2010 by firedancer
Dev status: Stable Help Icon

Recommended Download

Source Code ExpenseSample-V4.0.2-20100826
source code, 1155K, uploaded Aug 26, 2010 - 21645 downloads

Release Notes

Thank You for downloading Layered Architecture Sample. Please help spread the news about Layered Architecture Sample :) Please read the accompanying README.txt file for setup and installation instructions.

This is the beta release of the Expense sample application V4.0 which contains migrated projects for .NET Framework 4.0. This version is only supported on Visual Studio 2010.

Revisions:
  • Illustrates the use of Message Types.
  • Business Entities now use ADO.NET Entity Framework POCO.
  • Upgraded Workflow Services to WF4.
  • Data Context moved to Data Layer.
  • Layer Diagram included.
  • Upgraded ASP.NET Web client using new VS template.
  • Auto-refresh in ASP.NET Web clients.
  • New WPF Expense Submitter client.

Previous stable version for Visual Studio 2008 and .NET 3.5 SP1 can be found here
http://layersample.codeplex.com/releases/view/22510

Previous stable version for Visual Studio 2008 and .NET 3.5 can be found here
http://layersample.codeplex.com/releases/view/19929

Previous stable version for Visual Studio 2005 and .NET 3.0 can be found here
http://layersample.codeplex.com/releases/view/11916

This sample contains 16 Visual Studio 2010 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.
  • WPF Client - A WPF client for expense submission.

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.

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

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

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

Models
  • Layer Diagram - Layer diagram of the sample.

For more information on Application Architecture for .NET, please refer to the following Microsoft patterns & practices Application Architecture Guide 2nd Edition http://msdn.microsoft.com/en-us/library/dd673617.aspx

Please report any issues for this release in Issue Tracker

Please feel free to feedback on this release in Discussions

Reviews for this release

     
Awesome would have liked to see a Presentation Design Pattern included by still good enough for 5 stars
by DeonHeyns on Apr 29, 2011 at 8:17 PM
     
Very nice indeed! Would be nice to see a properly set up test project added to the solution ;)
by Sn3b on Feb 17, 2011 at 10:18 PM
     
really help full why don't you extend this with LINQtoSQL.
by gayancc on Dec 10, 2010 at 6:27 PM
     
Thank you for your useful initiative and hard work.
by raihaniqbal on Aug 31, 2010 at 8:05 AM
     
Cool architecture! I've been looking for this type of app. for a long time. Excellent dude!
by wired_blade on Jun 23, 2010 at 3:08 AM