Solved

Should I create a web service?

Posted on 2008-10-01
6
255 Views
Last Modified: 2012-05-05
Experts,

I have a client program which collects information about the computer it is running on (It is going to be used on our servers).

The program collects information such as number of files in directories, and CPU usage.

I'd like a central program to display this, and this will be running on a different machine.

How would I send the information collected to the main program?.  Would I need to go down the Web Service route?

Please help
0
Comment
Question by:mhouldridge
  • 2
  • 2
6 Comments
 
LVL 13

Accepted Solution

by:
Michael_D earned 250 total points
ID: 22617666
Why not directly update a database?
Especially when you are talking about LAN infrastructure.  
0
 
LVL 26

Assisted Solution

by:Anurag Thakur
Anurag Thakur earned 250 total points
ID: 22628628
when your application is already installed and running on the machines from where you want to access the information and save it to the database
I will not recommend you to write a web service as it will have an extra overhead of development and testing whereas you can simply achieve the functionality by just calling the database save from the business objects of the running application and this can be developed without much effort.
0
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 22864984
we answered to the users question whether the web service is required or not
0
 
LVL 13

Expert Comment

by:Michael_D
ID: 22868156
I agree with ragi0017 - both our comments suggest NOT to use web services and I guess that was the question
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question