Mausimo
Mausimo

Reputation: 8168

What is the difference between Web Service VS a Service that runs on Server?

I have used ASP.NET Web Services (.asmx) in the past. However, I have heard references to having a "Service" running on a server that you can use.

Mainly, I am curious what this "Service" is.

Is it a Windows Application actually running on the server that you can connect to?

Can I create a "Service" on a server that I could create a direct TCP/IP connection to from a client windows 7 computer? Would this connection be bi-directional? Could this connection be pooled/persistent?

Upvotes: 0

Views: 322

Answers (2)

hanzolo
hanzolo

Reputation: 1150

Web Service was the buzzword used before the "Cloud" was spawned, most people had no idea what they were talking about..

There are a myriad of different "Services" out there.. when you say ASP.NET Web Services, I'm assuming you mean .asmx service files? (a negligible detail IMO)

to your question:

yes, you can create a "Service" on your Web Server that can be accessed by various clients over the inter / intra - net. You can even create an entire "class library" which is only accessible by different "Service" calls from these various clients.. there are lots of benefits to using a "Service" style architecture in one form or another, however, google has loads more info on that..

and to your TCP / IP question.. yes. Web Services provide different kinds transport / bindings including TCP, HTTP, etc..

for more info:

http://msdn.microsoft.com/en-us/magazine/cc163394.aspx

Upvotes: 1

Laur Ivan
Laur Ivan

Reputation: 4177

I think Windows service on wikipedia may give you some hints...

Upvotes: 1

Related Questions