Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Modifying machine.config

Modifying machine.config

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpquestionworkspace
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    seanwright
    wrote on last edited by
    #1

    Hey all, Can anyone tell me how I can modify the machine.config to add sections and keys (preferrably using vb.net)? I've been looking at system.configuration (.net 2.0) but I can't seem to wrap my head around it. Any good tutorials? Thanks!

    P V 2 Replies Last reply
    0
    • S seanwright

      Hey all, Can anyone tell me how I can modify the machine.config to add sections and keys (preferrably using vb.net)? I've been looking at system.configuration (.net 2.0) but I can't seem to wrap my head around it. Any good tutorials? Thanks!

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      It's generally not a good idea to modify machine.config. If this file gets damaged/corrupted, then all of your .NET applications will have problems.

      the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
      Deja View - the feeling that you've seen this post before.

      1 Reply Last reply
      0
      • S seanwright

        Hey all, Can anyone tell me how I can modify the machine.config to add sections and keys (preferrably using vb.net)? I've been looking at system.configuration (.net 2.0) but I can't seem to wrap my head around it. Any good tutorials? Thanks!

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        True as told in http://www.codeproject.com/script/comments/forums.asp?forumid=1650&select=1799913#xx1799913xx[^]. The best way; have overridable sections overridden in respective web.config.

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups