Click here to Skip to main content
15,891,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: Case select versus IF Statement Pin
#realJSOP17-Nov-08 11:03
mve#realJSOP17-Nov-08 11:03 
GeneralRe: Case select versus IF Statement Pin
Guffa17-Nov-08 13:09
Guffa17-Nov-08 13:09 
GeneralRe: Case select versus IF Statement Pin
Luc Pattyn17-Nov-08 15:29
sitebuilderLuc Pattyn17-Nov-08 15:29 
QuestionWhat is this friggin .config file? Pin
Dewald17-Nov-08 4:34
Dewald17-Nov-08 4:34 
AnswerRe: What is this friggin .config file? Pin
led mike17-Nov-08 4:46
led mike17-Nov-08 4:46 
GeneralRe: What is this friggin .config file? Pin
Dewald17-Nov-08 21:05
Dewald17-Nov-08 21:05 
GeneralRe: What is this friggin .config file? Pin
led mike18-Nov-08 6:05
led mike18-Nov-08 6:05 
GeneralRe: What is this friggin .config file? Pin
Dewald18-Nov-08 22:03
Dewald18-Nov-08 22:03 
led mike wrote:
I have no idea what that means? "when to expect to see the file", see the file?


It means that I can make a call to AppDomain.CurrentDomain.SetupInformation.ConfigurationFile which gives me the name of a file, yet nowhere in the application directory does such a file exist. If the file existed I would have expected to "see the file".

led mike wrote:
Dude, calm down, you just need to learn about config files. Don't think of them as some magic solution that you don't need to understand. Like everything else you do need to understand so take the time to learn. That article I linked to should be a place to start but there is certainly more information.


See, right here you've touched on what is probably the very essence of my frustration. I've been programming for close to two decades now so one would think that I'd know how to get to the bottom of new programming issues quickly. One would think that I'd know what there is to know about programming but I don't and I still get daunted by the plethora of information out there.

I made the switch to C# not too long ago and it was clear to me from the outset that it would take years to understand everything but I'm being paid to develop applications and don't have years to spend. So obviously I prioritise and get to understand the important things first. I didn't get the impression that configuration files were high on that list of important things. The fact that the book I purchased[^] (which in retrospect seems to be a pathetic book by the way) makes no mention of configuration files whatsoever may have reinforced this notion.

Then, when I run into an issue like this, I turn to the internet to see what I can learn. I started off googling for answers but when I didn't really get the answers to my questions I thought I'd turn to CodeProject. I would assume that the two links you provided should be very good for getting me underway but neither gives me any hint as to why in VS2008 I'm getting an AppName.config filename when in VS2005 I got AppName.exe.config. Every minute that I spend researching this issue is a minute that I could have spent testing other aspects of my application or writing new code and I feel guilty for spending so much of the time for which I'm being paid to develop. So what do I do? I change my proprietary file name to something that doesn't clash with AppName.config, thinking that I'll bother with getting to the bottom of that issue later (and probably never do) so I can get on with my work.

Maybe I'm just not a good developer then but seriously, how many developers are there who understand every last article in MSDN? Is that what you allude to if you say "Like everything else you do need to understand so take the time to learn". And how many other developers are there who, like me, don't have the time to exhaustively research a matter like this when they actually have a workaround for the time being and while the deadline is rushing down on them?

OK, enough venting from me Wink | ;) Maybe I'd have done better by using this time to research configuration files or work at meeting the deadline but this has always been something that concerned me. Am I a bad developer if I don't understand everything?
GeneralRe: What is this friggin .config file? Pin
led mike19-Nov-08 5:31
led mike19-Nov-08 5:31 
GeneralRe: What is this friggin .config file? Pin
Dewald19-Nov-08 6:00
Dewald19-Nov-08 6:00 
Questionefficient Pin
dole.doug17-Nov-08 4:05
dole.doug17-Nov-08 4:05 
AnswerRe: efficient Pin
Pr@teek B@h!17-Nov-08 4:11
Pr@teek B@h!17-Nov-08 4:11 
GeneralRe: efficient Pin
dole.doug17-Nov-08 5:07
dole.doug17-Nov-08 5:07 
AnswerRe: efficient Pin
Ennis Ray Lynch, Jr.17-Nov-08 5:04
Ennis Ray Lynch, Jr.17-Nov-08 5:04 
AnswerRe: efficient Pin
Alan Balkany18-Nov-08 3:39
Alan Balkany18-Nov-08 3:39 
QuestionHTTP POST problem Pin
gr9fci17-Nov-08 3:40
gr9fci17-Nov-08 3:40 
AnswerRe: HTTP POST problem Pin
leppie17-Nov-08 20:29
leppie17-Nov-08 20:29 
AnswerRe: HTTP POST problem Pin
leppie17-Nov-08 20:31
leppie17-Nov-08 20:31 
QuestionCreating a new WinForms .Net component (question from new comer) Pin
Ahmed Charfeddine17-Nov-08 2:55
Ahmed Charfeddine17-Nov-08 2:55 
Question.NET Runtime 2.0 Error Reporting Pin
jam198217-Nov-08 2:33
jam198217-Nov-08 2:33 
AnswerRe: .NET Runtime 2.0 Error Reporting Pin
sph3rex17-Nov-08 2:48
sph3rex17-Nov-08 2:48 
GeneralRe: .NET Runtime 2.0 Error Reporting Pin
jam198217-Nov-08 3:38
jam198217-Nov-08 3:38 
QuestionAbout binding files to an C# window application Pin
dilshan_02017-Nov-08 2:21
dilshan_02017-Nov-08 2:21 
AnswerRe: About binding files to an C# window application Pin
SeMartens17-Nov-08 2:32
SeMartens17-Nov-08 2:32 
GeneralRe: About binding files to an C# window application Pin
dilshan_02017-Nov-08 2:56
dilshan_02017-Nov-08 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.