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. is our application works if we remove the web.config ?

is our application works if we remove the web.config ?

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

    hi all, what if we remove web.config or machine.config from the application, then, Is this application will works? Thanks, Rahi

    If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

    N K 2 Replies Last reply
    0
    • R Rahithi

      hi all, what if we remove web.config or machine.config from the application, then, Is this application will works? Thanks, Rahi

      If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      N Offline
      N Offline
      Neeraj Arora
      wrote on last edited by
      #2

      I dont think, web.config is a mandatory part but if your web site does not have a web.config, web servers default settings will work for ur site also. I read an article, may be that helps you. http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx "A smile passed to someone in the morning may travel to thousands of people."

      1 Reply Last reply
      0
      • R Rahithi

        hi all, what if we remove web.config or machine.config from the application, then, Is this application will works? Thanks, Rahi

        If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        K Offline
        K Offline
        krishna19
        wrote on last edited by
        #3

        Yes. It will.....It will inherit the settings defined in the Machine.config file. Whatever we include in the web.config over ride the settings in machine.config. web.config is specific for application..or sometimes part of the application. It is not mandatory. But machine.config file is also absent, then it will not work. I dont think you can remove Machine.config file without putting at risk all your work.

        If you fail for the first time , call it version 1.0.

        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