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. General Programming
  3. C#
  4. I loose my time in config files

I loose my time in config files

Scheduled Pinned Locked Moved C#
csharpsysadminperformancehelp
7 Posts 7 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
    Bastien Vandamme
    wrote on last edited by
    #1

    I would like to know. Is it only me or your are also spending more time in config files than really writing code with .NET. I really hate this framework because of that. It's not a framework that is made for developer with a good logical mind that like coding. To master this framework you need memory first and be able to manage the config files first. For one day of development on my machine I need 3 days to configure everything on the production server. The code always works fine on my machine. I never get such problem with other languages.

    D Kornfeld Eliyahu PeterK P L OriginalGriffO 6 Replies Last reply
    0
    • B Bastien Vandamme

      I would like to know. Is it only me or your are also spending more time in config files than really writing code with .NET. I really hate this framework because of that. It's not a framework that is made for developer with a good logical mind that like coding. To master this framework you need memory first and be able to manage the config files first. For one day of development on my machine I need 3 days to configure everything on the production server. The code always works fine on my machine. I never get such problem with other languages.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      I have no idea what you're spending so much time on or even what config files you're talking about. I usually work on app/web.config files for about 5 minutes ... per project.

      A guide to posting questions on CodeProject

      Click this: Asking questions is a skill. Seriously, do it.
      Dave Kreskowiak

      1 Reply Last reply
      0
      • B Bastien Vandamme

        I would like to know. Is it only me or your are also spending more time in config files than really writing code with .NET. I really hate this framework because of that. It's not a framework that is made for developer with a good logical mind that like coding. To master this framework you need memory first and be able to manage the config files first. For one day of development on my machine I need 3 days to configure everything on the production server. The code always works fine on my machine. I never get such problem with other languages.

        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu PeterK Offline
        Kornfeld Eliyahu Peter
        wrote on last edited by
        #3

        Sounds interesting. I had never that problem. I'm working on a web application out for 5 years and made no changes to the config file for ages... It's true that at the beginning I spend about 3 hours to fine tuning everything, but nothing since then... You better get us into the details so we may spot the problem and help you out...

        I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

        "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

        1 Reply Last reply
        0
        • B Bastien Vandamme

          I would like to know. Is it only me or your are also spending more time in config files than really writing code with .NET. I really hate this framework because of that. It's not a framework that is made for developer with a good logical mind that like coding. To master this framework you need memory first and be able to manage the config files first. For one day of development on my machine I need 3 days to configure everything on the production server. The code always works fine on my machine. I never get such problem with other languages.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          It really sounds to me like you're doing it wrong. I spend next to no time in config files when I'm developing.

          1 Reply Last reply
          0
          • B Bastien Vandamme

            I would like to know. Is it only me or your are also spending more time in config files than really writing code with .NET. I really hate this framework because of that. It's not a framework that is made for developer with a good logical mind that like coding. To master this framework you need memory first and be able to manage the config files first. For one day of development on my machine I need 3 days to configure everything on the production server. The code always works fine on my machine. I never get such problem with other languages.

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

            B413 wrote:

            hate this framework

            Which framework are you talking about?

            B413 wrote:

            I never get such problem with other languages.

            Which language are you talking about?

            1 Reply Last reply
            0
            • B Bastien Vandamme

              I would like to know. Is it only me or your are also spending more time in config files than really writing code with .NET. I really hate this framework because of that. It's not a framework that is made for developer with a good logical mind that like coding. To master this framework you need memory first and be able to manage the config files first. For one day of development on my machine I need 3 days to configure everything on the production server. The code always works fine on my machine. I never get such problem with other languages.

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #6

              For my web stuff, I spent half a day getting it the way I wanted about four years ago, and then recycle that structure for new projects. Once of the best things I did was to be aware of the different between production and developnent config files, and allow for it: Supporting Development and Release web.config in ASP.NET[^] Nowadays, it takes trivial time to support config files: just a minor tweak to DB connections and I'm off most of teh time. If it's taking your three days, I can't help feeling you are approaching the task wrong...

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              1 Reply Last reply
              0
              • B Bastien Vandamme

                I would like to know. Is it only me or your are also spending more time in config files than really writing code with .NET. I really hate this framework because of that. It's not a framework that is made for developer with a good logical mind that like coding. To master this framework you need memory first and be able to manage the config files first. For one day of development on my machine I need 3 days to configure everything on the production server. The code always works fine on my machine. I never get such problem with other languages.

                V Offline
                V Offline
                V 0
                wrote on last edited by
                #7

                I usually only set database information in the config file, the rest goes in the database. I define it as key/value pairs, but also include "category" and/or machine/module information to be able to filter the necessary. In addition you could add a "user" filter for settings that a user can change. I also add a description on what the key/value pair is for. my two cents. PS: web services/WCF remain a major drag in this...

                V.
                (MQOTD rules and previous solutions)

                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