The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
When I first started doing web development I had a page that did a lot of processing. I added in lblStatus.Text = "Some message" after the various parts so you could see what was happening. It took a few minutes for me to realize why it wasn't working.
Of course I was self taught and was going from WinForms to WebForms/ASP.
But I agree, developers need to know how the underlying technology works (to a certain extent).
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
i mean, yeah that's a beginner error but you figured it out and it didn't mean you had confusion about client and server location so much as you were (temporarily) confused about ASP/ASP.NET context switching and how it worked, it sounds like,
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
Seems to be quite a common mistake with people who are new to ASP.NET, particularly with WebForms.
Along with using MessageBox.Show / MsgBox to display a prompt to the user; trying to open uploaded files using the file path passed from the client; and trying to send files to the client by saving them in a particular path on the server.
Visual Studio doesn't help much. When you debug the code, it's running as an interactive process on the same machine, with the same file system, so it makes them think they're doing the right thing.
Sometimes I think it needs a "n00b" mode. Every attempt to show UI should fail with an exception explaining the problem. Every Process.Start should run on a separate empty desktop, with huge messages telling them that it's running on the server, not on the client. Every attempt to access files outside of the application (which haven't been explicitly configured) should fail with a "file not found" error.
But then I look at QA, and realise that at least half of developers never read the error messages.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
I just kinda woke up one morning thinking "religion is b*ll*cks and I wanna program computers". So I became an atheist* and my future was laid out. Never even seen a computer except on TV up to then, and had no idea whatsoever what it actually involved. If I'd had a dream about Spaghetti Junction maybe I'd have been a road planner instead, who can say?
* I grew out of that when I realised atheism is a form of extremism, (fanaticism, call it what you will), just like being a god botherer is.
Sent from my Amstrad PC 1640 Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
I walked under spaghetti junction (many canals, not to mention the railway) several times while it was under construction. Only a 15 minute walk from school. It was strangely beautiful then (especially with arcs of motorway several layer up, just in isolation and not joining up). But didn't dream about it, so stuck with IT DP. (Data Processing)