Im trying to see if it is at all possible to call an external (console) application from an ASP.NET MVC app. They will both be build and deployed on internal servers, and both will use a custom form of security, validating the user VIA AD before anything executes, so Im not overly worried about the security risks.
Basically, Im trying to build a web based front end for an application so it can be kicked off “anywhere”. The web based front end will basically collect all the parameters and pass them to the application at run time.
Any thoughts?
Create a
Processobject, and give all the information in theProcessStartInfo, then just start the process.Something like:
That’s gotta work when you give your worker process enough rights to start the process. We actually use something the same in one of our applications.