I’d like to create a program that would connect my asp.net application to unix based system and run some command from the application.
Is there anyway to do this?
Thanks in advance! 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. The best approach would probably be to write a simple web service on the Unix OS in Perl or Python or something similar, that service would execute the command, then return any data back to you.
You can then consume that web service from your asp.net application quite easily.
There are probably many other ways to do it, but that would be my approach. Assuming the app did not take a long time to execute.