Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.NET Web service to query Linux service

Status
Not open for further replies.

jrwinterburn

IS-IT--Management
Jul 26, 2004
72
GB
Hi all,

I need to write a asp.net web service (in vb.net, rather than c#) asp.net page, which will run a couple of commands on a red hat server (basically, run the "service httpd status" command) and return the output to the browser window.

Is this possible, and if so, any idea how I go about doing it?

Thanks

Jon
 
As Christaan sugguested you could use mono, or you could create the asp.net project, which I assume will be running off of IIS then create a separate web service on your apache server. Then let the aspx page make a service call to a service hosted on apache (perhaps written in php). The service on apache will do the processing then return the code to the .net page.

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top