<?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>Mitch Labrador&#039;s Tech Blog</title>
	<atom:link href="http://mitchlabrador.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mitchlabrador.com</link>
	<description>Less is more when you are focused.</description>
	<lastBuildDate>Wed, 09 Dec 2009 18:54:56 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='mitchlabrador.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/644e995c4592c58fe7b403bbfb2d9f56?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mitch Labrador&#039;s Tech Blog</title>
		<link>http://mitchlabrador.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mitchlabrador.com/osd.xml" title="Mitch Labrador&#039;s Tech Blog" />
	<atom:link rel='hub' href='http://mitchlabrador.com/?pushpress=hub'/>
		<item>
		<title>How to minimize and combine your JavaScript on Compile using Visual Studio</title>
		<link>http://mitchlabrador.com/2009/12/09/how-to-minimize-and-combine-your-javascript-on-compile-using-visual-studio/</link>
		<comments>http://mitchlabrador.com/2009/12/09/how-to-minimize-and-combine-your-javascript-on-compile-using-visual-studio/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 17:21:59 +0000</pubDate>
		<dc:creator>Mitch Labrador</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jsmin]]></category>
		<category><![CDATA[visualstudio]]></category>

		<guid isPermaLink="false">http://mitchlabrador1.wordpress.com/2009/12/09/how-to-minimize-and-combine-your-javascript-on-compile-using-visual-studio/</guid>
		<description><![CDATA[Last night I had the pleasure of presenting at the Orlando Dotnetnuke user group on this subject. This post is a follow up to that presentation.
I haven’t presented in a while and I have to admit I was a bit nervous, and to make matters worse the projector was not wanting to cooperate with me. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=38&subd=mitchlabrador1&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Last night I had the pleasure of presenting at the Orlando Dotnetnuke user group on this subject. This post is a follow up to that presentation.</p>
<p>I haven’t presented in a while and I have to admit I was a bit nervous, and to make matters worse the projector was not wanting to cooperate with me. Suddenly the room got really hot and I started sweating… I’m sure my sweating had nothing to do with the silence in the room while people waited for the technical problem to be resolved <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It turned out that when I closed my machine at the office, it was connected to multiple monitors, so when I hibernated it remembered those settings and I could only get to projector to work as an extension of my desktop, like a second monitor.</p>
<p>Anyways… great learning opportunity, and I can’t wait to try it again. On to the technical stuff…</p>
<p><strong><span style="font-size:medium;">Goal:</span></strong></p>
<p>I want the JavaScript file references in my pages to load the debug version of the JavaScript files when my visual studio solution is in debug mode. When Visual Studio is in release mode, I want a single compressed JavaScript file to be loaded.</p>
<p><span style="font-size:medium;"><strong>Solution: (<a href="http://cdn.mitmar.com.s3.amazonaws.com/jsminsample.zip">download</a>)</strong></span></p>
<p><strong>Step 1: Download jsmin.exe from </strong><a title="http://www.crockford.com/javascript/jsmin.html" href="http://www.crockford.com/javascript/jsmin.html"><strong>http://www.crockford.com/javascript/jsmin.html</strong></a></p>
<p>Add it to your scripts directly in your project. You should not deploy this with your project, it is only needed during compile time to minimize and combine your JS files.</p>
<p>I use the following structure to store my javascript files:</p>
<p><a href="http://mitchlabrador1.files.wordpress.com/2009/12/captured_image4_.png"><img style="display:inline;border-width:0;" title="captured_Image.png[4]" src="http://mitchlabrador1.files.wordpress.com/2009/12/captured_image4_thumb.png?w=329&#038;h=494" border="0" alt="captured_Image.png[4]" width="329" height="494" /></a> </p>
<p><strong>Step 2: Add a post build command</strong></p>
<p>Right click on your project, click properties. Select the compile tab and click on the build events on the bottom right of the screen.</p>
<p><a href="http://mitchlabrador1.files.wordpress.com/2009/12/captured_image6_.png"><img style="display:inline;border-width:0;" title="captured_Image.png[6]" src="http://mitchlabrador1.files.wordpress.com/2009/12/captured_image6_thumb.png?w=500&#038;h=428" border="0" alt="captured_Image.png[6]" width="500" height="428" /></a></p>
<p>Enter the following command in the post-build event command line field:</p>
<p><strong> </strong><span style="font-family:consolas;">type &#8220;$(ProjectDir)content\js\libraries\*.debug.js&#8221; | &#8220;$(ProjectDir)content\js\libraries\jsmin&#8221; &gt; &#8220;$(ProjectDir)content\js\libraries.min.js&#8221;</span> </p>
<p><a href="http://mitchlabrador1.files.wordpress.com/2009/12/captured_image.png"><img style="display:inline;border-width:0;" title="captured_Image.png" src="http://mitchlabrador1.files.wordpress.com/2009/12/captured_image_thumb.png?w=354&#038;h=328" border="0" alt="captured_Image.png" width="354" height="328" /></a></p>
<p>This command does two things. First it looks for all the javascript files in your <strong>“content/js/libararies”</strong> directory ending with <strong>.debug.js</strong> and pipes it into the jsmin executable as one long string. Second it tells jsmin to output the compressed and combined JavaScript code to a single file <strong>content/js/libraries.min.js</strong></p>
<p><strong>Step 3: Add a debug flag</strong></p>
<p>We need a way to figure out if we are in debug mode or release mode so to do this we are going to add a shared function to a helper library that will return true if in debug mode, and false if in release mode. In this function we use a compiler statement to compile “return true” when in debug mode and “return false” otherwise.</p>
<p><span style="font-family:Consolas;">Public Shared Function IsInDebugMode() As Boolean<br />
#If DEBUG Then<br />
        Return True<br />
#Else<br />
        Return False<br />
#End If<br />
End Function</span></p>
<p><strong>Step 4: Add a conditional statement to your pages</strong></p>
<p>To your page you simply add this:</p>
<p><span style="font-family:consolas;">&lt;% If jsmin.Helpers.IsInDebugMode Then%&gt;<br />
    &lt;script src=&#8221;content/js/libraries/01-jquery-1.3.2.debug-vsdoc2.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/01-jquery-1.3.2.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/02-jquery-ui-1.7.2.custom.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/03-jquery.autocomplete.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/04-jquery.blockUI.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/05-jquery.cluetip.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/06-jquery.form.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/07-jquery.validate.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/08-jquery.values.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/09-json2.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
    &lt;script src=&#8221;content/js/libraries/10-app.debug.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;% Else%&gt;<br />
    &lt;script src=&#8221;content/js/libraries.min.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;% End If%&gt;</span></p>
<p>This tells your page that when <strong>IsInDebugMode</strong> is true, reference all the debug scripts, otherwise reference only the <strong>libraries.min.js</strong> script</p>
<p><strong><span style="font-size:medium;">Making it better</span></strong></p>
<p>This is great, but I dislike having to add these conditional statements to every page, so created another simple helper function that goes through my libraries directory, grabs all my debug files and creates the html string to be included in the page. following the same rules, if in debug mode all the scripts, if in release mode only libraries.min.js</p>
<p><span style="font-family:consolas;">Public Shared Function JSReferences() As String<br />
    Dim key = &#8220;JSReferences&#8221;<br />
    Dim context = HttpContext.Current </span></p>
<p><span style="font-family:consolas;">    If context.Application(key) = &#8220;&#8221; Then<br />
        If IsInDebugMode() Then<br />
            Dim data = New StringBuilder<br />
            For Each f In Directory.GetFiles(context.Request.MapPath(&#8220;~/content/js/libraries/&#8221;))<br />
                f = f.ToLowerInvariant<br />
                If Path.GetExtension(f).ToLowerInvariant = &#8220;.js&#8221; AndAlso _<br />
                        f.EndsWith(&#8220;vsdoc2.js&#8221;) = False AndAlso _<br />
                        f.EndsWith(&#8220;vsdoc.js&#8221;) = False Then<br />
                    data.AppendLine(String.Format(&#8220;&lt;script src=&#8217;{0}&#8217; type=&#8217;text/javascript&#8217;&gt;&lt;/script&gt;&#8221;, &#8220;content/js/libraries/&#8221; &amp; Path.GetFileName(f)))<br />
                End If<br />
            Next<br />
            context.Application.Add(key, data.ToString)<br />
        Else </span></p>
<p><span style="font-family:consolas;">            context.Application.Add(key, &#8220;&lt;script src=&#8217;content/js/libraries.min.js&#8217; type=&#8217;text/javascript&#8217;&gt;&lt;/script&gt;&#8221;)<br />
        End If<br />
    End If </span></p>
<p><span style="font-family:consolas;">    Return context.Application(key)<br />
End Function</span></p>
<p>now I can replace the code in my html pages with this single line statement.</p>
<p><span style="font-family:Consolas;">&lt;%=jsmin.Helpers.JSReferences%&gt;</span></p>
<p>That’s it. Enjoy!</p>
<p>Thanks to Dave Ward for the original idea <a title="http://encosia.com/2009/05/20/automatically-minify-and-combine-javascript-in-visual-studio/" href="http://encosia.com/2009/05/20/automatically-minify-and-combine-javascript-in-visual-studio/">http://encosia.com/2009/05/20/automatically-minify-and-combine-javascript-in-visual-studio/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mitchlabrador1.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mitchlabrador1.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mitchlabrador1.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mitchlabrador1.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mitchlabrador1.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mitchlabrador1.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mitchlabrador1.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mitchlabrador1.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mitchlabrador1.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mitchlabrador1.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=38&subd=mitchlabrador1&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://mitchlabrador.com/2009/12/09/how-to-minimize-and-combine-your-javascript-on-compile-using-visual-studio/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb2641556206d241be4a511c963d7c4a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">mitchlabrador</media:title>
		</media:content>

		<media:content url="http://mitchlabrador1.files.wordpress.com/2009/12/captured_image4_thumb.png" medium="image">
			<media:title type="html">captured_Image.png[4]</media:title>
		</media:content>

		<media:content url="http://mitchlabrador1.files.wordpress.com/2009/12/captured_image6_thumb.png" medium="image">
			<media:title type="html">captured_Image.png[6]</media:title>
		</media:content>

		<media:content url="http://mitchlabrador1.files.wordpress.com/2009/12/captured_image_thumb.png" medium="image">
			<media:title type="html">captured_Image.png</media:title>
		</media:content>
	</item>
		<item>
		<title>jQuery intellisense does not work in Visual Studio</title>
		<link>http://mitchlabrador.com/2009/07/21/jquery-intellisense-does-not-work-in-visual-studio/</link>
		<comments>http://mitchlabrador.com/2009/07/21/jquery-intellisense-does-not-work-in-visual-studio/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 18:21:36 +0000</pubDate>
		<dc:creator>Mitch Labrador</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[intellisense]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://mitchlabrador.com/?p=20</guid>
		<description><![CDATA[If you use jQuery with its vsdoc file in Visual Studio 2008, you might have noticed that sometimes when adding certain JavaScript files, like jQuery.UI, it knocks out your Visual Studio intellisense.
Here is a dead simple way to fix it.
1. First find the offending library that is messing with your jQuery IntelliSense. Do this by commenting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=20&subd=mitchlabrador1&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>If you use jQuery with its vsdoc file in Visual Studio 2008, you might have noticed that sometimes when adding certain JavaScript files, like jQuery.UI, it knocks out your Visual Studio intellisense.</p>
<p>Here is a dead simple way to fix it.</p>
<p>1. First find the offending library that is messing with your jQuery IntelliSense. Do this by commenting one at a time and pressing <strong>Ctrl + Shift + J</strong> to force the JS IntelliSense engine to regen. Repeat until you don&#8217;t get a JS IntelliSense error (it should come up in the status bar, and as a warning in the errors window)</p>
<p>2. Replace the offending javascript file with something like this.</p>
<blockquote><p>&lt;script src=&#8217;&lt;%= &#8220;../../Scripts/your_javascript_file.js&#8221; %&gt;&#8217; type=&#8221;text/javascript&#8221;&gt;</p></blockquote>
<p>When you do this, the Visual Studio JS intellisense engine, does not try to process  the javascript file, and you get your jQuery IntelliSense back.</p>
<p>Hope this helps. Cheers!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mitchlabrador1.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mitchlabrador1.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mitchlabrador1.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mitchlabrador1.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mitchlabrador1.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mitchlabrador1.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mitchlabrador1.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mitchlabrador1.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mitchlabrador1.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mitchlabrador1.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=20&subd=mitchlabrador1&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://mitchlabrador.com/2009/07/21/jquery-intellisense-does-not-work-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb2641556206d241be4a511c963d7c4a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">mitchlabrador</media:title>
		</media:content>
	</item>
		<item>
		<title>jQuery validation error inside the jQuery.UI.Dialog</title>
		<link>http://mitchlabrador.com/2009/07/08/jquery-validation-error-inside-the-jquery-ui-dialog/</link>
		<comments>http://mitchlabrador.com/2009/07/08/jquery-validation-error-inside-the-jquery-ui-dialog/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 22:54:41 +0000</pubDate>
		<dc:creator>Mitch Labrador</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://mitchlabrador1.wordpress.com/2009/07/08/jquery-validation-error-inside-the-jquery-ui-dialog/</guid>
		<description><![CDATA[This week I found a peculiar problem while trying to do validation inside a jQuery UI dialog box. Validation, although properly configured, would not happen, it would always show as valid.
This is the form, it is using the jquery.validation and the  jquery.ui.dialog components.

   1:  &#60;form id="form1" runat="server"&#62;
   2:   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=18&subd=mitchlabrador1&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>This week I found a peculiar problem while trying to do validation inside a jQuery UI dialog box. Validation, although properly configured, would not happen, it would always show as valid.</p>
<p>This is the form, it is using the jquery.validation and the  jquery.ui.dialog components.</p>
<div class="csharpcode">
<pre><span class="lnum">   1:  </span>&lt;form id=<span class="str">"form1"</span> runat=<span class="str">"server"</span>&gt;</pre>
<pre><span class="lnum">   2:  </span>    &lt;div id=<span class="str">"dialog"</span>&gt;&lt;/div&gt;</pre>
<pre><span class="lnum">   3:  </span>    &lt;input type=<span class="str">"button"</span> id=<span class="str">"load"</span> <span class="kwrd">value</span>=<span class="str">"Load Form"</span> /&gt;</pre>
<pre><span class="lnum">   4:  </span>&lt;/form&gt;</pre>
<pre><span class="lnum">   5:  </span></pre>
<pre><span class="lnum">   6:  </span>&lt;script type=<span class="str">"text/javascript"</span>&gt;</pre>
<pre><span class="lnum">   7:  </span></pre>
<pre><span class="lnum">   8:  </span>    $(function() {</pre>
<pre><span class="lnum">   9:  </span></pre>
<pre><span class="lnum">  10:  </span>        $(<span class="str">'#form1'</span>).validate();</pre>
<pre><span class="lnum">  11:  </span></pre>
<pre><span class="lnum">  12:  </span>        $(<span class="str">'#load'</span>).click(function() {</pre>
<pre><span class="lnum">  13:  </span>            $.get(<span class="str">'_form.aspx'</span>, function(data) {</pre>
<pre><span class="lnum">  14:  </span>                $(<span class="str">'#dialog'</span>).html(data);</pre>
<pre><span class="lnum">  15:  </span>                $(<span class="str">'#dialog'</span>).dialog();</pre>
<pre></pre>
<pre><span class="lnum">  17:  </span>            });</pre>
<pre><span class="lnum">  18:  </span>        });</pre>
<pre><span class="lnum">  19:  </span></pre>
<pre><span class="lnum">  20:  </span>    });</pre>
<pre><span class="lnum">  21:  </span></pre>
<pre><span class="lnum">  22:  </span></pre>
<pre><span class="lnum">  23:  </span>&lt;/script&gt;</pre>
</div>
<p>as you can see it is doing an ajax request to load the form. It then brings up the dialog box. Notice that the dialog div is inside the form therefore I’m expecting the loaded page to render within the form tag of the current page. This is the form that is loaded:</p>
<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">input</span> <span class="attr">type</span><span class="kwrd">="text"</span> <span class="attr">id</span><span class="kwrd">="subject"</span> <span class="attr">class</span><span class="kwrd">="required"</span> <span class="kwrd">/&gt;</span></pre>
<pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">input</span> <span class="attr">type</span><span class="kwrd">="submit"</span> <span class="attr">value</span><span class="kwrd">="Submit Form"</span> <span class="kwrd">/&gt;</span></pre>
<p><span class="kwrd">The problem is that the UI dialog will add a wrapper div and place it outside the form tag. It then moves the dialog div to be within it, effectively moving it outside the form. Therefore validation does not work as it is outside the form tag.</span></p>
<p><span class="kwrd">To fix this we write this simple line of code to reverse the process and move the dialog wrapper to be within the form tag.</span></p>
<pre class="csharpcode">$(<span class="str">'#dialog'</span>).parent().appendTo($(<span class="str">'#form1'</span>));</pre>
<p><span class="kwrd">It took me a little while to figure this out, and hopefully this will save you some time.</span></p>
<p><span class="kwrd">Cheers!</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mitchlabrador1.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mitchlabrador1.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mitchlabrador1.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mitchlabrador1.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mitchlabrador1.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mitchlabrador1.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mitchlabrador1.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mitchlabrador1.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mitchlabrador1.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mitchlabrador1.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=18&subd=mitchlabrador1&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://mitchlabrador.com/2009/07/08/jquery-validation-error-inside-the-jquery-ui-dialog/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb2641556206d241be4a511c963d7c4a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">mitchlabrador</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy Father&#8217;s Day!</title>
		<link>http://mitchlabrador.com/2009/06/20/happy-fathers-day/</link>
		<comments>http://mitchlabrador.com/2009/06/20/happy-fathers-day/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 15:52:38 +0000</pubDate>
		<dc:creator>Mitch Labrador</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://mitchlabrador1.wordpress.com/2009/06/20/happy-fathers-day/</guid>
		<description><![CDATA[I would like to wish all the fathers out there a very happy father’s day. 
Mother’s day is the biggest rose selling day of the year, I wonder what is the biggest selling item for father’s day? Maybe tools, a new grill, etc. You see the pattern, we only get things to work harder! What’s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=15&subd=mitchlabrador1&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I would like to wish all the fathers out there a very happy father’s day. </p>
<p>Mother’s day is the biggest rose selling day of the year, I wonder what is the biggest selling item for father’s day? Maybe tools, a new grill, etc. You see the pattern, we only get things to work harder! What’s up with that?</p>
<p>I imagine the geek Dad’s biggest selling category is tech, perhaps the new iPhone 3Gs, hint… hint…</p>
<p>Happy Father’s Day to all of us!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mitchlabrador1.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mitchlabrador1.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mitchlabrador1.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mitchlabrador1.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mitchlabrador1.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mitchlabrador1.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mitchlabrador1.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mitchlabrador1.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mitchlabrador1.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mitchlabrador1.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=15&subd=mitchlabrador1&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://mitchlabrador.com/2009/06/20/happy-fathers-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb2641556206d241be4a511c963d7c4a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">mitchlabrador</media:title>
		</media:content>
	</item>
		<item>
		<title>New project, new language, new MVC template, hi there again C#!</title>
		<link>http://mitchlabrador.com/2009/06/18/new-project-new-language-new-mvc-template-hi-there-again-c/</link>
		<comments>http://mitchlabrador.com/2009/06/18/new-project-new-language-new-mvc-template-hi-there-again-c/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 16:18:04 +0000</pubDate>
		<dc:creator>Mitch Labrador</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://mitchlabrador.com/?p=10</guid>
		<description><![CDATA[It has been a few months since my last C# project, and it is time to come back into the fold. For the last two projects, the client wanted VB.NET so we obliged them&#8230; you know, them being the clients and all, we kind of listen to them sometimes  
I&#8217;m back to C# though [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=10&subd=mitchlabrador1&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>It has been a few months since my last C# project, and it is time to come back into the fold. For the last two projects, the client wanted VB.NET so we obliged them&#8230; you know, them being the clients and all, we kind of listen to them sometimes <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>I&#8217;m back to C# though and this time is going to be an MVC project. So whenever I&#8217;ve been away from a technology for a few months, I pickup my favorite book on it and go over the basics. I have to say that I&#8217;ve missed the style of C#, even though I&#8217;ve enjoyed the xml literals in VB&#8230;sigh&#8230;</p>
<p>So <a href="http://www.amazon.com/3-0-Nutshell-Desktop-Reference-OReilly/dp/0596527578/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1245340077&amp;sr=8-1" target="_blank">C# 3.0 In A Nutshell</a> it is, what a great book. It covers C# from the basics to the common usage scenrios accross the different technologies (asp.net, LINQ, etc&#8230;) .</p>
<p>I&#8217;ve also started to create a new MVC template so I&#8217;m putting together all the usual suspects that will make my development life easier.</p>
<p>1. jQuery plugins and other useful JS libraries</p>
<ul>
<li><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/" target="_blank">Validation Plugin</a></li>
<li><a href="http://plugins.jquery.com/project/Values" target="_blank">jquery.values</a></li>
<li><a href="http://malsup.com/jquery/block/" target="_blank">BlockUI</a></li>
<li><a href="http://jqueryui.com/" target="_blank">jQuery.UI</a></li>
<li><a href="http://www.json.org/js.html" target="_blank">json2.js</a></li>
<li><a href="http://malsup.com/jquery/form/" target="_blank">jquery.form</a></li>
</ul>
<p>2. JavaScript minify and combine. I then use <a href="http://www.crockford.com/javascript/jsmin.html" target="_blank">jsmin</a> to setup my automatic JS minify and combine through a VS post built event. Here is a <a href="http://encosia.com/2009/05/20/automatically-minify-and-combine-javascript-in-visual-studio/" target="_blank">great blog post</a> from David Ward, who gets credit for the original idea.</p>
<p>3. Replace the existing template for <a href="http://www.opendesigns.org/preview/?template=781" target="_blank">this nice free CSS template</a> from <a href="http://www.opendesigns.org/" target="_blank">opendesign.org</a> and we are half way there to creating a kick butt template.</p>
<p>I still have to setup <a href="http://xval.codeplex.com" target="_blank">xVal</a> and a few other things, but that will be for the next post. For now, I&#8217;m ready to get started.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mitchlabrador1.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mitchlabrador1.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mitchlabrador1.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mitchlabrador1.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mitchlabrador1.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mitchlabrador1.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mitchlabrador1.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mitchlabrador1.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mitchlabrador1.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mitchlabrador1.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=10&subd=mitchlabrador1&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://mitchlabrador.com/2009/06/18/new-project-new-language-new-mvc-template-hi-there-again-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb2641556206d241be4a511c963d7c4a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">mitchlabrador</media:title>
		</media:content>
	</item>
		<item>
		<title>Welcome to my blog!</title>
		<link>http://mitchlabrador.com/2009/06/12/welcome-to-my-blog/</link>
		<comments>http://mitchlabrador.com/2009/06/12/welcome-to-my-blog/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 17:21:28 +0000</pubDate>
		<dc:creator>Mitch Labrador</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://mitchlabrador.com/?p=6</guid>
		<description><![CDATA[Hi, my name is Mitch Labrador and I&#8217;m a software developer living in Orlando, FL.
My primary technology focus is on Microsoft technologies, specifically ASP.NET, MVC, and SQL Server.
You can find me on Twitter@mitchlabrador and on LinkedIn.
I&#8217;m a member of the Orlando .NET User Group, the Orlando DotNetNuke User Group and the Tampa MVC User Group.
I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=6&subd=mitchlabrador1&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Hi, my name is Mitch Labrador and I&#8217;m a software developer living in Orlando, FL.</p>
<p><span>My primary technology focus is on Microsoft technologies, specifically ASP.NET, MVC, and SQL Server.</span></p>
<p><span>You can find me on <a href="http://www.twitter.com/mitchlabrador">Twitter@mitchlabrador</a> and on <a href="http://www.linkedin.com/in/mitchlabrador">LinkedIn</a>.</span></p>
<p>I&#8217;m a member of the <a href="http://www.onetug.org/sf/homepage.aspx" target="_blank">Orlando .NET User Group</a>, the <a href="http://orlando.dotnetnukeug.net/" target="_blank">Orlando DotNetNuke User Group</a> and the <a href="http://www.tampadev.org/" target="_blank">Tampa MVC User Group</a>.</p>
<p>I co-founded <a href="http://www.bigfoottech.com">Bigfoot Technologies</a> with my partner Abe Sendros. We write line of business software for our clients, and also have a few commercial products that we sell using a SaaS model.</p>
<p>I plan on using this blog to discuss a range of subjects that are of interest to me from Technology to Politics (woot) . I&#8217;m a little late to the blogsphere <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  but as they say, better late than never.</p>
<p>I hope you enjoy it!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mitchlabrador1.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mitchlabrador1.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mitchlabrador1.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mitchlabrador1.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mitchlabrador1.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mitchlabrador1.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mitchlabrador1.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mitchlabrador1.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mitchlabrador1.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mitchlabrador1.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mitchlabrador.com&blog=8149074&post=6&subd=mitchlabrador1&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://mitchlabrador.com/2009/06/12/welcome-to-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb2641556206d241be4a511c963d7c4a?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">mitchlabrador</media:title>
		</media:content>
	</item>
	</channel>
</rss>