BT

.NET and Azure Samples Showcase .NET Technologies Used in a Layered Architecture

by Abel Avram on Jul 22, 2010 |

Serena Yeoh, a  Microsoft consultant and a contributor to Microsoft pattern&practices Application Architecture Guide, has created a Layered Architecture Sample for .NET 4.0 which was later ported to Azure, showcasing various .NET technologies (WPF, WCF, WF, ASP.NET, ADO.NET EF) used in an architecture based on the Layered Architecture design pattern.

The purpose of the code sample is to show how core .NET technologies can be used together in an enterprise application by applying architectural design principles promoting healthy growth of the code and easy maintenance.

The .NET sample contains 16 applications targeting various layers: Presentation, Business, Services, and Data. The model diagram looks as following:

image

By porting this code sample to Azure, Yeoh has created another sample showing how .NET core technologies can be used in the context of Microsoft’s cloud platform. The sample contains 3 additional projects related to cloud:

  • ExpenseSample.Cloud.Service - Main cloud service project
  • WCFWebHost - WCF Web Role project to host the back-end web services.
  • WebRole - contains the ASP.NET application of the sample.

The Azure model diagram looks similar with some differences:

image

The samples including source code for all included projects are available on CodePlex under a MS-PL license: Layered Architecture Sample for .NET, Layered Architecture Sample for Azure.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Thanks by Mike Gale

Thanks for that. As I was reading this article my computer for testing out Azure arrived. (Azure can be tested from Windows 7, not previous OS's. Annoying!) I might give it a spin.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT