开发者

Connection to a Unix Based OS from ASP.net application

开发者 https://www.devze.com 2023-03-23 17:22 出处:网络
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.

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! :)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号