|
-
Aug 31st, 2002, 11:38 PM
#1
Thread Starter
PowerPoster
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.
-
Sep 1st, 2002, 02:52 AM
#2
Frenzied Member
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
-
Sep 1st, 2002, 06:50 AM
#3
Hyperactive Member
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 ***
-
Sep 1st, 2002, 09:56 AM
#4
Thread Starter
PowerPoster
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|