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. multiple web.config file in on application

multiple web.config file in on application

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

    hi, i have a we application and i have different settings for this application, now i need multiple web.config files in the application, how i can reference to those web.config files melodramatically at run time that which one's settings is going to be used this time, can any body explain it please,

    L J 2 Replies Last reply
    0
    • T tanweer

      hi, i have a we application and i have different settings for this application, now i need multiple web.config files in the application, how i can reference to those web.config files melodramatically at run time that which one's settings is going to be used this time, can any body explain it please,

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      By including Web.config files in sub-folders, we can override the settings defined in the Web.config file in the application's root folder. Working with more than one Web.config file[^] However, you can not use web.config file based on some conditional criteria. You can use multiple .config files and include it in web.config file. http://www.beansoftware.com/asp.net-tutorials/multiple-config.aspx[^] HTH

      Jinal Desai - LIVE Experience is mother of sage....

      1 Reply Last reply
      0
      • T tanweer

        hi, i have a we application and i have different settings for this application, now i need multiple web.config files in the application, how i can reference to those web.config files melodramatically at run time that which one's settings is going to be used this time, can any body explain it please,

        J Offline
        J Offline
        Jamil Hallal
        wrote on last edited by
        #3

        The usage of multiple configuration file makes the application more secure and manageable. In the following tutorial you can learn how to use multiple web.config files in your application.

        Regards, Jamil

        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