Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 205651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:34:31+00:00 2026-05-11T17:34:31+00:00

My Situation: The data request chain of my application looks like this: (Client) ->

  • 0

My Situation:

The data request chain of my application looks like this:

(Client) -> (WebService) -> (SQL or OLAP Cube)

The client is a Silverlight Application that uses a generated proxy to communicate with a WCF webservice. Which in turn does authorization and accesses SQL DB’s and OLAP Cubes using a DAL component, basically it just forwards the requests. Therefore, each method exists in four different places:

// WCF Webservice interface and implementation (used by client)
public interface ICatalogService 
public class CatalogService : ICatalogService

// DAL interface and implementation (used by webservice)
public interface ICatalogDataAccessLayer
public class CatalogDataAccessLayer : ICatalogDataAccessLayer    

Now my question, where should I put documentation to clearly specify these methods? On class or interface level, on the DAL or on the webservice?

My thoughts so far:

I would say it makes most sense to write the method specs on the interface, because it is the contract that is being consumed. However I don’t see an advantage between webservice and DAL in my specific situation:

  • I am the only developer, there is no separate webservice-guy or client-guy that needs the docs
  • This is a closed architecture, the webservice is not public
  • Everyone working on this project in the future, will have access to all components of it (and will find the docs, wherever they are)

So, what do you think about it? Where should I put method-level documentation in this case?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:34:32+00:00Added an answer on May 11, 2026 at 5:34 pm

    I would think that most people would expect a web service to be documented more heavily than a DAL (especially if the DAL is mostly generated code: I’m guessing so as these are pass-through methods). I would add a pointer to the web service documentation in the DAL comments for those who work with it in the future.

    The reason is twofold. First, the Web Service is the real point of interaction (and thus the point where more clients might be added, which means having the service documented is a plus). The second is that the DAL really doesn’t sound like it provides “added value” over the Web Service (in the configuration described), so pointing back to the real point of interaction and value makes sense.

    If the DAL was ever threatened with reuse by another client without the web service layer… obviously that changes things to lean the other way around (or to automate duplicate comments).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In this situation I am trying to perform a data import from an XML
This is often situation, but here is latest example: Companies have various contact data
The situation is as follows: A series of remote workstations collect field data and
I have a situation where I am using wpf data binding and validation using
Given a situation in Django 1.0 where you have extra data on a Many-to-Many
We have a situation in our product where for a long time some data
I have a situation where I want to create a signature of a data
Are there techniques for comparing the same data stored in different schemas? The situation
I am using git on a project, that generates lots of data-files (simulation-results). I
I am solving situation about printing data from array via each loop. in my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.