Webservice

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

I just wonder why is it not recommendet not to use GUI in web services.
You use GUI in ASP.NET all the time so why can't you use it in Web services.

//Tony
 
By definition the goal of a web service is to expose a functionality not a
UI (it allows to consumers of the service to built the UI as best fit their
needs and use the provided features rather than having to integrate an
already built UI inside their own UI which would be much less flexible).

If needed you could have a UI that uses your lower level services to have
something out of the box. If still allows others to built their own UI as
needed. If you just want t UI, this is just an ASP.NET website...
 
I just wonder why is it not recommendet not to use GUI in web
services. You use GUI in ASP.NET all the time so why can't you use it
in Web services.

A web service is a type of UI, in and of itself. It is not a GUI type of
UI, but that is because it is set up to be a data boundary. In general,
you do not have users directly accessing a web service.

In many ways, this is like asking, why not make a GUI on top of SQL
Server or Oracle. Because the GUI is farther up the line.

You can set up the following:

UI <> Web Service <> Business Library <> Data Layer <> Data Storage

or

UI <> Business Library <> Web Service <> Data Layer <> Data Storage

Hope this helps.

Peace and Grace,


--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Back
Top