Thanks Dave, just what I was looking for.
Georg
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Dave Lacerte
Sent: 4. januar 2007 18:31
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Configuration file name as a
ve. It's probably worth experimenting
>with though.
>
>Geoff
>
>> -Original Message-
>> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
>> [EMAIL PROTECTED] On Behalf Of Eddie Lascu
>> Sent: 02 January 2007 12:42
>&g
ehave. It's probably worth experimenting
>with though.
>
>Geoff
>
>> -Original Message-
>> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
>> [EMAIL PROTECTED] On Behalf Of Eddie Lascu
>> Sent: 02 January 2007 12:42
anuary 2007 12:42
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: Re: [ADVANCED-DOTNET] Configuration file name as a start up
> parameter
>
> Why don't you rename your cMyConfigFile.config file as a first step of
> your
> application. The reason why you would need a d
bject: [ADVANCED-DOTNET] Configuration file name as a start up
parameter
Hi,
I have an application where I need to provide the name of the configuration
file as a start up parameter (for example myapp.exe -cMyConfigFile). The
application is started as a windows service.
The application uses other assem
Hi,
I have an application where I need to provide the name of the configuration
file as a start up parameter (for example myapp.exe -cMyConfigFile). The
application is started as a windows service.
The application uses other assemblies that use the "standard"
System.Configuration.ConfigurationMan
: [ADVANCED-DOTNET] Configuration File
I have been seeing a similar problem. I have a Web app and three
library projects in my solution. One of the library projects is my
DataPortal layer and one is my business logic tier. In the DataPortal,
I added an app.config file to house the connection
ittle, MCSD
Olympus Technology Solutions
-Original Message-
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Christopher
Reed
Sent: Friday, March 05, 2004 9:14 AM
To: [EMAIL PROTECTED]
Subject: Re: [ADVANCED-DOTNET] Configuration File
Could you pr
Could you provide us with a snippet of your code from your Windows
Service application as well as your configuration file?
Christopher Reed
Web Applications Supervisor
Information Technology
City of Lubbock
[EMAIL PROTECTED]
"The oxen are slow, but the earth is patient."
>>> [EMAIL PROTECTED] 3:1
9:10
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Configuration File
Hi all,
i am in need of immediate help...
i have a windows service application, which has a config file and a
method in the .cs file to read the config file, making use of the
Configuration class provided ny .NET.
But
Sarvajith,
Most debugging problems related to config files are due to the fact that VisualStudio
deletes the config file before running the app. It took me a while to figure that out
and dod a Google search on the issue.
You can fix this by adding a file named "app.config" to your VS project
D] On Behalf Of Sarvajith
Chakravarty
Sent: Friday, March 05, 2004 11:10 AM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Configuration File
Hi all,
i am in need of immediate help...
i have a windows service application, which has a config file and a
method
in the .cs file to read the
config
Copy the config file in the windows\system32 directory (or
winnt\system32 directory) and name it: svchost.exe.config or
dllhost.exe.config, depending on which 'host' is hosting your service.
Pretty lame, but the only solution I'm aware of. If you learn of other
solutions, please post them in this t
Sarvajith,
SC> But since i cannot debug the start method, i made a windows
SC> app, which has an object of the service class and calls
SC> another method, identical to the start method.
Assuming that your service app is service.exe and your test app is test.exe,
you've probably called the config
Hi all,
i am in need of immediate help...
i have a windows service application, which has a config file and a method
in the .cs file to read the
config file, making use of the Configuration class provided ny .NET.
But since i cannot debug the start method, i made a windows app, which has
an obj
One thing I neglected to add in this scenario was that the dll is installed
in the GAC. So while it has a physical location (somewhat hidden) there
isn't a direct physical folder where the config file can be installed based
on a GAC'd dll location. I believe.
I suppose that you could just hard co
Since remoting configuration can be in any file you have access to (it doesn't
need to be in an application configuration file), the easiest thing to do is
just put the config file in the same directory the assembly is installed in, and
then pass the path to that file to RemotingConfiguration.Confi
I have a component running in a COM+ 1.1 application on Windows 2000 using
Server activation. I need the component to be able to retrieve remoting
info from a .config file
e.g.
http://web1.mycompany/ConfigServer.soap"; />
The only way I've found to make this work is place
Thanks
I'll have a look at this.
Great Site BTW!
- Original Message -
From: "Lidor Wyssocky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 11:40 AM
Subject: Re: [ADVANCED-DOTNET] Configuration File per Assembly
> You might w
You might want to consider an alternative configuration scheme:
http://www.sharpdevelopment.com/ToolBox/ConfigurationSoftwareService/Configu
rationSoftwareService.htm
Lidor Wyssocky
Lidor Wyssocky
www.SharpDevelopment.com
=
You'll have to roll you're own code to perform per-assembly configuration.
Alternatively, take a
look at Mike Woodring's collection of .NET samples one of which has code for just what
you're
looking for.
http://www.bearcanyon.com/dotnet/
Paul
--- Chris Stefano <[EMAIL PROTECTED]> wrote:
> Hi
>
Hi
The ConfigurationSettings.GetConfig() method only accesses the config file of the app
that started the process.
I need to have a configuration file per assembly and I would like to use the
System.Configuration classes to process these files instead of rolling my own.
i.e App1.exe => App1.e
22 matches
Mail list logo