<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Crafty Code</title>
	<atom:link href="http://craftycodeblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://craftycodeblog.com</link>
	<description>In-depth solutions to obscure programming problems.</description>
	<lastBuildDate>Thu, 19 Jan 2012 23:45:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='craftycodeblog.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Crafty Code</title>
		<link>http://craftycodeblog.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://craftycodeblog.com/osd.xml" title="Crafty Code" />
	<atom:link rel='hub' href='http://craftycodeblog.com/?pushpress=hub'/>
		<item>
		<title>Rownum Simulation with MySQL</title>
		<link>http://craftycodeblog.com/2010/09/13/rownum-simulation-with-mysql/</link>
		<comments>http://craftycodeblog.com/2010/09/13/rownum-simulation-with-mysql/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 01:51:02 +0000</pubDate>
		<dc:creator>craftycode</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://craftycodeblog.com/?p=186</guid>
		<description><![CDATA[I recently had the need to SELECT some data from MySQL tables and include a &#8220;rownum&#8221; column on each row. For example, I needed some results that looked like this: id rownum name 1234 1 Billy 8274 2 Carl 4352 3 Dave Notice that I cannot use the &#8220;id&#8221; column because it is auto-generated, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=craftycodeblog.com&amp;blog=10437481&amp;post=186&amp;subd=craftycode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://craftycodeblog.com/2010/09/13/rownum-simulation-with-mysql/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92a3711662378cb8a1ac77f02324afdb?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">craftycode</media:title>
		</media:content>
	</item>
		<item>
		<title>Including External JavaScript and Stylesheets in a .NET Page</title>
		<link>http://craftycodeblog.com/2010/07/20/including-external-javascript-and-stylesheets-in-a-net-page/</link>
		<comments>http://craftycodeblog.com/2010/07/20/including-external-javascript-and-stylesheets-in-a-net-page/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 04:13:32 +0000</pubDate>
		<dc:creator>craftycode</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://craftycode.wordpress.com/?p=148</guid>
		<description><![CDATA[I&#8217;ve seen several ASP.NET developers architect their web apps so that the only way they can include page-specific CSS or JavaScript is via the code-behind file. That is a bad method because you generally want to keep as much display logic in the aspx as possible. It is actually very easy to structure your master [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=craftycodeblog.com&amp;blog=10437481&amp;post=148&amp;subd=craftycode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://craftycodeblog.com/2010/07/20/including-external-javascript-and-stylesheets-in-a-net-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92a3711662378cb8a1ac77f02324afdb?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">craftycode</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://craftycodeblog.com/2010/07/20/including-external-javascript-and-stylesheets-in-a-net-page/" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>LINQ to SQL: Single Data Context or Multiple Data Contexts?</title>
		<link>http://craftycodeblog.com/2010/07/19/linq-to-sql-single-data-context-or-multiple/</link>
		<comments>http://craftycodeblog.com/2010/07/19/linq-to-sql-single-data-context-or-multiple/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 07:13:26 +0000</pubDate>
		<dc:creator>craftycode</dc:creator>
				<category><![CDATA[LINQ to SQL]]></category>

		<guid isPermaLink="false">http://craftycode.wordpress.com/?p=118</guid>
		<description><![CDATA[One of the biggest questions that often arises when a LINQ to SQL newbie begins to think about how he/she is going to architect the data layer is whether to split the data model into multiple data contexts or put the entire model into a single context. This question is usually due to concerns about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=craftycodeblog.com&amp;blog=10437481&amp;post=118&amp;subd=craftycode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://craftycodeblog.com/2010/07/19/linq-to-sql-single-data-context-or-multiple/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92a3711662378cb8a1ac77f02324afdb?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">craftycode</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://craftycode.wordpress.com/2010/07/19/linq-to-sql-single-data-context-or-multiple/" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>Emulating CSS Child Selectors in IE6</title>
		<link>http://craftycodeblog.com/2010/05/19/emulating-css-child-selectors-in-ie6/</link>
		<comments>http://craftycodeblog.com/2010/05/19/emulating-css-child-selectors-in-ie6/#comments</comments>
		<pubDate>Wed, 19 May 2010 00:00:21 +0000</pubDate>
		<dc:creator>craftycode</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://craftycode.wordpress.com/?p=5</guid>
		<description><![CDATA[We all hate IE 6. If you don&#8217;t hate IE 6, then you just haven&#8217;t worked with it enough or you haven&#8217;t worked with newer browsers enough to realize what you&#8217;re missing. Alas, it still holds such a large market share that it cannot be ignored, so let&#8217;s put the whining aside and dig in&#8230; The problem [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=craftycodeblog.com&amp;blog=10437481&amp;post=5&amp;subd=craftycode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://craftycodeblog.com/2010/05/19/emulating-css-child-selectors-in-ie6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92a3711662378cb8a1ac77f02324afdb?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">craftycode</media:title>
		</media:content>

		<media:content url="http://craftycode.files.wordpress.com/2010/05/emulating-css-child-selectors-desired-vs-actual.png" medium="image" />

		<media:content url="http://craftycode.files.wordpress.com/2010/05/emulating-css-child-selectors-desired-vs-actual-2.png" medium="image" />

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fcraftycode.wordpress.com%2f2010%2f05%2f19%2femulating-css-child-selectors-in-ie6%2f" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET MVC Ajax Redirect</title>
		<link>http://craftycodeblog.com/2010/05/15/asp-net-mvc-ajax-redirect/</link>
		<comments>http://craftycodeblog.com/2010/05/15/asp-net-mvc-ajax-redirect/#comments</comments>
		<pubDate>Sat, 15 May 2010 18:24:26 +0000</pubDate>
		<dc:creator>craftycode</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>

		<guid isPermaLink="false">http://craftycode.wordpress.com/?p=86</guid>
		<description><![CDATA[I&#8217;ve had several occasions where I have needed to make an Ajax request to a secure action on the server (i.e. an action that requires the user to be logged in). The problem is&#8230;sometimes the user&#8217;s session will timeout between the time they access the secure page and the time they make the secure Ajax [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=craftycodeblog.com&amp;blog=10437481&amp;post=86&amp;subd=craftycode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://craftycodeblog.com/2010/05/15/asp-net-mvc-ajax-redirect/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92a3711662378cb8a1ac77f02324afdb?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">craftycode</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fcraftycode.wordpress.com%2f2010%2f05%2f15%2fasp-net-mvc-ajax-redirect%2f" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
		<item>
		<title>ASP.NET MVC Render Partial View to String</title>
		<link>http://craftycodeblog.com/2010/05/15/asp-net-mvc-render-partial-view-to-string/</link>
		<comments>http://craftycodeblog.com/2010/05/15/asp-net-mvc-render-partial-view-to-string/#comments</comments>
		<pubDate>Sat, 15 May 2010 07:12:29 +0000</pubDate>
		<dc:creator>craftycode</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>

		<guid isPermaLink="false">http://craftycode.wordpress.com/?p=54</guid>
		<description><![CDATA[I have run into a situation where I would like to render a partial view to a string and then return it as part of a JSON response like so: return Json(new { statusCode = 1, statusMessage = "The person has been added!", personHtml = PartialView("Person", person) }); The ability to do something like this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=craftycodeblog.com&amp;blog=10437481&amp;post=54&amp;subd=craftycode&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://craftycodeblog.com/2010/05/15/asp-net-mvc-render-partial-view-to-string/feed/</wfw:commentRss>
		<slash:comments>56</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/92a3711662378cb8a1ac77f02324afdb?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">craftycode</media:title>
		</media:content>

		<media:content url="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fcraftycode.wordpress.com%2f2010%2f05%2f15%2fasp-net-mvc-render-partial-view-to-string%2f" medium="image">
			<media:title type="html">kick it on DotNetKicks.com</media:title>
		</media:content>
	</item>
	</channel>
</rss>
