Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Why web services?

Reply
Thread Tools

Why web services?

 
 
cm@gowcity
Guest
Posts: n/a
 
      02-13-2004
Im just learning c# and begining to use web services.
Ive built a few and managed to consume theses into asp pages but i am
struggling to see the advantage of these!
Why not just build the functionality into the page?

hopefully this will start a bit of a discussion!

Thanks

Colin
 
Reply With Quote
 
 
 
 
Michael Pearson
Guest
Posts: n/a
 
      02-13-2004
I don't think I'd generally use them in ASP.Net development.
IMHO, where they see the best use is for 3rd parties talking to your system,
or desktop apps that need to get data from a hosted environment.

Michael

"cm@gowcity" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) m...
> Im just learning c# and begining to use web services.
> Ive built a few and managed to consume theses into asp pages but i am
> struggling to see the advantage of these!
> Why not just build the functionality into the page?
>
> hopefully this will start a bit of a discussion!
>
> Thanks
>
> Colin



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.581 / Virus Database: 368 - Release Date: 2/9/2004


 
Reply With Quote
 
 
 
 
Simon Smith
Guest
Posts: n/a
 
      02-14-2004
On 13 Feb 2004 09:58:27 -0800 in article
<(E-Mail Removed)> in
microsoft.public.dotnet.framework.aspnet.webservic es ,
http://www.velocityreviews.com/forums/(E-Mail Removed) (cm@gowcity) wrote:

>Im just learning c# and begining to use web services.
>Ive built a few and managed to consume theses into asp pages but i am
>struggling to see the advantage of these!
>Why not just build the functionality into the page?
>

If you can indeed build the functionality into the page, then you
probably should do. However, there are at least two reasons I can
think of for using a Web Service:

You may want a bit of code to run in a totally different context and
possibly asynchronously. A Web Service will do that. Given IIS6 it can
also run in a separate process, which gives some protection from
faults in that piece of code.

I use Web Services to transfer data from one machine to another. I do
a lot of integration work (Web Site to a backing Erp system). The Web
Site calls a Web Service within the Erp system's domain and processes
the data there. The Erp System calls a Web Service on the Web Site to
pass data back.



--
Simon
simon dot s at ghytred dot com
"Insomnia is a small price to pay for the stuff you read on UseNet"
 
Reply With Quote
 
Me
Guest
Posts: n/a
 
      02-14-2004
have you ever done a screen scrape???
A web service is basically a screen scrape but done in such a way that when
you Consume it you can do what ever you want with the data and use any part
or all parts of the data that's coming in in XML
"Simon Smith" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On 13 Feb 2004 09:58:27 -0800 in article
> <(E-Mail Removed)> in
> microsoft.public.dotnet.framework.aspnet.webservic es ,
> (E-Mail Removed) (cm@gowcity) wrote:
>
> >Im just learning c# and begining to use web services.
> >Ive built a few and managed to consume theses into asp pages but i am
> >struggling to see the advantage of these!
> >Why not just build the functionality into the page?
> >

> If you can indeed build the functionality into the page, then you
> probably should do. However, there are at least two reasons I can
> think of for using a Web Service:
>
> You may want a bit of code to run in a totally different context and
> possibly asynchronously. A Web Service will do that. Given IIS6 it can
> also run in a separate process, which gives some protection from
> faults in that piece of code.
>
> I use Web Services to transfer data from one machine to another. I do
> a lot of integration work (Web Site to a backing Erp system). The Web
> Site calls a Web Service within the Erp system's domain and processes
> the data there. The Erp System calls a Web Service on the Web Site to
> pass data back.
>
>
>
> --
> Simon
> simon dot s at ghytred dot com
> "Insomnia is a small price to pay for the stuff you read on UseNet"



 
Reply With Quote
 
Joe H
Guest
Posts: n/a
 
      02-15-2004
do you recall RDS (Remote Data Service)? which allowed you to call objects
remotely via HTTP or DCOM? web services provide a replacement for this in a
framework that is a lot more supportable, secure, and easy to implement.


"cm@gowcity" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) m...
> Im just learning c# and begining to use web services.
> Ive built a few and managed to consume theses into asp pages but i am
> struggling to see the advantage of these!
> Why not just build the functionality into the page?
>
> hopefully this will start a bit of a discussion!
>
> Thanks
>
> Colin



 
Reply With Quote
 
Steve Drake
Guest
Posts: n/a
 
      02-17-2004
I tend to use the following layers :

Data - Bus - Bus Fašade, I then consume the Bus Facade from ASP.NET (or fat
client) as this is quicker, then to integrate with 3rd party's I consume the
Bus Fašade from a webservice, the bus facade is hosted in a .NET remoted
APP.

Web Services is Service orientated architecture, good for other apps talking
to your backend.
Remoting is Object orientated architecture, good for your APPS front end
talking to your apps backend etc.


Just cos you ASP.NET can use the WebService on the same server it does not
mean its the correct thing todo, but I would say building the functionality
into the page is bad, have a look at remoting.


Steve

"cm@gowcity" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) m...
> Im just learning c# and begining to use web services.
> Ive built a few and managed to consume theses into asp pages but i am
> struggling to see the advantage of these!
> Why not just build the functionality into the page?
>
> hopefully this will start a bit of a discussion!
>
> Thanks
>
> Colin



 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
Cisco 2611 and Cisco 1721 : Why , why , why ????? sam@nospam.org Cisco 10 05-01-2005 08:49 AM
Why, why, why??? =?Utf-8?B?VGltOjouLg==?= ASP .Net 6 01-27-2005 03:35 PM
Why Why Why You HAVE NO IDEA MCSE 31 04-24-2004 06:40 PM



Advertisments