|
|
Well done - you are up tomorrow!
Thought I'd try an easy one after last week ...
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!
|
|
|
|
|
0) Threw out all of the EF6 code not directly associated with they Identity stuff, and replaced it with home-grown ADO code that is faster and smaller, and just as dynamic.
1) Learned that SqlCommand.ExecuteNonQuery ALWAYS returns -1 when you execute a stored proc. I had to write code to add a ReturnValue parameter, and then modify all of the applicable stored procs to return @@ROWCOUNT in order to intelligently handle the number of affected rows.
2) I'm finally making forward progress again. I have the Register/Login stuff about 90% done. Just two more major items left before making the demo.
3) I'm having issues getting my model and a dropdownlist to talk to each other intelligently. I'm just missing some small piece to that puzzle.
3) I still hate Entity Framework, and all its ilk.
".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
|
|
|
|
|
Am I the only one who can't see "MVC5" without thinking "Kick out the jams, mother elephanters!"
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
Me Too,
|
|
|
|
|
I gave up on ORM's before I even started.
Where I used to work we were an ASP + Sql Server shop before the NET framework came out.
Some junior grade web-designer got the boss to let him create a new CMS based on MVC3 with a backend based on LINQ-2-SQL.
I learned C# really quick to troubleshoot the (tunnel vision) errors and another year to replace the backend connection to ADO. Since then I have no desire to try another ORM
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
Sheesh.
The guys I work with have an app that's pretty much committed to EF, and they have their own DB wrapper DLL that introduces high levels of abstraction. I don't need any of this, and I don't want any of the monster dependencies their DB wrapper requires for my own little utility--which connects to that same DB, but otherwise is pretty much standalone.
I wrote a rather thin wrapper around ADO, and have managed to avoid EF thus far. The other devs know I'm doing this and not using their EF-based wrapper, and have never questioned it or raised any sort of objection.
So...they probably know why.
|
|
|
|
|
Similar here; created a very limited class for hitting the DB via ADO.
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
I have to conduct a technical interview for a senior .net developer role. What are some of the things I should ask ?
I don't want to ask too low level question like what is an interface and what is a class. I feel that will be given for a senior developer with 10+ years of experience.
I am thinking more towards architecture and general decision making related questions. Any suggestions ?
Our tech stack is mainly C#, WPF, Web Forms, MVC, WCF and bunch of other CMS and SQL.
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
Ask about coffee and alcohol preferences.
|
|
|
|
|
Company has zero alcohol policy so that is out of the window... I can ask about coffee though
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
virang_21 wrote: Company has zero alcohol policy so that is out of the window...
I was going to ask you for a job...
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
virang_21 wrote: zero alcohol policy Next thing you'll be telling us that no member of the company is to maltreat the abos in any way whatsoever... if there's anyone watching???
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
"Are you a poofter?" might not be appropriate though.
|
|
|
|
|
My company had a zero tolerance policy as well. That just meant that the CEO kept his booze in the VP's office.
“The palest ink is better than the best memory.” - Chinese Proverb
|
|
|
|
|
You'd probably do better with a zero temperance policy.
Explorans limites defectum
|
|
|
|
|
Ask him about stuff you expect him to be using for the job.
What does his CV say he has done? Ask about projects and what his involvement in them was. What did he learn from them? what does he wish he'd done differently? How does the internet work? Explain a WPF project he was involved in? What was his contribution? What would you spend the money on if you won the lottery? How does WPF differ from Web Forms?
Throw a couple of silly ones in there - they help to break up the tension and show you how his thought processes work. Does he freeze like a rabbit in the headlights, or does he think about what he is doing? Does he rush in without thinking?
And if you ask a "basic" question, ask a follow up question that wants more depth based on his reply. You want dig out the ones who know the subject, not those that parrot a couple of sentences.
Good luck!
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 do not know why, but this makes me nervous.
|
|
|
|
|
These are great suggestions , I would also add paying attention to his soft skills as it can motivate/demotivate others in long term …
|
|
|
|
|
Ask him if he would use Entity Framework on an enterprise solution. What tool set does he recommend and why.
Does he have a CP profile!
Where does he he do most of his research.
And as OG said get him to discuss recent projects.
If you can keep MM off the turps during working hours hire him (assuming you are in Sydney)
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Mycroft Holmes wrote: Does he have a CP profile! Upvoted
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Mycroft Holmes wrote: If you can keep MM off the turps during working hours hire him (assuming you are in Sydney)
Virang's office is about 150 - 200metres metres from mine in a straight line if I don't have him confusrd with someone I haven't caught up with. North Sydney to be precise. Im sure he causght up in the Wger Am I Members section but couldn't see him when I looked.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
They have advertise the role in Perth as that is our main office. So I am getting a developer there.
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
virang_21 wrote: They have advertise the role in Perth as that is our main office. So I am getting a developer there.
The Matilday Bay Brewing Company is near there so I may be interested. I just need to come up with a great excuse as to why I'm always working n a brewery though.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
I always think the best interviews avoid the "what is x?" and "explain y" questions and delve more into the "whys" via a slightly more conversational approach.
I think you get a fairly quick idea of technical competence from the way people speak - you'll soon gather whether a person is a buzzword bull artist, a clueless cut-and-paster or a script kiddy without asking them stuff that they might just be able to parrot from Wikipedia articles. It doesn't take long to realise when you're talking to a genuine coder.
It's one thing for a person to be able to reel off the normalised forms as a list but it's another to say where and why they would or wouldn't use them.
Don't ask people "what is DI?", ask them where and why why would/wouldn't use DI.
Above all, ask questions that don't necessarily have a right or wrong answer. You're looking for someone who will fit into your team and the important thing there is to know what qualities you're looking for - the best person for one job may well be a disastrous choice for another. An excellent highly process-driven developer may struggle in an anarchic organisation and a more creative type might struggle in a more organised environment. Ultimately, it's a case of "horses for courses" and cultural fit can be a far bigger factor than book learning.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|