Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > BOOK: Professional ASP.NET Design Patterns
| Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET Design Patterns
This is the forum to discuss the Wrox book Professional ASP.NET Design Patterns by Scott Millett; ISBN: 978-0-470-29278-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET Design Patterns section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 27th, 2011, 05:33 PM
Authorized User
 
Join Date: Dec 2010
Posts: 23
Thanks: 3
Thanked 2 Times in 2 Posts
Default Services.ViewModels vs Services.Presentation.Model ?

Scott,
Can you explain why you chose to create some objects in the Agathas.Storefront.Services.ViewModels namespace (and project) and others inside the Agathas.Storefront.Services.Presentation.Model namespace (and project) ?

For example, I'm looking at "CategoryView.cs" and comparing it to "CategoryDto.cs" and they have exactly the same class definition, other than the name of course.

I see some objects have multiple definitions like this, while others do not and only exist in the ViewModels namespace (BasketView, OrderView, etc.)
 
Old April 9th, 2011, 11:53 AM
elbandit's Avatar
Wrox Author
Points: 599, Level: 8
Points: 599, Level: 8 Points: 599, Level: 8 Points: 599, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2007
Location: Southsea, Portsmouth, Hampshire, United Kingdom.
Posts: 107
Thanks: 10
Thanked 17 Times in 15 Posts
Default

Hi ksouthworth,

The update to the project is still work in progess. I had hoped to have finished it now but I have been busy on the new book. If you take a look at the code for the case study that will feature in the book (another ASP.MVC project - online blackjack game) then I think you will see the direction I am going with the Agatha app - http://agilenet.codeplex.com/SourceC...ist/changesets.

Let me know if that didn't answer your question or if you now have a load more questions ;0)

Keep rockin
Scott




Similar Threads
Thread Thread Starter Forum Replies Last Post
Web services hrudanand Apache Tomcat 0 March 27th, 2006 02:08 PM
Window services Pallavs20 C# 0 March 27th, 2006 03:27 AM
Reporting Services Ben SQL Server 2000 3 February 8th, 2005 10:16 AM
windows services marclena General .NET 0 June 30th, 2004 11:22 AM
Windows Services rodmcleay General .NET 1 June 29th, 2004 01:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.