-
January 7th, 2009, 04:04 PM
#1
config file
I saw some config file in C# project, are those manually edited XML or
auto generated XML files?
http://www.oniva.com/upload/1356/config.jpg
are those standard C# features or just application specific defined
files?
I saw it is used to store GUI name and GUI error messages.
-
January 7th, 2009, 04:38 PM
#2
Re: config file
Configuration files are often manually created, but there are also tools.
Take a look at Enterprise Library to see one approach to dealing with this.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
January 7th, 2009, 05:08 PM
#3
Re: config file
it depends on the project: in DataBase projects, Web Service and ASP.Net Projects configuration file are mostly created automatically in XML-Like format
Please rate my post if it was helpful for you. Java, C#, C++, PHP, ASP.NET
SQL Server, MySQL
DirectX
MATH Touraj Ebrahimi
[toraj_e] [at] [yahoo] [dot] [com]
-
January 7th, 2009, 06:26 PM
#4
Re: config file
app.config is a .net thing. They are XML files that store your settings for the application.
See:
http://msdn.microsoft.com/en-us/libr...58(VS.80).aspx
http://www.ajaxline.com/node/258
Let me know if this was what you were looking for.
-
January 7th, 2009, 06:33 PM
#5
Re: config file
Originally Posted by toraj58
it depends on the project: in DataBase projects, Web Service and ASP.Net Projects configuration file are mostly created automatically in XML-Like format
For the vast majority of projects in those categories I find that the percentage of content (after all comments are stripped out) that is "automaically generated" accounts for 5%-10% of the total information that resides in the production configuration file.....
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
January 7th, 2009, 06:43 PM
#6
Re: config file
what is your idea about the OP post: is it Manually or Auto generated?
Please rate my post if it was helpful for you. Java, C#, C++, PHP, ASP.NET
SQL Server, MySQL
DirectX
MATH Touraj Ebrahimi
[toraj_e] [at] [yahoo] [dot] [com]
-
January 7th, 2009, 06:54 PM
#7
Re: config file
Originally Posted by toraj58
what is your idea about the OP post: is it Manually or Auto generated?
Depending on the project type, the file itself may be automatically generated, and have some default dontent.
However, the CONTENT of the file is (in most cases) manually created and/or edited.
There for both parts " manually edited XML" and "auto generated XML files" of the original question are true.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
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
|