c# - Starting a Process that calls a Console App on the Application Server from the Web Server. -


i have console application (on application server) , website (on web server). have button on website used call/ launch console app. when run console app website time taken considerably slower if run console app on same server located . difference 1 call on network while other local call. there doing wrong or can speed time @ least match time takes run console app locally?

my code button on website follows

protected void lbtest_click(object sender, eventargs e)     {          processstartinfo startinfo = new processstartinfo();         startinfo.filename = @"\\servername\c$\projectfolder\applicationfiles\consoleapp.exe";           startinfo.useshellexecute = true;         startinfo.errordialog = true;          startinfo.arguments = "/processname 23897203 m 36963";          startinfo.windowstyle = processwindowstyle.hidden;         process.start(startinfo);      } 


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -