Results 1 to 4 of 4

Thread: Has anyone used .config files yet?

  1. #1

    Thread Starter
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464

    Has anyone used .config files yet?

    I was reading about config files, which are stored as xml. They look interesting. I was wondering if anyone used them as a place to store your applications state between executions. It looks simple and I am going to be trying it. It would be better than storing them in the registry...I dislike the registry.

    You can also do a bunch of different things with them, like make simple changes to your app without having to re-deploy the whole thing...that is if you create your app the way that is needed.

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Using the Serializable attribute is much better at saving application state.

    I have'nt looked at config files yet though.
    Dont gain the world and lose your soul

  3. #3
    Hyperactive Member SoftwareMaker's Avatar
    Join Date
    Mar 2001
    Location
    Elbonia with Dilbert and Wally
    Posts
    322

    What do you want to know about .config files

    I have used .config files for both my ASP.NET and VB.NET projects.
    Of course for ASP.NET, it is the standard web.config file for some ConfigurationSettings whereas for VB.NET projects, its named someapp.exe.config which the compiler reads and sets the appropriate settings before compiling the application.

    What do you need to know about .config files ? Maybe I can help you
    William T
    Software Architect / Chief Software Developer
    Softwaremaker.Net Pte Ltd
    http://www.Softwaremaker.net

    *** Things are always the darkest before they go pitch black ***

  4. #4

    Thread Starter
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    its named someapp.exe.config which the compiler reads and sets the appropriate settings before compiling the application.
    The book I have says that they are looked at every time the app starts up, this way you can change them without recompiling the app.

    And it wasn't that I have a specific question, just if others are using them or not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width