ventis07 / ncron

Automatically exported from code.google.com/p/ncron
Apache License 2.0
0 stars 0 forks source link

Installation options to be customizable through assembly attributes #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When installation an NCron based service using the "install" command line 
option, all service details (name, display name, description, user 
account) are currently set by convention. It should be possible to 
optionally override these conventions, using assembly scoped attribute 
such as:

[assembly: DisplayName("Acme Scheduler")]
[assembly: ServiceAccount(@"CORP\Services", "P4ssw0rd");

Original issue reported on code.google.com by jsr%mala...@gtempaccount.com on 28 Jan 2010 at 12:21

GoogleCodeExporter commented 9 years ago
To be considered: could NCron possible use standard attributes such as 
AssemblyDescription or should it use custom attributes for everything?

Original comment by jsr%mala...@gtempaccount.com on 28 Jan 2010 at 12:22

GoogleCodeExporter commented 9 years ago
I actually have a use case where I need to install multiple copies of the same 
service on the same machine. It's a client testing environment where we have 
one machine, and we need multiple copies of a related web applications on this 
machine. For that reason, it would be more useful for me is the service name 
could be set via the App.config file or at runtime so I could read it from the 
config file, as opposed to the compile time option here. This would allow me to 
change the config file at deploy time rather than recompiling the service for 
each deployment.

Original comment by BladeOfL...@gmail.com on 18 Jul 2013 at 7:24