Invoke or call C# console app from C# web service?
Due to my problem that I am unable to run dos command via my web service.
Due to my problem that I am unable to run dos command via my web service.
I’ve got two projects: a .Net 4.0 Console Application and an Asp.Net 4.0 Website (they are in the same solution). Now I’d like to include the console application (its .exe) in the web application, because I need to run it on the server when the user clicks on a certain button.
I have an ASP.NET Web Form which was timing out when sending over 1800 emails whose addresses were being obtained from a DB. So I’m attempting to send the emails from a console application instead – I will access the DB there.