- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
What does B.B. stand for, anyway? Backstabbing Bastard?
Admin
Admin
Believe it or not I think I understand the reasoning here, the chief reason is Intellisense... Intellisense and static analisis... thats two reasons, Intellisense, static analisys and safe refactoring!
The Configuration.AppSettings hash key is a string and as such it doesn't pop up with intellisense, you have to look for it in the documentation, the config file , or somewhere else in the code. Shall you make a mistake, static analisis won't reveal it at compilation, and test should be very thorough to detect it as it doesn't fail hard. Then you have refactoring, refactoring symbols is a joy but refactoring strings is scary, because of static analisis, probably.
We in fact write static wrapper classes for configuration, each property mapping a key in the configuration file.
Admin
Admin
i got a message about not having disfiguration how do i get it
Admin
This article is absolute garbage, the author must never have actually delivered software to a client before.
If he did, he'd understand that clients sometimes like to change the configuration of the software without waiting for you to rebuild it and redeploy it every time.
Work involved with changing the mail server using app.config:
Work involved with changing the mail server using your way:
At least you got that last part right.
Admin
Well,
They were .NET programmers. You should not have high expectations after all...