Application settings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    Application settings

    Hi

    Is there a way to have application settings in asp apps, like those in
    winform apps?

    Thanks

    Regards


  • Juan T. Llibre

    #2
    Re: Application settings

    All application settings for asp.net web apps go into web.config or machine.config.



    Juan T. Llibre, asp.net MVP
    asp.net faq : http://asp.net.do/faq/
    foros de asp.net, en español : http://asp.net.do/foros/
    =============== =============== ========
    "John" <info@nospam.in fovis.co.ukwrot e in message news:O0HMUGewIH A.3780@TK2MSFTN GP03.phx.gbl...
    Hi
    >
    Is there a way to have application settings in asp apps, like those in winform apps?
    >
    Thanks
    >
    Regards
    >

    Comment

    • John

      #3
      Re: Application settings

      How do I store and read settings from web.config programmaticall y?

      Thanks

      Regards

      "Juan T. Llibre" <nomailreplies@ nowhere.comwrot e in message
      news:OOpG6HewIH A.3760@TK2MSFTN GP04.phx.gbl...
      All application settings for asp.net web apps go into web.config or
      machine.config.
      >
      >
      >
      Juan T. Llibre, asp.net MVP
      asp.net faq : http://asp.net.do/faq/
      foros de asp.net, en español : http://asp.net.do/foros/
      =============== =============== ========
      "John" <info@nospam.in fovis.co.ukwrot e in message
      news:O0HMUGewIH A.3780@TK2MSFTN GP03.phx.gbl...
      >Hi
      >>
      >Is there a way to have application settings in asp apps, like those in
      >winform apps?
      >>
      >Thanks
      >>
      >Regards
      >>
      >
      >

      Comment

      • Mark Rae [MVP]

        #4
        Re: Application settings

        "John" <info@nospam.in fovis.co.ukwrot e in message
        news:%23BNEQZew IHA.5580@TK2MSF TNGP04.phx.gbl. ..

        [top-posting corrected]
        >>Is there a way to have application settings in asp apps, like those in
        >>winform apps?
        >>
        >All application settings for asp.net web apps go into web.config or
        >machine.config .
        >
        How do I store and read settings from web.config programmaticall y?
        Provides access to configuration files for client applications. This class cannot be inherited.


        Bear in mind that modifying web.config while a web app is running will cause
        that web app to recycle...


        --
        Mark Rae
        ASP.NET MVP


        Comment

        Working...