Re: WSE 3.0 settings



All of the configuration needs to reside in the config file for the exe.
When you are developing, they are in different project folders, but when it
is deployed, they are all in one folder and the exe provides the config as
well as the policy file.

I remember scratching my head over this in WSE 2 when I first started using
it in a solution that had many projects and I was configuring the wse
properties for the individual projects that were class libraries.

So just do all of your wse 3 settings on the main exe project

Make sense?

julie

"KDV" <kdv@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3F047611-E2BB-43AD-8937-DC4DF11CACDC@xxxxxxxxxxxxxxxx
Hi,
I have a scenario as follow:

The client application is Windows form which is using bunch of DLLs (.NET)
also. One of the dll provides access to the web service. If I put WSE
configuration settings in the DLL (Say MyDLL.DLL.Config) config file then
the
Client exe (Say MyApp.Exe) does not apply those settings. From the design
point of view it becomes the responsibility of dll to apply those
settings.
My question is how the WSE 3.0 will find those settings in
MyDLL.DLL.Config
file instead of MyApp.exe.config file ??

Do I have to do it in code ?

Any idea ???

Thanks
KDV


.



Relevant Pages

  • "Invalid directory on URL" launching no-touch smart client from UR
    ... App gets data via web-service. ... Windows Server 2003 hosts both the .exe files and the web-service. ... The app has a config file for which downloading of config files has been ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: access the calling users config info from a dll?
    ... You should not read exe's app settings directly from inside dll's code. ... reasons to use dll). ... with certain exe, the dll's reuseability is go partially or completely, even ... I'd never read user/app config in dll. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Sekeleton app that needs to have many names
    ... I have a plug-in application that I will load any plug-in's found in it's ... the app config will depend on the solution that the exe project is ... also the name of the generated exe will be different. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: WSE 3.0 settings
    ... web.configs, they will take precedence over the parent config. ... The main exe will have to know ... I want to use third party DLL (Or I have to develop a DLL to be used in ... that DLL then I have to copy/paste all the settings from the third party ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: problem with RemotingConfiguration.Configure
    ... It can not find the .config file as the message states. ... If you have the file in the same directory as the .exe and it is failing, then I would suppose that some code has already changed ... > at System.IConfigHelper.Run(IConfigHandler factory, String fileName) ...
    (microsoft.public.dotnet.framework.remoting)