1 day ago
In this tip, Stephen Walther demonstrate how you can create new LINQ to SQL extension methods that enable you to dramatically reduce the amount of code that you are required to write for typical data access scenarios.
By taking advantage of LINQ to SQL, you can dramatically reduce the amount of code that you need to write to access a database. LINQ to SQL has given me back several weeks of my life that I would have otherwise wasted in writing tedious ADO.NET code. In short, I am a fan.
However, LINQ to SQL is a general data access technology. It is not specific to ASP.NET MVC. You can use LIN...
Feed: ASP.NET Weblogs
3 days ago
In Britain (and many other democracies) Members of Parliament often have "Outside Interests" and draw extra income from paid directorships, consulting gigs, or journalistic work. There has been plenty of controversy about MPs having such outside interests ranging from possible ethical issues to concerns over possible impact on MPs' legislative behavior. One concern is that MPs may be less effective as a representative if they "moonlight" from their Westminster jobs.
In a recent paper about the financial returns to serving in the House of Commons, Andy Eggers and I consider the relationship bet...
Feed: Social Science Statistics Blog
3 days ago
I admit, up until now I’ve largely ignored the BDD (Behavior Driven Development) Context/Specification style of writing unit tests. It’s been touted as a more approachable way to learn TDD (Test Driven Development) and as a more natural transition from user stories to the actual code design. I guess my hesitation to give it a second thought was that I felt I didn’t need a more approachable form of TDD.
Recently, my Subtext partner in crime, Steve Harman, urged me to take another fresh look at BDD Context/Specification style tests. I trust Steve’s opinion, so I took another look and in ...
Feed: you've been HAACKED