I've written a Visual Studio C# web application. When it runs, it puts a submit button on the screen. When the user clicks the submit button it runs some processing which does all of the following:
Reads and writes a sql database
Performs lookups to Active Directory
Writes a log file to disk
I'd like to convert this to an executable that can be run from the command line or called by a scheduler. If possible, I'd like it to take one parameter which would be the path and name of the log file. Output or a return value are optional.
While it would be preferable that the exe file contain all necessary files, I can copy supporting files along with the exe when it is distributed/installed.
I'm open to all suggestions/ideas.