Saturday, February 12, 2011

Where is the official, extensive, complete documentation on web.config?

I'm trying to find about ALL the possible options that I can set in web.config.
Surprisingly, I can't find this at all (i'm expecting it to be somewhere inside msdn.microsoft.com)

I know I can technically add "anything" to web.config, what i'm looking for is the things that the .Net Framework "as shipped" uses.

In particular, right now i'm interested in the <mailsettings> section.
For example, in many examples i've found, i noticed that they set DeliveryMethod="Network". I'm really curious what other values this attribute can take.

Is there any document on all the attributes and all their values, and all the effects those have?

Thanks!

  • It all starts on http://msdn.microsoft.com/en-us/library/zeshe0eb.aspx :

    Daniel Magliola : Thank you very much. You rock.
    DOK : Thanks for plowing through that frustrating MSDN forest for us!
  • This might be what you're after (not all in one page), but the top of the schema - drill down recursively to find it all :)

    ASP.NET Configuration Settings

    From Jon Skeet
  • I also found this, specifically for the <mailsettings> section:

    http://msdn.microsoft.com/en-us/library/w355a94k.aspx

  • That's like asking where is the official documentation for *.txt files. It depends on the web site they are supposed to configure. Every app can have its own custom config sections, and in fact, most do.

    DOK : Do you think your answer is adding value to the discussion here? Perhaps you would benefit from reading through a few more questions and answers before you start putting people down for asking questions. See how many people have responded?
    dviljoen : "putting people down for asking questions"?????? Wuh? How did I do that? I was hoping to point out that web.config is a generic solution to common problem and asking what does it contain is a loaded question. Sorry if it came across as condescending, but quite frankly, I don't see how.
    From dviljoen

0 comments:

Post a Comment