Re: Winforms\WIndows Service

2013-07-22 Thread Tom Rutter
Does it need to run even when no user is logged in? If not, then you could just create a gui app as required and add it to the Windows startup list. Much cleaner and using the features already built into Windows. On Mon, Jul 22, 2013 at 3:43 PM, wrote: > I have gui that provides extra functional

Re: Winforms\WIndows Service

2013-07-22 Thread Ben Scott
I have generally written services as console apps first, with `Console.WriteLine` injected as a log through the application. Then to create an installer I just look at the command line options, so my main() looks like: if (options.Help) { // show help return; } if (op

RE: Winforms\WIndows Service

2013-07-22 Thread ifumust
For anyone interested..this is what i did... static class Program { public static void Main(string[] args) { ServiceBase[] servicesToRun; servicesToRun = new ServiceBase[] { new Service1()

Managed IIS Module installation

2013-07-22 Thread Greg Keogh
Folks, I've written a class that implements IHttpModuleto do some custom logging in IIS 7.5. Now I have to install the thing. I found instructions to run this command: appcmd install module /name:MyLogger /type:

[OT] Melbourne Stuffups

2013-07-22 Thread anthonyatsmallbiz
http://www.meetup.com/Melbourne-Ideas-Incubator-Stuffups-Failed-Startups/ Anthony

RE: Managed IIS Module installation

2013-07-22 Thread Ken Schaefer
Is the .dll in the /bin folder? Or, otherwise, where is the assembly? Cheers Ken From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Keogh Sent: Tuesday, 23 July 2013 9:06 AM To: ozDotNet Subject: Managed IIS Module installation Folks, I've written a cla

Re: Managed IIS Module installation

2013-07-22 Thread Greg Keogh
> > Is the .dll in the /bin folder? Or, otherwise, where is the assembly? > Well, that's a good question. I can't find any instructions on where your managed DLL must reside. It can't be /bin as that's part of the app, I want the module to be applied to a site (or all sites). I took a guess at %wi

Re: Managed IIS Module installation

2013-07-22 Thread David Richards
Greg, I've never done this so this is another wild guess. Have you tried the GAC? David "If we can hit that bullseye, the rest of the dominoes will fall like a house of cards... checkmate!" -Zapp Brannigan, Futurama On 23 July 2013 10:49, Greg Keogh wrote: > Is the .dll in the /bin folder?

RE: Managed IIS Module installation

2013-07-22 Thread Ken Schaefer
Install in GAC. Or, if it's a native module, you can load by path in applicationHost.config ( section) From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Keogh Sent: Tuesday, 23 July 2013 10:49 AM To: ozDotNet Subject: Re: Managed IIS Module installatio

Re: Managed IIS Module installation

2013-07-22 Thread Greg Keogh
Chaps, the GAC doesn't work. The help on appcmd.exe says: Configures a new module, which can be either a new managed module or an installed native module, with the specified settings. Managed modules can be enabled by simply adding them for the desired application and providing a managed module t

Re: Managed IIS Module installation

2013-07-22 Thread Stephen Price
Greg, What is it you are trying to do? Not sure if its a fit, but have a look at ELMAH. https://code.google.com/p/elmah/ It sounds like what you might be looking for. (am guessing though) On Tue, Jul 23, 2013 at 2:28 PM, Greg Keogh wrote: > Chaps, the GAC doesn't work. The help on appcmd.exe s