Difference between Windows services and Webservices

Posted by Rajesh081725 under Visual Studio on 11/26/2012 | Points: 10 | Views : 9799 | Status : [Member] | Replies : 3
Can u any one Tell me

difference between Windows service and Webservices .net give example.

Time is Gold
Thanks & Regards,
Rajesh Kumar,
9962038582.



Responses

Posted by: Krv on: 11/26/2012 [Member] Starter | Points: 25

Up
0
Down
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 or, which does some work for us wheneve we contact it/ request it

Both are entirerly different concept
-------
Mark it as answer if it helps

Thanks,
R.Vasanth
MCTS(SQL Server & BI)
http://bigdatatech.blogspot.com

Rajesh081725, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajesh081725 on: 11/27/2012 [Member] Bronze | Points: 25

Up
0
Down
hi krv,
can u difference 10 points this topic

Time is Gold
Thanks & Regards,
Rajesh Kumar,
9962038582.

Rajesh081725, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Krv on: 11/27/2012 [Member] Starter | Points: 25

Up
0
Down
Windows Service
a. It is an windows based service
b. Starts automatically when the windows starts
c. Cannot be consumpted by other application
d. Not supports any protocal
e. Windows services itself does some task in the background and does not required any use intervention
f. Can be hosted only in windows machine with .NET framework installed
g. It is an long running program


Web Service
a. It is web based service ie, internet based
b. It is located on remote and hosted in web server (IIS)
c. Web Services can be comsumpted by other application
d. Supports http, tcp/ip protocal
e. Some application need to be access the web service webmethod
f. Client could be any platform which supports web service and not necessary that the client should be only .NET
g. It can be used to transfer data thr the network


Hope it helps

-------
Mark it as answer if it helps


Thanks,
R.Vasanth
MCTS(SQL Server & BI)
http://bigdatatech.blogspot.com

Rajesh081725, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response