Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > Other ASP.NET > BOOK: Professional ASP.NET Design Patterns
Password Reminder
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 2nd, 2018, 10:03 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2018
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default Service Layer - Multiple Entry Points ?


I am working on a pre-existing project that presents a situation I never thought of. The service layer has hundreds of methods, so its broken out into a couple dozen service layers classes, each with entry points that the Web.UI makes calls to. Is this compliant with standard Enterprise Patterns ? I always thought the Service Layer should be a single class.

Reply With Quote
  #2 (permalink)  
Old January 13th, 2018, 03:34 AM
Registered User
Points: 62, Level: 1
Points: 62, Level: 1 Points: 62, Level: 1 Points: 62, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2013
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts

If you take a look at the book's case study you'll find exactly the same setup. The service layer is one separate class library that contains many service classes. Each is described by its interface e.g. the IProductCatalogService on page 474. Conceptually, each service provides methods related to a certain area of the domain. For example, the BasketService class on page 539 provides methods to handle requests for obtaining, creating or modifying the shopping basket.
Reply With Quote
The Following User Says Thank You to dpant For This Useful Post:
dar1234 (January 16th, 2018)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why layer = map.Layer[i] does not function jmartinez BOOK: Beginning ArcGIS for Desktop Development using .NET 0 June 11th, 2014 07:37 AM
HOWTO: VPL services with multiple in/out connection points? Philibuster BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 0 September 14th, 2012 11:32 AM
Ch 6 Service Layer Contracts and DataContract project pingpong BOOK: Professional ASP.NET Design Patterns 0 July 14th, 2012 03:47 PM
Handle error from database layer to applican layer khatu_jec ASP.NET 2.0 Basics 1 November 9th, 2008 03:51 PM
Web Service with multiple functions deer_reema ASP.NET 1.0 and 1.1 Basics 2 May 3rd, 2006 01:52 PM

All times are GMT -4. The time now is 01:07 PM.

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