Re: app.config issue



Hi Kele,

There is only one application config (in case of web app, it is
web.config) per application domain. You can get it at
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile. Your
business logic layer is a DLL, right? Then it could not have
app.config. In fact, if you add one, VS.NET will not automatically
rename and copy it to output folder when building as it does for EXE.

Because Calculate can access web.config using System.Configurations
namesapce, so there is no need to add that app.config file which you
must manually add code to parse.

Regards,
Thi - http://thith.blogspot.com

.



Relevant Pages

  • Re: aspnet_isapi.dll & aspnet_wp.exe
    ... IIS 6.0 corrects this by exposing a single switch for ASP.NET applications. ... The same settings can be duped in Windows 2000, ... but the web app will not execute. ... tag in the config file. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Configuration params for a webapp - best practice?
    ... I have created a config file in this folder for other parameters but ... since I have to install the web app on Windows and Unix machines. ...
    (comp.lang.java.programmer)
  • Using SMTP
    ... but we're using the default config from Dell. ... In some cases the web app sends email notifications via smtp. ...
    (microsoft.public.windows.server.sbs)
  • Re: htr
    ... once it's nuked in the current web app, it's nuked in that web app - you ... > I removed htr mapping in IIS 5. ... Or does it read this config every time a user ...
    (microsoft.public.inetserver.iis.security)