Click here to Skip to main content
15,885,985 members

Comments by Keith Barrow (Top 200 by date)

Keith Barrow 30-Jun-22 8:41am View    
When you've done this can you send me the code - I want to ask it to build a better bot that solves programming problems.
Keith Barrow 16-Jul-20 10:06am View    
Just to add to Richard Deeming's answer - if you want to catch say the DAOEXception you have to throw it first (or probably catch some DBException and throw the exception type you want. The framework won't automatically turn an Exception into a DAOException because one is subclassed by the other (assuming that is how you expect it to work).
Keith Barrow 24-Jan-20 8:46am View    
You are already getting the answers, largely because they are correct in what they say: it's all somebody's opinion to an extent. I've written sites in PHP or plain old HTML/CSS/JS that have been perfectly fine, though they were small and largely static - I wouldn't use this stack for larger/complex sites personally. I've also worked on large government and financial sites using ASP.NET, it was perfectly fine. I've also worked on angular and VueJS front ends, they worked out too.

You have to try and figure out what the site does and work out which tech is the best fit. Posting here you'll have a selection bias as the site is aimed primarily at .net techs, so we're all .netters more or less.

One bit of advice I'd give is, use one of the well known and well supported platforms, and try and find one with as much out-the-box scaffolding as you can utilise (though on the latter you'll need to balance flexibility against initial speed of development). As long as there is plenty of online help, you should be able to progress, this is especially important if you are new to this stuff.
Keith Barrow 4-Apr-19 5:30am View    
The JavaScriptSerializer.Deserialize method isn't going to deserialize the query parameters - it is expecting a JSON string. OriginalGriff's solution is where I'd start.

Also Mehdi Gholam asks a good question - I can't think of a good reason why you'd want to do this other than as an exercise. That doesn't mean there isn't a good reason, but its good to question "am I actually solving the correct problem".
Keith Barrow 16-Nov-18 6:08am View    
Why can't you run code. This is obviously an exercise question - but it seems odd that you wouldn't run the code.