Click here to Skip to main content
15,891,473 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

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.

 
GeneralWe Are The Template Pin
W Balboos, GHB9-Feb-17 1:30
W Balboos, GHB9-Feb-17 1:30 
JokeRe: We Are The Template Pin
Duncan Edwards Jones9-Feb-17 1:33
professionalDuncan Edwards Jones9-Feb-17 1:33 
GeneralRe: We Are The Template Pin
W Balboos, GHB9-Feb-17 1:36
W Balboos, GHB9-Feb-17 1:36 
GeneralRe: We Are The Template Pin
Vivi Chellappa9-Feb-17 12:41
professionalVivi Chellappa9-Feb-17 12:41 
GeneralShout out to my son Pin
Rob Grainger9-Feb-17 0:47
Rob Grainger9-Feb-17 0:47 
GeneralRe: Shout out to my son Pin
Daniel Pfeffer9-Feb-17 1:15
professionalDaniel Pfeffer9-Feb-17 1:15 
GeneralRe: Shout out to my son Pin
HobbyProggy9-Feb-17 1:20
professionalHobbyProggy9-Feb-17 1:20 
GeneralFunctions that are more trouble than they're worth PinPopular
F-ES Sitecore9-Feb-17 0:45
professionalF-ES Sitecore9-Feb-17 0:45 
I see a common trend in Q&A and that is that almost everyone who uses RegisterStartupScript (or one of its variations) is under the impression that they are calling javascript code from code-behind, or that the js is executing immediately in the browser. Needless to say the problem they are having is almost invariably the result of this misunderstanding rather than an issue with the code itself.

I think Microsoft should rename this function to something like

RegisterStartupScriptPSYourJavascriptIsNOTRunningImmediatelyInTheBrowserYouCANNOTCallJavascriptFromCodeBehind.


Interop is another issue that many have problems understanding and again almost everyone that posts with an Interop problem is labouring under the impression that "Interop" is simply .net code that manipulates Office documents (it's always Office). Microsoft should rename the Interop namespace to something like

InteropPSThisCodeIsJustAProxyToYourCOMApplicationItIsNOTStandAloneCodeYouNeedTheActualApplicationInstalledOnAnyMachineYouWantThisCodeToRunOn


It's not just Microsoft, I think some standards should be updated to remove issues too. Almost everyone who posts with a CORS issue is attempting to solve the issue by adding the allow origin headers to the request they are sending. I think that the "Access-Control-Allow-Origin" header should be renamed to something like

Access-Control-Allow-Origin-PS-You-Add-This-Header-To-The-Server-Not-The-Client-What-Good-Is-Any-Security-Measure-The-Client-Can-Simply-Disable

GeneralRe: Functions that are more trouble than they're worth Pin
lopatir9-Feb-17 0:48
lopatir9-Feb-17 0:48 
GeneralRe: Functions that are more trouble than they're worth Pin
Richard MacCutchan9-Feb-17 0:48
mveRichard MacCutchan9-Feb-17 0:48 
GeneralRe: Functions that are more trouble than they're worth Pin
OriginalGriff9-Feb-17 1:05
mveOriginalGriff9-Feb-17 1:05 
GeneralRe: Functions that are more trouble than they're worth Pin
Foothill9-Feb-17 3:29
professionalFoothill9-Feb-17 3:29 
GeneralRe: Functions that are more trouble than they're worth Pin
Nagy Vilmos9-Feb-17 4:21
professionalNagy Vilmos9-Feb-17 4:21 
GeneralRe: Functions that are more trouble than they're worth Pin
Herbie Mountjoy10-Feb-17 7:04
professionalHerbie Mountjoy10-Feb-17 7:04 
JokeRe: Functions that are more trouble than they're worth Pin
Peter_in_27809-Feb-17 1:06
professionalPeter_in_27809-Feb-17 1:06 
GeneralRe: Functions that are more trouble than they're worth Pin
HobbyProggy9-Feb-17 1:18
professionalHobbyProggy9-Feb-17 1:18 
GeneralRe: Functions that are more trouble than they're worth Pin
Richard Deeming9-Feb-17 1:25
mveRichard Deeming9-Feb-17 1:25 
GeneralRe: Functions that are more trouble than they're worth Pin
Charles Programmer10-Feb-17 10:37
Charles Programmer10-Feb-17 10:37 
GeneralRe: Functions that are more trouble than they're worth Pin
Richard Deeming12-Feb-17 1:22
mveRichard Deeming12-Feb-17 1:22 
GeneralRe: Functions that are more trouble than they're worth Pin
User 101325469-Feb-17 2:14
User 101325469-Feb-17 2:14 
GeneralRe: Functions that are more trouble than they're worth Pin
dandy729-Feb-17 5:44
dandy729-Feb-17 5:44 
GeneralRe: Functions that are more trouble than they're worth Pin
Jon McKee9-Feb-17 7:58
professionalJon McKee9-Feb-17 7:58 
GeneralRe: Functions that are more trouble than they're worth Pin
Sander Rossel9-Feb-17 21:01
professionalSander Rossel9-Feb-17 21:01 
GeneralRe: Functions that are more trouble than they're worth Pin
Brady Kelly10-Feb-17 2:29
Brady Kelly10-Feb-17 2:29 
GeneralWindows 10 has found a new way to annoy me. Pin
OriginalGriff8-Feb-17 23:59
mveOriginalGriff8-Feb-17 23:59 

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.