Click here to Skip to main content
15,925,255 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.

 
GeneralRe: Safety First! Pin
Herman<T>.Instance1-Feb-18 4:51
Herman<T>.Instance1-Feb-18 4:51 
GeneralRe: Safety First! Pin
Mike Hankey1-Feb-18 5:32
mveMike Hankey1-Feb-18 5:32 
GeneralRe: Safety First! Pin
jeron11-Feb-18 6:28
jeron11-Feb-18 6:28 
GeneralRe: Safety First! Pin
Mike Hankey1-Feb-18 7:37
mveMike Hankey1-Feb-18 7:37 
GeneralRe: Safety First! Pin
jeron11-Feb-18 7:53
jeron11-Feb-18 7:53 
GeneralRe: Safety First! Pin
User 592411-Feb-18 15:48
User 592411-Feb-18 15:48 
GeneralRe: Safety First! Pin
V.1-Feb-18 21:11
professionalV.1-Feb-18 21:11 
GeneralInteresting Pin
#realJSOP1-Feb-18 3:11
professional#realJSOP1-Feb-18 3:11 
If you're writing an MVC5/EF6 app, and your model object contains a property called Model, you can't name the model's parameter prototype on the HttpPost methods "model". It will try to cast the Model property to the object type (in my case, Model was a string), and because you can't cast a complex object to a string, the ModelState.IsValid is false.

How's that for a whacked out discovery?

I want to tell everyone else in the office about this, but none of them are programmers.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: Interesting PinPopular
CPallini1-Feb-18 3:18
mveCPallini1-Feb-18 3:18 
GeneralRe: Interesting Pin
The pompey1-Feb-18 3:59
The pompey1-Feb-18 3:59 
GeneralRe: Interesting Pin
R. Giskard Reventlov1-Feb-18 4:22
R. Giskard Reventlov1-Feb-18 4:22 
GeneralRe: Interesting Pin
#realJSOP1-Feb-18 4:38
professional#realJSOP1-Feb-18 4:38 
GeneralRe: Interesting Pin
R. Giskard Reventlov1-Feb-18 6:05
R. Giskard Reventlov1-Feb-18 6:05 
GeneralRe: Interesting Pin
maze31-Feb-18 5:03
professionalmaze31-Feb-18 5:03 
GeneralRe: Interesting Pin
R. Giskard Reventlov1-Feb-18 6:05
R. Giskard Reventlov1-Feb-18 6:05 
GeneralRe: Interesting Pin
Nish Nishant1-Feb-18 6:30
sitebuilderNish Nishant1-Feb-18 6:30 
GeneralRe: Interesting Pin
Daniel Pfeffer1-Feb-18 7:53
professionalDaniel Pfeffer1-Feb-18 7:53 
GeneralRe: Interesting Pin
Nish Nishant1-Feb-18 6:30
sitebuilderNish Nishant1-Feb-18 6:30 
GeneralRe: Interesting Pin
PIEBALDconsult1-Feb-18 5:25
mvePIEBALDconsult1-Feb-18 5:25 
JokeRe: Interesting Pin
RickZeeland1-Feb-18 9:08
mveRickZeeland1-Feb-18 9:08 
GeneralIn the news: Windows security: We'll delete tools that bully you to buy upgrades, says Microsoft Pin
CodeWraith31-Jan-18 22:28
CodeWraith31-Jan-18 22:28 
GeneralRe: In the news: Windows security: We'll delete tools that bully you to buy upgrades, says Microsoft PinPopular
PeejayAdams31-Jan-18 23:58
PeejayAdams31-Jan-18 23:58 
GeneralRe: In the news: Windows security: We'll delete tools that bully you to buy upgrades, says Microsoft Pin
A_Griffin1-Feb-18 0:10
A_Griffin1-Feb-18 0:10 
GeneralRe: In the news: Windows security: We'll delete tools that bully you to buy upgrades, says Microsoft Pin
CodeWraith1-Feb-18 0:48
CodeWraith1-Feb-18 0:48 
GeneralRe: In the news: Windows security: We'll delete tools that bully you to buy upgrades, says Microsoft Pin
ZurdoDev1-Feb-18 2:09
professionalZurdoDev1-Feb-18 2:09 

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.