<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6.2" -->
<rss version="0.92">
<channel>
	<title>Craig Stuntz's Weblog</title>
	<link>http://blogs.teamb.com/craigstuntz</link>
	<description>C# • Entity Framework • Functional Programming • MVC • Web</description>
	<lastBuildDate>Thu, 09 Feb 2012 04:12:45 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en-US</language>
	
	<item>
		<title>Ad-hoc SQL/POCO Queries in Entity Framework 4.0</title>
		<description>Since version 4.0, the Entity Framework has had the ability to query un-mapped data and project it onto POCOs using ad-hoc SQL.

Here, for example, is how we check the current SQL Server version:

        internal class SqlVersionInfo
        ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2011/12/30/38699/</link>
			</item>
	<item>
		<title>Sometimes, SELECT Really Is Broken</title>
		<description>We got a bug report from a customer the other day; a certain query in one of our web services was giving the following error:
A column has been specified more than once in the order by list. Columns in the  order by list must be unique.
Seems clear enough, except ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2011/11/03/38695/</link>
			</item>
	<item>
		<title>Testing Cross Cutting Concerns</title>
		<description>So imagine you've been asked to implement the following requirement:
When a to-do list item is marked as complete, the CompletedOn date time property shall be set to the current time.
That doesn't sound so hard to implement, but how can I test it? I don't know precisely what the value of ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2011/10/05/38689/</link>
			</item>
	<item>
		<title>Would You Buy a Used Framework from This Tool?</title>
		<description>I think the Web Platform Installer is a great tool, but I have to question the wisdom of its home page:



If you click on these, you see... nothing. A description would be nice. ("Application Request Routing? What's that? EC-CUBE?")

But that's not really the problem. The bigger problem is this: A ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2011/08/22/38682/</link>
			</item>
	<item>
		<title>Great CS Textbooks, Cheap</title>
		<description>I'm probably late to this party, but I've discovered that you can find incredible deals on used CS textbooks at Amazon, especially for older editions.

For example, I recently ordered a copy of Programming Language Pragmatics, by Michael L. Scott. It's $63 new for the hardcover or $43 on a Kindle. I ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2011/08/19/38679/</link>
			</item>
	<item>
		<title>An Excuse Not to Roll Your Own Authentication Scheme</title>
		<description>The Rails 3.1 Release Candidate announcement contained news of many new and useful features, plus these regretful words:
has_secure_password: Dead-simple BCrypt-based passwords. Now there’s no excuse not to roll your own authentication scheme.
I will briefly provide an excuse.

"Simple BCrypt-based passwords" is a reasonable feature, but shouldn't be mistaken for end-to-end authentication, ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2011/05/26/38672/</link>
			</item>
	<item>
		<title>Why Won&#8217;t Visual Studio Step Into This Code?</title>
		<description>I helped another developer debug an interesting problem this morning. Let's see if you can spot the problem. The code in question looked something like this simplified version containing only enough code to show the problem:

public void Execute()
{
    DoStuff();        // ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2011/03/30/38667/</link>
			</item>
	<item>
		<title>A Better View API for Grids in ASP.NET MVC</title>
		<description>I'm writing a grid-independent interface for displaying data in ASP.NET MVC applications, and I would like your feedback on the API design.

In my last post, I discussed some of the problems with existing grid components for ASP.NET MVC. Actually, there are a couple more design issues which I forgot to ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2010/12/30/38657/</link>
			</item>
	<item>
		<title>One (MVC) Grid to Rule Them All</title>
		<description>Imagine you're starting a new project using ASP.NET MVC. Let's say it's a project which frequently requires displaying a list of records, like Google or Stack Overflow or an enterprise database application. Which grid should you use?

The obvious answer is, "I don't know. I'm just getting started. Does it really ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2010/12/22/38654/</link>
			</item>
	<item>
		<title>How to Avoid Cut and Paste Code with ASP.NET MVC 2 Model Validation</title>
		<description>In this post, I will demonstrate how to make your own model validation attributes in order to share common validations throughout an ASP.NET MVC application, and which support MVC 2's client-side validation feature.
Validating a ZIP Code
As an example, consider a model for an address.

public class EditModel
{
    public ...</description>
		<link>http://blogs.teamb.com/craigstuntz/2010/09/28/38644/</link>
			</item>
</channel>
</rss>

