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. Web.config, Global.asax

Web.config, Global.asax

Scheduled Pinned Locked Moved Web Development
securityquestion
5 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.
  • K Offline
    K Offline
    Kusal
    wrote on last edited by
    #1

    Dear All, My project has this files - Web.config, Global.asax What are the important in here. I need get complete idea about content in this file. Any one can pls give clear idea or submit articles or links. And also give idea about Forms Authentication / Windows Authentication ? Regards Kusal

    B K 2 Replies Last reply
    0
    • K Kusal

      Dear All, My project has this files - Web.config, Global.asax What are the important in here. I need get complete idea about content in this file. Any one can pls give clear idea or submit articles or links. And also give idea about Forms Authentication / Windows Authentication ? Regards Kusal

      B Offline
      B Offline
      BLOEDHOND
      wrote on last edited by
      #2

      Hi The web.config file priority works from bottom to top. E.g if you have a folder in inetpub/wwwroot/myweb_service. And you have a web.config file in wwwroot and myweb_service the web.config file in myweb-service take higher priority than the one in wwwroot The web.config file have all the settings and info needed to run say your web service. It is not a good idea to store sensitive info in the web.config file as it can be accessed easily. You can however encode it, but don't ask me how, have not done it before goodluck hope it helps

      K 1 Reply Last reply
      0
      • K Kusal

        Dear All, My project has this files - Web.config, Global.asax What are the important in here. I need get complete idea about content in this file. Any one can pls give clear idea or submit articles or links. And also give idea about Forms Authentication / Windows Authentication ? Regards Kusal

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

        BLOEDHOND did a good job describing the web.config. It basicaly has the connection string for you sql server and other configuration type data. The Global.asax is a file where you can define some application events. Like application start, application error etc. These events happen the first time your web site is accessed or when your web site gets an error. You should be able to find a lot of information on these files if you just do a google search on them. Ben

        K 1 Reply Last reply
        0
        • B BLOEDHOND

          Hi The web.config file priority works from bottom to top. E.g if you have a folder in inetpub/wwwroot/myweb_service. And you have a web.config file in wwwroot and myweb_service the web.config file in myweb-service take higher priority than the one in wwwroot The web.config file have all the settings and info needed to run say your web service. It is not a good idea to store sensitive info in the web.config file as it can be accessed easily. You can however encode it, but don't ask me how, have not done it before goodluck hope it helps

          K Offline
          K Offline
          Kusal
          wrote on last edited by
          #4

          Hi, Meny thanks Regards Kusal

          1 Reply Last reply
          0
          • K kubben

            BLOEDHOND did a good job describing the web.config. It basicaly has the connection string for you sql server and other configuration type data. The Global.asax is a file where you can define some application events. Like application start, application error etc. These events happen the first time your web site is accessed or when your web site gets an error. You should be able to find a lot of information on these files if you just do a google search on them. Ben

            K Offline
            K Offline
            Kusal
            wrote on last edited by
            #5

            Hi Ben, Meny thanks Regards Kusal

            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