On Mon, Aug 4, 2008 at 3:32 AM, theallan <[EMAIL PROTECTED]> wrote: > Hello all, > > I wonder if anyone can offer a little advice to me for how I can deploy a C# > application that I've put together? Basically what the program does is to > take a file and parse it, and I would like to deploy it on an IIS > web-server, or Apache with the Mono module. On Unix what I would do is to > have the program as an interpreter, and at the top of the file I want parsed > (marked as executable) I would have '#!/path/to/prog'. Is there any way I > can do this with my Mono compiled exe file?
If your application is a proper CGI application (which means that you can't use ASP.NET as far as I know, since it's not remotely close to CGI at all) then you can do so by putting this at the top of your scripts: #!/usr/bin/mono /path/to/prog Adjusting the path to Mono as necessary. If your application uses ASP.NET then there is no straightforward way to accomplish this. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
