Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Service Design Question
Message
De
17/03/2008 14:07:23
 
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
01299582
Message ID:
01302732
Vues:
14
>Follow up question on this:
>
>The customers will have some users directly accessing the network and some remote, hence the need for a
>web service. Should I create a data access class for direct connection as well as the WS, or just use the
>WS for all data access?
>
>Inquiring minds wanna know.


Depends on what you mean by directly accessing the network. <g>

Typically, IMHO, a Web Service should be no more than a pass-through of parameters. A call to a web service method, simply passes the call along to a Business layer (which will, at some point, call methods in a DataAccess layer).

With this architecture, anything that is already server-side (like a web app) would directly access the Business layer instead of accessing it through the web service (since they're both on the web server).

Make sense?

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform