Results 1 to 3 of 3

Thread: how to dynamically alter web.config

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Location
    india
    Posts
    95

    how to dynamically alter web.config

    hai gys

    i want to alter the web.config dynamically from my page. is this is possible?



    any body can help me with coding

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Why would you want to alter it dynamically? Can't you just use another XML file?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    You could alter it by using a simple filestream and a xmlreader, but of course, the .Net runtime will rebuild your application everytime a change is detected in web.config.

    As plenderj implied, what exactly is your objective in wanting to manipulate webconfig dynamically?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width