Re: Custom Configuration at Application Directory Level

From: Craig Deelsnyder (cdeelsny_at_no_spam_4_meyahoo.com)
Date: 01/25/05


Date: Mon, 24 Jan 2005 20:53:38 -0600

On Mon, 24 Jan 2005 16:39:03 -0800, rdcpro <rdcpro@community.nospam> wrote:

> In reading MSDN docs on creating custom Configuration sections, I found
> this
> page:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfcustomelementfornamevaluesectionhandlerdictionarysectionhandler.asp
>
> At the very bottom, it says:
>
> Configuration File
> This element can be used in the application configuration file, machine
> configuration file (Machine.config), and Web.config files that are not
> at the
> application directory level.
>
> What do they mean by "Web.config files that are not at the application
> directory level." I thought this was the whole point of custom
> web.config
> sections. If I have a web service running in
>
> http://myserver/MyWebService/myEndpoint.asmx
>
> Does this mean I can't define a custom configuration section in a web
> config
> at:
>
> http://myserver/MyWebService/web.config
>
>
> Thanks in advance,
> Mike

I think they mean 'application configuration file' can be web.config, as
it's the app config file for a web app. Then, in addition, you can use it
in web.config files in subdirectories of a web app. A little confusing,
but they're trying to cover web and windows apps in one sentence (page).

-- 
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET


Relevant Pages

  • havent a clue!
    ... page that results from my web app. ... This web app installs ... configuration file required to service this request. ... Source Error: ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Custom Configuration at Application Directory Level
    ... > In reading MSDN docs on creating custom Configuration sections, ... > This element can be used in the application configuration file, ... > application directory level. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Crystal Report Viewer
    ... I have a c# web app that use's CrystalReportViewer, it works great when I run ... An error occurred during the processing of a configuration file ... Source Error: ... Attempting download of new URL ...
    (microsoft.public.dotnet.general)
  • Custom Configuration at Application Directory Level
    ... In reading MSDN docs on creating custom Configuration sections, ... This element can be used in the application configuration file, ... application directory level. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: how to serialize complex object to configuration file. (.Net Framework 2.0)
    ... You can use an XML file... ... and the bicycle has to *want* to change. ... > There will be one property in my custom configuration section. ... > adds to my custom section at the configuration file. ...
    (microsoft.public.dotnet.framework)