Click here to Skip to main content
12,402,211 members (69,431 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hi,
I have developed a web application to mangage a process. The catch is that the tool which is used in the main process is a console application. Now since my application is a web application i want to poll each of the machines through a web service and read some files present at particular shared location of target machine.
Kindly let me know your ideas on how to proceed

Thanks.
Posted 1-Jul-12 19:01pm
cgn123137
Comments
Sandeep Mewara 2-Jul-12 1:44am
   
I could not connect the relevance of this:The catch is that the tool which is used in the main process is a console application. with whole question. Can you please elaborate and clarify a little?

Further, you are seeking for an idea on how to poll different machines?
cgn123 2-Jul-12 5:39am
   
@Sandeep: Requirement is that i have to integrate two tools, 1st is third party console application and 2nd is a web application which i developed. Web applcation is hosted at a central server. The console applcation which is hosted in seperate machines will generate a log file after the application is run, and the same log file is placed in a shared folder. Now from the server i should access the shared folder in target machines and read log files present there. I want to know how this can be done

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Use the winsock control or some implementation of tcp or udp. You'll need a client on each machine to listen for the poll. Way too much code needed so please get started and then ask something specific if you get stuck.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 2 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100