<?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>Professional Programmer Notes</title>
	<atom:link href="http://curtismitchell.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://curtismitchell.wordpress.com</link>
	<description>or just call this my soapbox</description>
	<lastBuildDate>Thu, 08 Dec 2011 01:42:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='curtismitchell.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Professional Programmer Notes</title>
		<link>http://curtismitchell.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://curtismitchell.wordpress.com/osd.xml" title="Professional Programmer Notes" />
	<atom:link rel='hub' href='http://curtismitchell.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sequence Diagrams made easy&#8230;and fast!</title>
		<link>http://curtismitchell.wordpress.com/2011/12/07/sequence-diagrams-made-easy-and-fast/</link>
		<comments>http://curtismitchell.wordpress.com/2011/12/07/sequence-diagrams-made-easy-and-fast/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 01:29:37 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[sequence diagrams]]></category>
		<category><![CDATA[uml]]></category>

		<guid isPermaLink="false">http://curtismitchell.wordpress.com/2011/12/07/sequence-diagrams-made-easy-and-fast/</guid>
		<description><![CDATA[<a href="http://www.websequencediagrams.com/"><img src="http://curtismitchell.files.wordpress.com/2011/12/cdrawlzcgfydgljaxbhbnqgbwukaammd29ybgqabq0id2vic2vxdwvuy2vkawfncmftcy5jb20iigfzihdzcgptzs0-d3m6ihr5cgl0eswaaqcsihn1y2npbmn0iaa2ccaaoacgc3ludgf4cndzlt5tztogdmvyesbmyxn0igluc3rhbnqgaw1hz2ugb2ygew91cga" alt="Sequence Diagrams made easy...and fast!" class="size-full wp-image-252" /></a><p>websequencediagrams.com would be "straight buttah" if this were 1990</p><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=283&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="wp-caption aligncenter" style="width: 511px"><a href="http://www.websequencediagrams.com/"><img src="http://curtismitchell.files.wordpress.com/2011/12/cdrawlzcgfydgljaxbhbnqgbwukaammd29ybgqabq0id2vic2vxdwvuy2vkawfncmftcy5jb20iigfzihdzcgptzs0-d3m6ihr5cgl0eswaaqcsihn1y2npbmn0iaa2ccaaoacgc3ludgf4cndzlt5tztogdmvyesbmyxn0igluc3rhbnqgaw1hz2ugb2ygew91cga?w=700" alt="Sequence Diagrams made easy...and fast!" class="size-full wp-image-252" /></a><p class="wp-caption-text">websequencediagrams.com would be straight buttah if this were 1990</p></div>
<p>Seriously, click on the (above) image and see how easy it is to create sequence diagrams from your browser.</p>
<p>Also, if you&#8217;re looking for other types of UML diagrams, checkout Yuml.me (below).</p>
<div class="wp-caption aligncenter" style="width: 397px"><a href="http://yuml.me/"><img alt="Yuml.me" src="http://yuml.me/diagram/scruffy/usecase/%5BMe%5D-(Use%20Yuml.me),%20%5BYou%5D-(Use%20Yuml.me)" title="Yuml.me" width="387" height="419" /></a><p class="wp-caption-text">Class, Activity, and Use Case Diagrams from Yuml</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/283/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/283/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=283&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2011/12/07/sequence-diagrams-made-easy-and-fast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>

		<media:content url="http://curtismitchell.files.wordpress.com/2011/12/cdrawlzcgfydgljaxbhbnqgbwukaammd29ybgqabq0id2vic2vxdwvuy2vkawfncmftcy5jb20iigfzihdzcgptzs0-d3m6ihr5cgl0eswaaqcsihn1y2npbmn0iaa2ccaaoacgc3ludgf4cndzlt5tztogdmvyesbmyxn0igluc3rhbnqgaw1hz2ugb2ygew91cga" medium="image">
			<media:title type="html">Sequence Diagrams made easy...and fast!</media:title>
		</media:content>

		<media:content url="http://yuml.me/diagram/scruffy/usecase/%5BMe%5D-(Use%20Yuml.me),%20%5BYou%5D-(Use%20Yuml.me)" medium="image">
			<media:title type="html">Yuml.me</media:title>
		</media:content>
	</item>
		<item>
		<title>SEWDI (Someone Else Will Do It) Disease</title>
		<link>http://curtismitchell.wordpress.com/2011/12/07/sewdi-someone-else-will-do-it-disease/</link>
		<comments>http://curtismitchell.wordpress.com/2011/12/07/sewdi-someone-else-will-do-it-disease/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 01:11:56 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[habits]]></category>

		<guid isPermaLink="false">http://curtismitchell.wordpress.com/2011/12/07/sewdi-someone-else-will-do-it-disease/</guid>
		<description><![CDATA[What is it? A productivity block that often affects the work of developers that habitually search and find solutions to technical problems. History (feel free to skip to &#8220;How it affects us&#8221; below) In the past, research was very time consuming.  It often involved    traveling to a library that may not have computers learning [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=250&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>What is it?</strong></p>
<p>A productivity block that often affects the work of developers that habitually search and find solutions to technical problems.</p>
<p><strong>History </strong>(feel free to skip to &#8220;How it affects us&#8221; below)</p>
<div>In the past, research was very time consuming.  It often involved </div>
<div> </div>
<ul>
<li>traveling to a library that may not have computers</li>
<li>learning and utilizing the Dewey Decimal system to increase efficiency</li>
<li>identifying possible books and/or periodicals on the topic</li>
<li>reviewing many sources to adequately research the topic and add depth to the research</li>
<li>compiling the research into a format to be reused</li>
<li>consuming and/or sharing the research</li>
</ul>
<div>Then, the Internet was invented and things started getting better!</div>
<div> </div>
<div>Today, we can simply</div>
<div> </div>
<ul>
<li>open a web browser on one of the many computers available to us (even at libraries now)</li>
<li>type a term or phrase into one of many search engines</li>
<li>click on a few of the links that were instantly presented </li>
<li>use what you learned and move on (no need to compile it or save it because we can always just search and find it again later)</li>
</ul>
<p>In other words, research is relatively cheap and easy.</p>
<p><strong>How it affects us</strong></p>
<div>The ease of research has impacted how developers respond to problem-solving.  As professional problem-solvers, our natural response pertains to how the problem can be solved.  This helps us identify an approach to solving the problem that we think might work.  That&#8217;s the easy part. </div>
<div> </div>
<div>Next, we have to actually do the work to prove the approach solves the problem.  That&#8217;s the hard part &#8212; especially when there is often an easier way.  Instead of doing the implementation work, we research solutions to the problem.  Often, we find solutions that can be implemented with little or no effort.  We call that efficient.</div>
<div> </div>
<div>Meanwhile, we are conditioning ourselves to be dependent on this readily available resource known as the Internet.  In addition, we are subconsciously depending on the hard work of strangers.  Given enough successful Internet searches, we start to believe that failing to find a response means one of two things:</div>
<div> </div>
<div>
<ol>
<li>Our search terms need to be refined</li>
<li>The solution is not available &#8230; yet.</li>
</ol>
<div>This means either we need to approach our search differently, or wait until someone comes along and solves our problem.  Either way, actually solving the problem becomes the last option!</div>
<div> </div>
<div>That&#8217;s the magic of the Internet and the illusion of productivity that hides procrastination.  We will &#8220;work on solving the problem&#8221;.  We are professionals after all.  It&#8217;s just that &#8220;working on it&#8221; takes on a new meaning like </div>
<div> </div>
<ul>
<li>refining our search terms</li>
<li>asking colleagues how they solved similar problems</li>
<li>or, distracting ourselves with a new problem until someone else solves the first problem &#8211; thus, this blog entry <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=250&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2011/12/07/sewdi-someone-else-will-do-it-disease/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>
	</item>
		<item>
		<title>Don&#8217;t let my face stop you from giving to a good cause</title>
		<link>http://curtismitchell.wordpress.com/2011/11/11/dont-let-my-face-stop-you-from-giving-to-a-good-cause/</link>
		<comments>http://curtismitchell.wordpress.com/2011/11/11/dont-let-my-face-stop-you-from-giving-to-a-good-cause/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 16:32:00 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[charity]]></category>
		<category><![CDATA[health]]></category>
		<category><![CDATA[lexisnexis]]></category>
		<category><![CDATA[menshealth]]></category>
		<category><![CDATA[movember]]></category>

		<guid isPermaLink="false">http://curtismitchell.wordpress.com/?p=214</guid>
		<description><![CDATA[Hey You, As you may or may not know, I&#8217;m participating in a very exciting event called Movember. It is when people everywhere set their own pride and vanity aside, and grow mustaches throughout November to raise money to help combat common Men&#8217;s health issues like Prostate Cancer. One requirement was to start the month [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=214&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey You,</p>
<p>As you may or may not know, I&#8217;m participating in a very exciting event called Movember.  It is when people everywhere set their own pride and vanity aside, and grow mustaches throughout November to raise money to help combat common Men&#8217;s health issues like Prostate Cancer. </p>
<p>One requirement was to start the month cleanly shaven.  Here is me on November 2nd:</p>
<div id="attachment_217" class="wp-caption alignnone" style="width: 310px"><a href="http://curtismitchell.files.wordpress.com/2011/11/imag0653.jpg"><img src="http://curtismitchell.files.wordpress.com/2011/11/imag0653.jpg?w=300&#038;h=179" alt="Clean shaven" title="11-2-11 Mustache" width="300" height="179" class="size-medium wp-image-217" /></a><p class="wp-caption-text">Look Ma!  No mustache!</p></div>
<p>Here is what I looked like on November 11th:</p>
<div id="attachment_220" class="wp-caption alignnone" style="width: 310px"><a href="http://curtismitchell.files.wordpress.com/2011/11/imag0656.jpg"><img src="http://curtismitchell.files.wordpress.com/2011/11/imag0656.jpg?w=300&#038;h=179" alt="Barely a mustache as of 11-11-11" title="StillNoStache" width="300" height="179" class="size-medium wp-image-220" /></a><p class="wp-caption-text">Stache still missing</p></div>
<p>If the whole purpose of Movember is to grow a mustache in order to raise awareness, I am failing badly.  I can&#8217;t help it.  My face just isn&#8217;t cooperating.</p>
<p>However, I still owe it to you, LexisNexis (my company and Movember team), to provide something that will raise awareness and money for the cause.  </p>
<p>Without further ado, here are some pics of me with potential mustaches.</p>
<div id="attachment_223" class="wp-caption alignnone" style="width: 310px"><a href="http://curtismitchell.files.wordpress.com/2011/11/me-mjstache.jpg"><img src="http://curtismitchell.files.wordpress.com/2011/11/me-mjstache.jpg?w=300&#038;h=279" alt="Michael Jordan Stache" title="me-mjstache" width="300" height="279" class="size-medium wp-image-223" /></a><p class="wp-caption-text">My Michael Jordan Stache</p></div>
<div id="attachment_225" class="wp-caption alignnone" style="width: 310px"><a href="http://curtismitchell.files.wordpress.com/2011/11/jordan-sports-a-hitler-mustache.jpeg"><img src="http://curtismitchell.files.wordpress.com/2011/11/jordan-sports-a-hitler-mustache.jpeg?w=300&#038;h=246" alt="Michael Jordan Mustache" title="MJ Mustache" width="300" height="246" class="size-medium wp-image-225" /></a><p class="wp-caption-text">Michael Jordan&#039;s Hanes Mustache</p></div>
<div id="attachment_224" class="wp-caption alignnone" style="width: 310px"><a href="http://curtismitchell.files.wordpress.com/2011/11/me-juan.jpg"><img src="http://curtismitchell.files.wordpress.com/2011/11/me-juan.jpg?w=300&#038;h=225" alt="My Juan Valdez Stache" title="me-juan" width="300" height="225" class="size-medium wp-image-224" /></a><p class="wp-caption-text">My Juan Valdez Stache</p></div>
<div id="attachment_226" class="wp-caption alignnone" style="width: 310px"><a href="http://curtismitchell.files.wordpress.com/2011/11/juan.jpg"><img src="http://curtismitchell.files.wordpress.com/2011/11/juan.jpg?w=300&#038;h=225" alt="Juan Valdez" title="Juan Valdez" width="300" height="225" class="size-medium wp-image-226" /></a><p class="wp-caption-text">Juan Valdez</p></div>
<p>Obviously, I need help.  I&#8217;m borderline desperate.  Since my mustache refuses to work with me on this, please work with me on this.  <a href="http://www.movember.com/m/1978558" title="Movember Member Page" target="_blank">Checkout my Movember page and donate dollars to the cause.</a></p>
<p><strong>UPDATE (11.18.2011)</strong><br />
<div id="attachment_230" class="wp-caption alignnone" style="width: 422px"><a href="http://curtismitchell.files.wordpress.com/2011/11/me-hulk.jpg"><img src="http://curtismitchell.files.wordpress.com/2011/11/me-hulk.jpg?w=700" alt="" title="Me Hulk"   class="size-full wp-image-230" /></a><p class="wp-caption-text">Hulkamania Stache</p></div></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=214&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2011/11/11/dont-let-my-face-stop-you-from-giving-to-a-good-cause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>

		<media:content url="http://curtismitchell.files.wordpress.com/2011/11/imag0653.jpg?w=300" medium="image">
			<media:title type="html">11-2-11 Mustache</media:title>
		</media:content>

		<media:content url="http://curtismitchell.files.wordpress.com/2011/11/imag0656.jpg?w=300" medium="image">
			<media:title type="html">StillNoStache</media:title>
		</media:content>

		<media:content url="http://curtismitchell.files.wordpress.com/2011/11/me-mjstache.jpg?w=300" medium="image">
			<media:title type="html">me-mjstache</media:title>
		</media:content>

		<media:content url="http://curtismitchell.files.wordpress.com/2011/11/jordan-sports-a-hitler-mustache.jpeg?w=300" medium="image">
			<media:title type="html">MJ Mustache</media:title>
		</media:content>

		<media:content url="http://curtismitchell.files.wordpress.com/2011/11/me-juan.jpg?w=300" medium="image">
			<media:title type="html">me-juan</media:title>
		</media:content>

		<media:content url="http://curtismitchell.files.wordpress.com/2011/11/juan.jpg?w=300" medium="image">
			<media:title type="html">Juan Valdez</media:title>
		</media:content>

		<media:content url="http://curtismitchell.files.wordpress.com/2011/11/me-hulk.jpg" medium="image">
			<media:title type="html">Me Hulk</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET Devs: Make &#124;DataDirectory&#124; resolve to a path of your choosing</title>
		<link>http://curtismitchell.wordpress.com/2011/06/21/net-devs-make-datadirectory-resolve-to-a-path-of-your-choosing/</link>
		<comments>http://curtismitchell.wordpress.com/2011/06/21/net-devs-make-datadirectory-resolve-to-a-path-of-your-choosing/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 18:14:04 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://curtismitchell.wordpress.com/?p=209</guid>
		<description><![CDATA[I&#8217;m working on a desktop application that uses and embedded database. In my case, I&#8217;m using Sql Server Compact Edition 4.0 with Entity Framework 4.1. This tip could also apply to usage of Sqlite. In my app.config file, I have a connection string that tells my application to put the database in the &#8220;Data Directory&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=209&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a desktop application that uses and embedded database.  In my case, I&#8217;m using Sql Server Compact Edition 4.0 with Entity Framework 4.1.  This tip could also apply to usage of Sqlite.  In my app.config file, I have a connection string that tells my application to put the database in the &#8220;Data Directory&#8221; by using a syntax similar to this:</p>
<p><pre class="brush: xml;">
  &lt;connectionStrings&gt;
    &lt;add name=&quot;DbConnection&quot;
         connectionString=&quot;data source=|DataDirectory|\MyDb.sdf&quot;
         providerName=&quot;System.Data.SqlServerCe.4.0&quot; /&gt;
     ...
</pre></p>
<p>In ASP.NET, the |DataDirectory| token would expand to an App_Data folder under the root of my web application.  For desktop applications, it is the bin directory.  But, what if I wanted to point to a different location?</p>
<p>It turns out that DataDirectory is a macro.  It is resolved using the AppDomain.  The following line of code allows me to set the DataDirectory path prior to using the connection string:</p>
<p><pre class="brush: csharp;">AppDomain.CurrentDomain.SetData(&quot;DataDirectory&quot;, @&quot;C:\temp\data&quot;);</pre></p>
<p>That would expand my connection string to: data source=C:\temp\data\MyDb.sdf</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/209/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=209&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2011/06/21/net-devs-make-datadirectory-resolve-to-a-path-of-your-choosing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>
	</item>
		<item>
		<title>WPF&#8217;ing around with Boo and external xaml files</title>
		<link>http://curtismitchell.wordpress.com/2011/05/22/wpfing-around-with-boo-and-external-xaml-files/</link>
		<comments>http://curtismitchell.wordpress.com/2011/05/22/wpfing-around-with-boo-and-external-xaml-files/#comments</comments>
		<pubDate>Sun, 22 May 2011 21:39:21 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[boo]]></category>
		<category><![CDATA[ipy]]></category>
		<category><![CDATA[ironpython]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://curtismitchell.wordpress.com/?p=193</guid>
		<description><![CDATA[Here is a snippet of Boo code (formatted with Python syntax highlighter) that will load a xaml file into a WPF Window: See http://devpinoy.org/blogs/smash/archive/2006/10/04/XAMl-meets-Boo.aspx for reference. Alternatively, here is the equivalent IronPython code: Lastly, here is an example xaml file Note: There is no UserControl or Window element and the namespaces are defined on the root container, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=193&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a snippet of Boo code (formatted with Python syntax highlighter) that will load a xaml file into a WPF Window:</p>
<p><pre class="brush: python;">
import System
import System.Windows from PresentationFramework
import System.Windows.Markup from PresentationFramework
import System.IO

class XamlWindow(Window):
	def constructor(name):
		load_xaml(name)

	def load_xaml(name):
		xaml_file = File.OpenRead(Path.GetFullPath(name))
		self.Content = XamlReader.Load(xaml_file)

Application().Run(XamlWindow(&quot;mainui.xaml&quot;))&lt;/pre&gt;
</pre></p>
<p>See <a href="http://devpinoy.org/blogs/smash/archive/2006/10/04/XAMl-meets-Boo.aspx">http://devpinoy.org/blogs/smash/archive/2006/10/04/XAMl-meets-Boo.aspx</a> for reference.</p>
<p>Alternatively, here is the equivalent IronPython code:</p>
<p><pre class="brush: python;">
import clr
clr.AddReference(&quot;PresentationFramework&quot;)
clr.AddReference(&quot;PresentationCore&quot;)

from System.Windows import Window, Application
from System.Windows.Markup import XamlReader
from System.IO import File, Path

class XamlWindow(Window):
	def __init__(self, name):
		self.load_xaml(name)

	def load_xaml(self, name):
		xaml_file = File.OpenRead(Path.GetFullPath(name))
		self.Content = XamlReader.Load(xaml_file)

Application().Run(XamlWindow(&quot;mainui.xaml&quot;))
</pre></p>
<p>Lastly, here is an example xaml file</p>
<p><pre class="brush: xml;">
&lt;StackPanel
    xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
    xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;&gt;
    &lt;Label Content=&quot;Hello World&quot; /&gt;
    &lt;Button Content=&quot;Clickable&quot; /&gt;
&lt;/StackPanel&gt;
</pre></p>
<div>Note: There is no UserControl or Window element and the namespaces are defined on the root container, the StackPanel.</div>
<div>Results:</div>
<div><img class="alignnone size-full wp-image-203" title="wpfpic" src="http://curtismitchell.files.wordpress.com/2011/05/wpfpic.png?w=700" alt="screenshot of very simple wpf app"   border="0" /></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/193/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/193/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/193/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=193&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2011/05/22/wpfing-around-with-boo-and-external-xaml-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>

		<media:content url="http://curtismitchell.files.wordpress.com/2011/05/wpfpic.png" medium="image">
			<media:title type="html">wpfpic</media:title>
		</media:content>
	</item>
		<item>
		<title>HP Mini with Ubuntu needs Firmware upgrade for Wireless</title>
		<link>http://curtismitchell.wordpress.com/2010/12/03/hp-mini-with-ubuntu-needs-firmware-upgrade-for-wireless/</link>
		<comments>http://curtismitchell.wordpress.com/2010/12/03/hp-mini-with-ubuntu-needs-firmware-upgrade-for-wireless/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 22:23:36 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.curtismitchell.com/2b/?p=163</guid>
		<description><![CDATA[I recently installed Ubuntu Netbook Remix on my HP Mini 311.&#160; The OS is beautiful.&#160; It is a great fit for what I use my netbook to do: web development, view videos, and surf the net. Unfortunately, I realized my wireless adapter was not working after installation.&#160; It had a message that said something about [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=163&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently installed Ubuntu Netbook Remix on my HP Mini 311.&#160; The OS is beautiful.&#160; It is a great fit for what I use my netbook to do: web development, view videos, and surf the net.</p>
<p>Unfortunately, I realized my wireless adapter was not working after installation.&#160; It had a message that said something about needing a firmware upgrade.</p>
<p>I did some soul searching and internet surfing and found an answer to the problem!&#160; </p>
<p>Open a terminal and execute the following command:</p>
<p><font face="Courier New">sudo apt-get install &#8211;reinstall bcmwl-kernel-source</font></p>
<p>After a restart, my problem was solved.&#160; </p>
<p>I found this answer here:&#160; <a href="http://myhpmini.com/forum/viewtopic.php?t=2604">http://myhpmini.com/forum/viewtopic.php?t=2604</a></p>
<p>&#160;</p>
<p>Oh yeah – I’m also selling the netbook to make room for my next toy.&#160; Info is here: <a href="http://raleigh.craigslist.org/sys/2093241344.html">http://raleigh.craigslist.org/sys/2093241344.html</a></p>
<p>Make me an offer.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=163&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2010/12/03/hp-mini-with-ubuntu-needs-firmware-upgrade-for-wireless/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>
	</item>
		<item>
		<title>VMWare VMDebugger &#8220;unable to detect current startup project&#8221;</title>
		<link>http://curtismitchell.wordpress.com/2010/11/09/vmware-vmdebugger-unable-to-detect-current-startup-project/</link>
		<comments>http://curtismitchell.wordpress.com/2010/11/09/vmware-vmdebugger-unable-to-detect-current-startup-project/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 22:48:57 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vs2008]]></category>

		<guid isPermaLink="false">http://www.curtismitchell.com/2b/?p=162</guid>
		<description><![CDATA[&#160; I spent many small packets of time trying to find a solution to this problem over about two months.&#160; Luckily, I stumbled across an answer that actually worked for me. Problem: Visual Studio 2008 with VMWare VMDebugger integration does not work.&#160; When I try to launch debugging in a VM, I get a message [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=162&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>I spent many small packets of time trying to find a solution to this problem over about two months.&#160; Luckily, I stumbled across an answer that actually worked for me.</p>
<p><strong>Problem:</strong> Visual Studio 2008 with VMWare VMDebugger integration does not work.&#160; When I try to launch debugging in a VM, I get a message that says “Unable to detect current startup project”.</p>
<p><strong>Solution:</strong>&#160; Remove any installer projects that are in the solution.</p>
<p><strong>Source:</strong>&#160;<a href="http://communities.vmware.com/message/1407585;jsessionid=4FDD80888FEE4AAEBC6934B52797BB3F" target="_blank">Read MartinMoesby comment here.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=162&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2010/11/09/vmware-vmdebugger-unable-to-detect-current-startup-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>
	</item>
		<item>
		<title>Code Camp Report</title>
		<link>http://curtismitchell.wordpress.com/2010/05/03/code-camp-report/</link>
		<comments>http://curtismitchell.wordpress.com/2010/05/03/code-camp-report/#comments</comments>
		<pubDate>Mon, 03 May 2010 19:40:57 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.curtismitchell.com/2b/?p=157</guid>
		<description><![CDATA[Name: Chicago Code Camp 2010 Where: Illinois Institute of Technology, Chicago, IL When: May 1, 2010 My Talk &#160; I had an opportunity to present at the Chicago Code Camp. My talk was titled, “Seven Habits of Highly Effective ASP.NET MVC Developers.” It is a long title derived from Stephen Covey’s best selling business book, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=157&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Name: Chicago Code Camp 2010    <br />Where: Illinois Institute of Technology, Chicago, IL     <br />When: May 1, 2010</p>
<h4>My Talk</h4>
<p>&#160;</p>
<p>I had an opportunity to present at the Chicago Code Camp. My talk was titled, “Seven Habits of Highly Effective ASP.NET MVC Developers.” It is a long title derived from Stephen Covey’s best selling business book, “Seven Habits of Highly Effective People.”</p>
<p>Similarly, the content of my presentation was derived from the habits and principles that Stephen Covey introduces in his book. The difference is the technical spin that I apply to make these principles relate to the job of developing web applications using Microsoft’s ASP.NET MVC framework. I presented habits that we as developers should adopt in order to effectively begin and maintain our web applications over their respective lifecycle.</p>
<p>Surprisingly, this topic was very popular at the Chicago Code Camp. Initially, I was expected to present in a room that seated about thirty people. However, the room quickly exceeded capacity and I was asked to present in a larger room. The seats in the larger room were quickly taken, and some attendees sat along a window sill in the back of the room.</p>
<p>At the conclusion of the talk, I had some great discussions with a few people with questions ranging from organizational concerns to technical implementation. I was able to answer many of the questions or offer relevant suggestions. </p>
<p>Overall, I felt like the presentation was well received. The initial feedback available on Twitter gave me the feeling that the experience was a pleasant one. Here are some example tweets that I read shortly after the talk:</p>
<p><em>“Learned a lot from your MVC talk. Hopefully you can go to CVNUG code camp some day”</em> – <strong>@cksanjose</strong></p>
<p><em>“Highly Effective Habits of MVC Developers by Curtis Mitchell. This guy is crazy awesome”</em> – <strong>@jonathanbaltz</strong></p>
<p><em>“Liking the MVC presentation. The speaker is really up beat. Keeps you interested.”</em> – <strong>@itsff</strong></p>
<h4>Talks I attended</h4>
<p>&#160;</p>
<h5>Ioke ( by Ola Bini ) </h5>
<p>Ioke is an experimental language written by the presenter of this talk. It runs atop the Java Virtual Machine and it is inspired by many of the features in languages like Ruby and Lisp. It is a very impressive programming language. However, it is not intended for use in production applications. Ola Bini did mention he is working on a newer programming language. I am hoping the new language implements many of the features in Ioke, and become a viable language to use in production scenarios.</p>
<h5>Limelight ( by Micah Martin )</h5>
<p>Limelight is a framework written and actively maintained by Micah Martin’s company, 8<sup>th</sup> Light Incorporated. The framework allows developers to create desktop applications in the popular Ruby scripting language. In addition, the development experience is simple yet powerful. Limelight employs a web development-like paradigm. And, it makes deployment of these applications over the web very easy.</p>
<p>Micah also explained that Limelight applications should be considered rich internet applications (RIA) as well. He demonstrated Limelight links – a hyperlink that can be used to download and launch Limelight applications from a server. This eases versioning and maintenance of desktop applications because the deployed software is hosted on a server like a web application. And, users automatically get the most recent version when they launch the application from a web-enabled computer.</p>
<h5>Making the web “F#”unctional w/BistroMVC ( by Scott Parker )</h5>
<p>This talk focused on two things of interest to me: Microsoft’s newest .NET language, F#, and an alternative Model-View-Controller web framework, BistroMVC. The presenter was entertaining and very comfortable throughout the talk. He did a good job at targeting the “F# newbies” like myself and many others in attendance. The talk included a good introduction to F#. Unfortunately, due to time constraints, we weren’t able to get a good introduction to BistroMVC.</p>
<p>However, I learned enough to pique my interest in both technologies. I am going to definitely learn more about F# and do some more investigation into BistroMVC.</p>
<h5>Web Testing with Visual Studio 2010 ( by Richard Campbell )</h5>
<p>Microsoft released Visual Studio 2010 on April 12<sup>th</sup> of this year. They have put a lot of work into improving the features related to testing. Richard Campbell gave a very entertaining and educated talk on how to leverage a small portion of these new features to stress test our web applications.</p>
<p>Personally, I have been looking into some of the web testing capabilities of VS2010 from an automated integration test perspective. It was great to learn about and see the stress-testing features.</p>
<p>Richard is the founder of and Product Evangelist of StrangeLoop Networks. His company specializes in optimizing web applications. He demonstrated his expertise in the subject matter and delivered a great presentation on how to use VS2010 to make sure your web application can perform.</p>
<h4>Conclusion</h4>
<p>&#160;</p>
<p>I am very happy I attended this event. There were approximately 550 registrants and slightly more than 300 attendees. The attendees, presenters, and organizers included notable leaders from the .NET community such as: </p>
<ul>
<li>Scott Seely, co-author of &quot;Effective REST Services via .NET: For .NET Framework 3.5&quot;, founder of Friseton, LLC </li>
<li>Micah Martin, founder of 8<sup>th</sup> Light Inc. and co-author of &quot;Agile Principles, Patterns, and Practices in C#&quot; </li>
<li>Robert “Uncle Bob” Martin, author of &quot;Clean Code: A handbook of Agile Software Craftsmanship&quot;, co-aurthor of &quot;Agile Principles, Patterns, and Practices in C#&quot;, and founder of Object Mentor </li>
<li>Rocky Lhotka, creator of the widely-used CSLA.NET framework </li>
<li>Carl Franklin, co-host of the popular .NET Rocks podcast </li>
<li>Richard Campbell, co-host of the popular .NET Rocks podcast </li>
</ul>
<p>To name a few.</p>
<p>This code camp met my criteria of successful code camps. It was well-organized, supported by a great development community, consisted of diverse technological topics, and concluded with downright awesome giveaways. I hope I have an opportunity to attend future Chicago Code Camps.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/157/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=157&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2010/05/03/code-camp-report/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>
	</item>
		<item>
		<title>Two ways to handle unauthorized requests to Ajax actions in ASP.NET MVC 2</title>
		<link>http://curtismitchell.wordpress.com/2010/03/22/two-ways-to-handle-unauthorized-requests-to-ajax-actions-in-asp-net-mvc-2/</link>
		<comments>http://curtismitchell.wordpress.com/2010/03/22/two-ways-to-handle-unauthorized-requests-to-ajax-actions-in-asp-net-mvc-2/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 21:10:08 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.curtismitchell.com/2b/?p=150</guid>
		<description><![CDATA[Problem:&#160; I have created a view that posts to an action via Ajax with the expectation that the action will return the requested data or an empty string.&#160; Even better, I would like it to be configurable to return whatever value I see fit. The problem arises when I decorate the called action with the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=150&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:&#160; </strong>I have created a view that posts to an action via Ajax with the expectation that the action will return the requested data or an empty string.&#160; Even better, I would like it to be configurable to return whatever value I see fit.</p>
<p>The problem arises when I decorate the called action with the [Authorize] attribute.&#160; If the request is not authorized and I have a loginUrl configured in my web.config, my ajax request will return the html output of my loginUrl view.&#160; That is undesirable.</p>
<p><strong>Solution #1:</strong>&#160; I need to implement a custom ActionFilterAttribute that I can use on the ajax action to handle the request appropriately.&#160; Here is the code for my ActionFilterAttribute:</p>
<pre class="csharp">    public class AjaxAuthorizeAttribute : ActionFilterAttribute
    {
        public string View { get; set; }
        private bool renderView;

        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            if (!filterContext.HttpContext.Request.IsAuthenticated &amp;&amp; filterContext.HttpContext.Request.IsAjaxRequest())
            {
                renderView = true;
            }

            base.OnActionExecuting(filterContext);
        }

        public override void OnResultExecuting(ResultExecutingContext filterContext)
        {
            if (renderView)
            {
                filterContext.Result = new ViewResult { ViewName = View };
                filterContext.Result.ExecuteResult(filterContext.Controller.ControllerContext);
                return;
            }

            base.OnResultExecuting(filterContext);
        }
    }</pre>
<p>And, here is how I would decorate my ajax action in my controller class:</p>
<pre class="csharp">	[AjaxAuthorize(View=&quot;AjaxAuthorizeError&quot;)]
public ActionResult AjaxRequest()
{
        return View();
}
</pre>
<p>That would handle the issue by checking whether the request is authenticated.&#160; If it isn’t authenticated and the request is being submitted via ajax, a specified view will get called.&#160; The content of that view determines what my ajax call will receive back when the request is not authenticated.</p>
<p><strong>Note:</strong>&#160; There is no default view page being rendered if one is not passed to the ActionFilterAttribute.&#160; That’s room for improvement.</p>
<p><strong>Solution #2:</strong>&#160; I can extend the existing Authorize attribute by inheriting from the AuthorizeAttribute class.&#160; Here is the code that extends the Authorize attribute:</p>
<pre class="csharp">    public class AjaxAuthorizeOverrideAttribute : AuthorizeAttribute
    {
        public string View { get; set; }

        protected override void HandleUnauthorizedRequest(AuthorizationContext filterContext)
        {
            if (!filterContext.HttpContext.Request.IsAjaxRequest())
            {
                base.HandleUnauthorizedRequest(filterContext);
                return;
            }

            filterContext.Result = new ViewResult { ViewName = View };
            filterContext.Result.ExecuteResult(filterContext.Controller.ControllerContext);
        }
    }</pre>
<p>Here is the decorator for the ajax action in the controller class:</p>
<pre class="csharp">
[AjaxAuthorizeOverride(View=&quot;AjaxAuthorizeError&quot;)]
public ActionResult AjaxRequest()
{
     return View();
}
</pre>
<p><strong>Note:</strong>&#160; Again, there is no default view page being rendered.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/150/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=150&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2010/03/22/two-ways-to-handle-unauthorized-requests-to-ajax-actions-in-asp-net-mvc-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing the default Virtual Directory/[TARGETVDIR] name in a Visual Studio Setup Project</title>
		<link>http://curtismitchell.wordpress.com/2010/02/19/changing-the-default-virtual-directorytargetvdir-name-in-a-visual-studio-setup-project/</link>
		<comments>http://curtismitchell.wordpress.com/2010/02/19/changing-the-default-virtual-directorytargetvdir-name-in-a-visual-studio-setup-project/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 17:14:42 +0000</pubDate>
		<dc:creator>curtismitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.curtismitchell.com/2b/?p=143</guid>
		<description><![CDATA[While working on a Visual Studio Setup Project for an ASP.NET MVC application, I ran into an interesting dilemma. The installer automatically uses the Title of your setup project as the default virtual directory value. From a user experience standpoint, it can serve as a visual indicator that this &#34;virtual directory&#34; is specifically for the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=143&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While working on a Visual Studio Setup Project for an ASP.NET MVC application, I ran into an interesting dilemma. The installer automatically uses the Title of your setup project as the default virtual directory value. From a user experience standpoint, it can serve as a visual indicator that this &quot;virtual directory&quot; is specifically for the application that you (the user) are installing. </p>
<p>However, it isn&#8217;t ideal. See, usually the title of an installer is human readable e.g. &quot;My Application&quot;. However, I don&#8217;t think user would want their virtual directory to contain spaces since spaces typically get escaped to a hex value, making your site&#8217;s address http://someserver/My%20Application. Visual Studio Setup Projects do not offer a straight-forward way of editing this default value, except to edit your title to read &quot;MyApplication&quot;. </p>
<p>There are a handful of solutions that have been conceived by various people that include passing command line arguments or using custom dialog windows that set the TARGETVDIR parameter explicitly &#8211; to name a couple. </p>
<p>For different reasons, none of the proposed solutions satisfied my dilemma. </p>
<h3><strong>So, here is what I did</strong>: </h3>
<p>I opened the deployment project in notepad++ (a very handy text editor), found the line that says, &quot;VirtualDirectory&quot; = &quot;My Application&quot; and changed it to &quot;VirtualDirectory&quot; = &quot;MyApplication&quot;. After saving the file, reloading it in Visual Studio, and building my installers, my dilemma was solved. I hope this is helpful to you as well. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curtismitchell.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curtismitchell.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curtismitchell.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curtismitchell.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curtismitchell.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curtismitchell.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curtismitchell.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curtismitchell.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curtismitchell.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curtismitchell.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curtismitchell.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curtismitchell.wordpress.com/143/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curtismitchell.wordpress.com/143/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curtismitchell.wordpress.com/143/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curtismitchell.wordpress.com&amp;blog=7777876&amp;post=143&amp;subd=curtismitchell&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curtismitchell.wordpress.com/2010/02/19/changing-the-default-virtual-directorytargetvdir-name-in-a-visual-studio-setup-project/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5d33e58be90eb80fdee54e9745b6678d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">curtismitchell</media:title>
		</media:content>
	</item>
	</channel>
</rss>
