Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the differences between a web service and a Windows service?

What are the differences between a web service and a Windows service?

My experience has mostly been with Windows services, and I have never created a web service.

Do web services behave similarly to Windows services?
Can they have scheduling, run at certain times, etc.?
When you would use a web service in place of a Windows service, and vice versa?

like image 690
Ryan Abbott Avatar asked Jun 23 '09 16:06

Ryan Abbott


People also ask

What is the difference between Windows application and Windows service?

User Interface – Unlike regular applications, Windows Services do not have a user interface; they run in the background and the user does not directly interact with them. A Windows Service does not stop when a user logs off the computer; a regular application will.

What is difference between Windows service and WCF service?

A windows service is what you need. WCF is a communications library, and unless you plan to communicate with your application via a client, you don't need it. Your problem is related to activation, and keeping your code active in the background is what windows services do.

What is the difference between web service and Web site?

Whereas a website is a collection of webpages put together which are accessed by a web browser. A web service doesn't have a user interface. A website has a user interface or GUI. Web services are meant for other applications to be interacted with over the internet.

What is difference between web API and Web services?

Difference Between Web Service vs Web API:Web service is used to communicate between two machines on a network. Web API is used as an interface between two different applications for communicating with each other. It uses HTML requests that can be compressed, but XML data cannot be compressed. Data can be compressed.


1 Answers

They're about as different as two things can be.

A Windows service is an application that runs without a user being logged into the system, usually to process some data on the machine that needs no user intervention to work with.

A Web service is a website that, when contacted, returns XML (typically) in one of several standard formats for the service consumer to process.

One can't be substituted for the other. They are fundamentally different.

like image 68
Welbog Avatar answered Oct 21 '22 22:10

Welbog