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. How to regenerate web.config + Seeking tips and info on web.config!

How to regenerate web.config + Seeking tips and info on web.config!

Scheduled Pinned Locked Moved ASP.NET
windows-admintutorialannouncement
2 Posts 2 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.
  • B Offline
    B Offline
    bluesourcecode
    wrote on last edited by
    #1

    Oh my! I broke my web.config by trying out WSE 3.0. For some reason WSE applied its information into the wrong sections of my web app. At this point, I can either 1) Try to go back to a previous version of the web.config saved in SourceSafe. 2) Try to get a better understanding of what web.config does, and I mean the nitty gritty details here. 3) If such a thing exists, it would be nice to regenerate the web.config file! I've googled a few pages about web.config yet nothing out there satisfies my deep thirst for understanding web.config. So any info regarding what *exactly* the role(s) of web.config is(are) would be greatly appreciated. From what I'm able to see, the file is a repository of anything and everything, a sort of Registry but without a logical classification system. Your suggestions, insights and informations are more then welcome! Geoffrey

    A 1 Reply Last reply
    0
    • B bluesourcecode

      Oh my! I broke my web.config by trying out WSE 3.0. For some reason WSE applied its information into the wrong sections of my web app. At this point, I can either 1) Try to go back to a previous version of the web.config saved in SourceSafe. 2) Try to get a better understanding of what web.config does, and I mean the nitty gritty details here. 3) If such a thing exists, it would be nice to regenerate the web.config file! I've googled a few pages about web.config yet nothing out there satisfies my deep thirst for understanding web.config. So any info regarding what *exactly* the role(s) of web.config is(are) would be greatly appreciated. From what I'm able to see, the file is a repository of anything and everything, a sort of Registry but without a logical classification system. Your suggestions, insights and informations are more then welcome! Geoffrey

      A Offline
      A Offline
      aamironline
      wrote on last edited by
      #2

      On the safer side i would suggest to take latest from VSS and recover your web.config. However i would recommand you to grasp thorough understanding of Web.config. It is must if you are into web delopment with asp.net. Internet is the perfact repository for finding information. At the moment i would just say that Web.Config is an organized configuration file which manages your settings and configration on differenct area of web site development. Following list tells you about different section of configuration file. - AppSettings : Handles custom settings in the form of name and value pair. - SessionState: Session related settings. - ConnectionStrings: An organized place for putting connection strings. - CustomErrors: Centralized error manangement settings. - Trace: Centralized location for application tracing. - Providers: Different provider related settings like MembershipProvider, RolesProvider etc.... - Configuration and ConfigurationSection : Allow creating custom application specific settings.... - Etc... One more thing ============== If you install .Net 2.0, IIS gives you a UI for editing web.config file. Hope this much information if okay for you to get started with the Web.Config

      M Aamir Maniar aamirOnline.com

      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