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. Web Development
  3. ASP.NET
  4. can we make changes in web.config using C#?

can we make changes in web.config using C#?

Scheduled Pinned Locked Moved ASP.NET
csharpsecuritytutorialquestion
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.
  • M Offline
    M Offline
    mr_muskurahat
    wrote on last edited by
    #1

    for example i want to change authentication mode from form to windows is this possible??

    Government Dyal Singh College Lahore.

    C P 2 Replies Last reply
    0
    • M mr_muskurahat

      for example i want to change authentication mode from form to windows is this possible??

      Government Dyal Singh College Lahore.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      It's XML, a C# app could read it as such and modify it. If it can be accessed from within your website code, I guess you'd have to try and see.

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • M mr_muskurahat

        for example i want to change authentication mode from form to windows is this possible??

        Government Dyal Singh College Lahore.

        P Offline
        P Offline
        Paddy Boyd
        wrote on last edited by
        #3

        Just be careful, as when you change your ASP.net web.config file, your app domain will restart...

        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