<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Eric Polerecky</title>
	
	<link>http://eric.polerecky.com</link>
	<description>An outlet for my obsession with technology</description>
	<lastBuildDate>Wed, 07 Oct 2009 20:05:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/ericpolerecky" type="application/rss+xml" /><feedburner:emailServiceId>ericpolerecky</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Thoughts on Silverlight</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/1cbwS7FNFWk/</link>
		<comments>http://eric.polerecky.com/archives/thoughts-on-silverlight/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 20:05:14 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/thoughts-on-silverlight/</guid>
		<description><![CDATA[<br/>In a recent post Jamie Kosoy, who I believe is a flash developer, posted his thoughts on his first Silverlight project. I’m also green to Silverlight and just finished my first project. I’ll save the post about my thoughts for another day; but I wanted to add my two cents regarding Jamie’s observations.
&#160;
Timeline animation is [...]


Related posts:<ol><li><a href='http://eric.polerecky.com/archives/silverlight-actions-and-prism/' rel='bookmark' title='Permanent Link: Silverlight, Actions and Prism'>Silverlight, Actions and Prism</a> <small> When using Prism for composition in Silverlight how do...</small></li><li><a href='http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/' rel='bookmark' title='Permanent Link: ESRI Silverlight Map vs. Prism Regions'>ESRI Silverlight Map vs. Prism Regions</a> <small>After a day or so of working with Silverlight it...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<br/><p>In a recent post <a href="http://twitter.com/jkosoy" target="_blank">Jamie Kosoy</a>, who I believe is a flash developer, <a href="http://www.bigspaceship.com/blog/labs/thoughts-on-silverlight/" target="_blank">posted his thoughts</a> on his first Silverlight project. I’m also green to Silverlight and just finished my first project. I’ll save the post about my thoughts for another day; but I wanted to add my two cents regarding Jamie’s observations.</p>
<p>&#160;</p>
<h2>Timeline animation is different.</h2>
<p><strong></strong>Flash uses a key frame based animation framework, Silverlights animation is based on time. Seems simple, and as someone coming from jQuery heavy development it was, but I can see how it would take a second too understand.</p>
<h3>Silverlight is the better videoplayer solution</h3>
<p>Adaptive streaming is amazing. The power to stream a single feed (HD) and have it chunked up into bit size bits for clients of all connection speeds to render with as much bandwidth/gpu power they have can’t be overstated.</p>
<h3><strong>XAPs aren&#8217;t fun to load&#8230;</strong></h3>
<p>Building even the simplest of applications without Prism, and soon MEF, is like coding with one hand. Yeah; you can do it but its hard, painful and frustrating. I hear parts of Prism are being pulled into SL4, I’ve voting for regions, modules, and events.</p>
<h3><strong>Classes can get really messy</strong></h3>
<p> 
<p>C# is powerful; with great power comes great responsibility. <img src='http://eric.polerecky.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Building on OS X is critical.</h3>
<p>I believe you can use MonoDevelop and Moonlight to develop silverlight applications on a mac. (Alpha)</p>
<h3>Learning C# and Blend is empowering</h3>
<p>C# Yes, Blend Yes, Declarative Programming in XAML – Big Fat No – Web ASP.NET Webforms. It causes more problems then it solves. </p>


<p>Related posts:<ol><li><a href='http://eric.polerecky.com/archives/silverlight-actions-and-prism/' rel='bookmark' title='Permanent Link: Silverlight, Actions and Prism'>Silverlight, Actions and Prism</a> <small> When using Prism for composition in Silverlight how do...</small></li><li><a href='http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/' rel='bookmark' title='Permanent Link: ESRI Silverlight Map vs. Prism Regions'>ESRI Silverlight Map vs. Prism Regions</a> <small>After a day or so of working with Silverlight it...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/1cbwS7FNFWk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/thoughts-on-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/thoughts-on-silverlight/</feedburner:origLink></item>
		<item>
		<title>Vista, Visual Studio and DEP</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/JRx7U5TqrKw/</link>
		<comments>http://eric.polerecky.com/archives/vista-visual-studio-and-dep/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 13:40:27 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[DEP]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/vista-visual-studio-and-dep/</guid>
		<description><![CDATA[<br/>I’m done. Here is how to disable DEP

Right Click on Command Prompt
Click on Run as Administrator
Click the Allow button if it asks you for permission      bcdedit.exe /set {current} nx AlwaysOff
Enter and: Operation Completed Successfully
Reboot



Related posts:Visual Studio 2008, F2, Rename For some reason Visual Studio 2008 has F2 mapped to...Visual Studio [...]


Related posts:<ol><li><a href='http://eric.polerecky.com/archives/visual-studio-2008-f2-rename/' rel='bookmark' title='Permanent Link: Visual Studio 2008, F2, Rename'>Visual Studio 2008, F2, Rename</a> <small>For some reason Visual Studio 2008 has F2 mapped to...</small></li><li><a href='http://eric.polerecky.com/archives/visual-studio-the-path-is-not-of-a-legal-form-bug-fixed-for-me/' rel='bookmark' title='Permanent Link: Visual Studio &ldquo;The path is not of a legal form&rdquo; bug Fixed (for me)'>Visual Studio &ldquo;The path is not of a legal form&rdquo; bug Fixed (for me)</a> <small> Short and sweet, I had Visual SVN both and...</small></li><li><a href='http://eric.polerecky.com/archives/visual-studio-wizards-project-templates-and-unsigned-dlls/' rel='bookmark' title='Permanent Link: Visual Studio, Wizards, Project Templates and Unsigned DLLS'>Visual Studio, Wizards, Project Templates and Unsigned DLLS</a> <small> If, after you followed all the steps at http://msdn.microsoft.com/en-us/library/ms185301(VS.80).aspx...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<br/><p>I’m done. Here is how to disable DEP</p>
<ol>
<li>Right Click on <strong>Command Prompt</strong></li>
<li>Click on <strong>Run as Administrator</strong></li>
<li>Click the <strong>Allow</strong> button if it asks you for permission      <br /><code>bcdedit.exe /set {current} nx AlwaysOff</code></li>
<li>E<strong>nter</strong> and: <strong>Operation Completed Successfully</strong></li>
<li>Reboot</li>
</ol>


<p>Related posts:<ol><li><a href='http://eric.polerecky.com/archives/visual-studio-2008-f2-rename/' rel='bookmark' title='Permanent Link: Visual Studio 2008, F2, Rename'>Visual Studio 2008, F2, Rename</a> <small>For some reason Visual Studio 2008 has F2 mapped to...</small></li><li><a href='http://eric.polerecky.com/archives/visual-studio-the-path-is-not-of-a-legal-form-bug-fixed-for-me/' rel='bookmark' title='Permanent Link: Visual Studio &ldquo;The path is not of a legal form&rdquo; bug Fixed (for me)'>Visual Studio &ldquo;The path is not of a legal form&rdquo; bug Fixed (for me)</a> <small> Short and sweet, I had Visual SVN both and...</small></li><li><a href='http://eric.polerecky.com/archives/visual-studio-wizards-project-templates-and-unsigned-dlls/' rel='bookmark' title='Permanent Link: Visual Studio, Wizards, Project Templates and Unsigned DLLS'>Visual Studio, Wizards, Project Templates and Unsigned DLLS</a> <small> If, after you followed all the steps at http://msdn.microsoft.com/en-us/library/ms185301(VS.80).aspx...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/JRx7U5TqrKw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/vista-visual-studio-and-dep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/vista-visual-studio-and-dep/</feedburner:origLink></item>
		<item>
		<title>Silverlight, Actions and Prism</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/gOov5s5hITk/</link>
		<comments>http://eric.polerecky.com/archives/silverlight-actions-and-prism/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 00:56:05 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[prism]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/silverlight-actions-and-prism/</guid>
		<description><![CDATA[<br/>
When using Prism for composition in Silverlight how do I attach actions between modules?
Am I forced to use the event system or is there a way to set the TargetName for my Actions to the name of a UserControl in a different module?
For Example:
&#60;Image Height=&#34;40&#34; HorizontalAlignment=&#34;Right&#34; VerticalAlignment=&#34;Bottom&#34; Width=&#34;40&#34; Source=&#34;/SilverlightDemo.MainToolbar;Component/Images/i_chart.png&#34; Stretch=&#34;Fill&#34; Canvas.Left=&#34;222&#34; Canvas.Top=&#34;55&#34;&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;i:Interaction.Triggers&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;i:EventTrigger EventName=&#34;MouseLeftButtonDown&#34;&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [...]


Related posts:<ol><li><a href='http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/' rel='bookmark' title='Permanent Link: ESRI Silverlight Map vs. Prism Regions'>ESRI Silverlight Map vs. Prism Regions</a> <small>After a day or so of working with Silverlight it...</small></li><li><a href='http://eric.polerecky.com/archives/thoughts-on-silverlight/' rel='bookmark' title='Permanent Link: Thoughts on Silverlight'>Thoughts on Silverlight</a> <small>In a recent post Jamie Kosoy, who I believe is...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<br/><div class="post-text">
<p>When using Prism for composition in Silverlight how do I attach actions between modules?</p>
<p>Am I forced to use the event system or is there a way to set the TargetName for my Actions to the name of a UserControl in a different module?</p>
<p>For Example:</p>
<pre class="prettyprint"><code><span class="pun">&lt;</span><span class="tag">Image</span><span class="pln"> </span><span class="atn">Height</span><span class="pun">=</span><span class="atv">&quot;40&quot;</span><span class="pln"> </span><span class="atn">HorizontalAlignment</span><span class="pun">=</span><span class="atv">&quot;Right&quot;</span><span class="pln"> </span><span class="atn">VerticalAlignment</span><span class="pun">=</span><span class="atv">&quot;Bottom&quot;</span><span class="pln"> </span><span class="atn">Width</span><span class="pun">=</span><span class="atv">&quot;40&quot;</span><span class="pln"> </span><span class="atn">Source</span><span class="pun">=</span><span class="atv">&quot;/SilverlightDemo.MainToolbar;Component/Images/i_chart.png&quot;</span><span class="pln"> </span><span class="atn">Stretch</span><span class="pun">=</span><span class="atv">&quot;Fill&quot;</span><span class="pln"> </span><span class="atn">Canvas</span><span class="pln">.</span><span class="atn">Left</span><span class="pun">=</span><span class="atv">&quot;222&quot;</span><span class="pln"> </span><span class="atn">Canvas</span><span class="pln">.</span><span class="atn">Top</span><span class="pun">=</span><span class="atv">&quot;55&quot;</span><span class="pun">&gt;</span><span class="pln">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="pun">&lt;</span><span class="tag">i:Interaction</span><span class="pln">.</span><span class="atn">Triggers</span><span class="pun">&gt;</span><span class="pln">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="pun">&lt;</span><span class="tag">i:EventTrigger</span><span class="pln"> </span><span class="atn">EventName</span><span class="pun">=</span><span class="atv">&quot;MouseLeftButtonDown&quot;</span><span class="pun">&gt;</span><span class="pln">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="pun">&lt;</span><span class="tag">Actions:ToggleCollapseAction</span><span class="pln">

&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">TargetName</span><span class="pun">=</span><span class="atv">&quot;HERE:/SilverlightDemo.Modules.TargetModule;Views/TargetModuleView&quot;</span><span class="pln"> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">CollapseHorizontal</span><span class="pun">=</span><span class="atv">&quot;False&quot;</span><span class="pln"> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="atn">CollapseVertical</span><span class="pun">=</span><span class="atv">&quot;False&quot;</span><span class="pun">/&gt;</span><span class="pln">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="pun">&lt;/</span><span class="tag">i:EventTrigger</span><span class="pun">&gt;</span><span class="pln">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="pun">&lt;/</span><span class="tag">i:Interaction</span><span class="pln">.</span><span class="atn">Triggers</span><span class="pun">&gt;</span><span class="pln">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span class="pun">&lt;/</span><span class="tag">Image</span><span class="pun">&gt;</span><span class="pln"></span></code></pre>
</div>


<p>Related posts:<ol><li><a href='http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/' rel='bookmark' title='Permanent Link: ESRI Silverlight Map vs. Prism Regions'>ESRI Silverlight Map vs. Prism Regions</a> <small>After a day or so of working with Silverlight it...</small></li><li><a href='http://eric.polerecky.com/archives/thoughts-on-silverlight/' rel='bookmark' title='Permanent Link: Thoughts on Silverlight'>Thoughts on Silverlight</a> <small>In a recent post Jamie Kosoy, who I believe is...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/gOov5s5hITk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/silverlight-actions-and-prism/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/silverlight-actions-and-prism/</feedburner:origLink></item>
		<item>
		<title>ESRI Silverlight Map vs. Prism Regions</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/f7IPBRumq5A/</link>
		<comments>http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 14:00:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[esri]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[prism]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/</guid>
		<description><![CDATA[<br/>After a day or so of working with Silverlight it became quite apparent that you can’t, no you Shouldn’t build Silverlight LOB (Line of Business) applications without Prism. 
Prism offers a way to break down your application into modules. And it uses Regions as a way to put it all back together again. Its very [...]


Related posts:<ol><li><a href='http://eric.polerecky.com/archives/silverlight-actions-and-prism/' rel='bookmark' title='Permanent Link: Silverlight, Actions and Prism'>Silverlight, Actions and Prism</a> <small> When using Prism for composition in Silverlight how do...</small></li><li><a href='http://eric.polerecky.com/archives/thoughts-on-silverlight/' rel='bookmark' title='Permanent Link: Thoughts on Silverlight'>Thoughts on Silverlight</a> <small>In a recent post Jamie Kosoy, who I believe is...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<br/><p>After a day or so of working with Silverlight it became quite apparent that you can’t, no you Shouldn’t build Silverlight LOB (Line of Business) applications without Prism. </p>
<p>Prism offers a way to break down your application into modules. And it uses Regions as a way to put it all back together again. Its very similar to the ASP.NET MasterPage/Content area approach. </p>
<p>Unfortunately for me; the control toolkit I’m using (I work for GISi now; its a mapping company…more on that in a future post) is from ESRI but none of the ESRI samples use Prism. When I got down to the nitty gritty I ended up tearing out my hair over my inability to make the map control do two things.</p>
<ol>
<li>Live in a module (a module is a separate project) </li>
<li>Take up 100% of the height and width of the shell. – Its a prism term – long post and screencasts coming soon. </li>
</ol>
<p>I could make the map do 1 or 2 but not 1 and 2&#8230;that is until I got some help from <a href="http://www.sharpgis.net/" target="_blank">@sharpgis</a></p>
<p><a href="http://forums.esri.com/Thread.asp?c=158&amp;f=2455&amp;t=290394&amp;mc=4">http://forums.esri.com/Thread.asp?c=158&amp;f=2455&amp;t=290394&amp;mc=4</a></p>
<p>So, the key is to use </p>
<pre> HorizontalContentAlignment=&quot;Stretch&quot; VerticalContentAlignment=&quot;Stretch&quot;</pre>


<p>Related posts:<ol><li><a href='http://eric.polerecky.com/archives/silverlight-actions-and-prism/' rel='bookmark' title='Permanent Link: Silverlight, Actions and Prism'>Silverlight, Actions and Prism</a> <small> When using Prism for composition in Silverlight how do...</small></li><li><a href='http://eric.polerecky.com/archives/thoughts-on-silverlight/' rel='bookmark' title='Permanent Link: Thoughts on Silverlight'>Thoughts on Silverlight</a> <small>In a recent post Jamie Kosoy, who I believe is...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/f7IPBRumq5A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/esri-silverlight-map-vs-prism-regions/</feedburner:origLink></item>
		<item>
		<title>Geometry data type support</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/MkNU0770i7c/</link>
		<comments>http://eric.polerecky.com/archives/geometry-data-type-support/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 17:21:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[gis]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/geometry-data-type-support/</guid>
		<description><![CDATA[<br/>LINQ to SQL and Entity Framework don’t support the geometry data type…
boo…


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<br/><p>LINQ to SQL and Entity Framework don’t support the geometry data type…</p>
<p>boo…</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/MkNU0770i7c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/geometry-data-type-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/geometry-data-type-support/</feedburner:origLink></item>
		<item>
		<title>Your freaking me out</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/OpeFYQHU-ds/</link>
		<comments>http://eric.polerecky.com/archives/your-freaking-me-out/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 19:09:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[Note]]></category>
		<category><![CDATA[career]]></category>
		<category><![CDATA[clients]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/your-freaking-me-out/</guid>
		<description><![CDATA[<br/>This month the top search keyword that brings people to my blog is “eric polerecky”
That’s all I got.


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<br/><p>This month the top search keyword that brings people to my blog is “eric polerecky”</p>
<p>That’s all I got.</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/OpeFYQHU-ds" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/your-freaking-me-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/your-freaking-me-out/</feedburner:origLink></item>
		<item>
		<title>TDD ROI Metrics</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/lkj2tvzj2Jw/</link>
		<comments>http://eric.polerecky.com/archives/tdd-roi-metrics/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 19:02:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[TDD]]></category>
		<category><![CDATA[development]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/tdd-roi-metrics/</guid>
		<description><![CDATA[<br/>Case studies were conducted with three development teams at Microsoft and one at IBM that have adopted TDD. The results of the case studies indicate that the pre-release defect density of the four products decreased between 40% and 90% relative to similar projects that did not use the TDD practice. Subjectively, the teams experienced a [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<br/><p>Case studies were conducted with three development teams at Microsoft and one at IBM that have adopted TDD. The results of the case studies indicate that the pre-release defect density of the four products decreased between 40% and 90% relative to similar projects that did not use the TDD practice. Subjectively, the teams experienced a 15–35% increase in initial development time after adopting TDD.</p>
<p><a href="http://www.springerlink.com/content/q91566748q234325/?p=7fd98b01480f49e2925f36393c999a72&amp;pi=3">http://www.springerlink.com/content/q91566748q234325/?p=7fd98b01480f49e2925f36393c999a72&amp;pi=3</a></p>
<p><a href="http://blog.agiledad.com/2009/07/cost-of-bug.html">http://blog.agiledad.com/2009/07/cost-of-bug.html</a></p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/lkj2tvzj2Jw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/tdd-roi-metrics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/tdd-roi-metrics/</feedburner:origLink></item>
		<item>
		<title>ASP.NET MVC Routing domain.com/*</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/fiqzr0IVmMM/</link>
		<comments>http://eric.polerecky.com/archives/asp-net-mvc-routing-domain-com/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 17:30:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/asp-net-mvc-routing-domain-com/</guid>
		<description><![CDATA[<img src="http://eric.polerecky.com/wp-content/uploads/2008/10/mvc-300x173.png" width="163" height="163" alt="" title="ASP.NET MVC" /><br/>Scenario; you have to pass wildcard requests to a controller for processing. Think myspace.com style vanity names.
Solution: Not as nice as .htaccess but it works; and I think I’m doing it write.
Step 1: Add Routes to Global.asa

   1:  routes.MapRoute(
   2:      &#34;Default&#34;, 
   3: [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<img src="http://eric.polerecky.com/wp-content/uploads/2008/10/mvc-300x173.png" width="163" height="163" alt="" title="ASP.NET MVC" /><br/><p>Scenario; you have to pass wildcard requests to a controller for processing. Think myspace.com style vanity names.</p>
<p>Solution: Not as nice as .htaccess but it works; and I think I’m doing it write.</p>
<h4>Step 1: Add Routes to Global.asa</h4>
<div class="csharpcode">
<pre class="alt"><span class="lnum">   1:  </span>routes.MapRoute(</pre>
<pre><span class="lnum">   2:  </span>    <span class="str">&quot;Default&quot;</span>, </pre>
<pre class="alt"><span class="lnum">   3:  </span>    <span class="str">&quot;{controller}/{action}/{id}&quot;</span>, </pre>
<pre><span class="lnum">   4:  </span>    <span class="kwrd">new</span> { controller = <span class="str">&quot;Home&quot;</span>, action = <span class="str">&quot;Index&quot;</span>, id = <span class="str">&quot;&quot;</span> },</pre>
<pre class="alt"><span class="lnum">   5:  </span>    <span class="kwrd">new</span> { controller = <span class="kwrd">new</span> Constraints(<span class="str">&quot;Account&quot;</span>, <span class="str">&quot;User&quot;</span>, <span class="str">&quot;Home&quot;</span>) }</pre>
<pre><span class="lnum">   6:  </span>);</pre>
<pre class="alt"><span class="lnum">   7:  </span>&#160;</pre>
<pre><span class="lnum">   8:  </span>routes.MapRoute(</pre>
<pre class="alt"><span class="lnum">   9:  </span>    <span class="str">&quot;User&quot;</span>, </pre>
<pre><span class="lnum">  10:  </span>    <span class="str">&quot;{id}&quot;</span>, </pre>
<pre class="alt"><span class="lnum">  11:  </span>    <span class="kwrd">new</span> { controller = <span class="str">&quot;User&quot;</span>, action = <span class="str">&quot;Index&quot;</span>, id = <span class="str">&quot;&quot;</span> }</pre>
<pre><span class="lnum">  12:  </span>);</pre>
</div>
<p>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
</p>
<h4>Step 2: Create Class that implements IRouteConstraint</h4>
<p>&#160;</p>
<div class="csharpcode">
<pre class="alt"><span class="lnum">   1:  </span><span class="kwrd">public</span> <span class="kwrd">class</span> Constraints : IRouteConstraint</pre>
<pre><span class="lnum">   2:  </span>    {</pre>
<pre class="alt"><span class="lnum">   3:  </span>        <span class="kwrd">private</span> <span class="kwrd">string</span>[] _matches = <span class="kwrd">null</span>;</pre>
<pre><span class="lnum">   4:  </span>&#160;</pre>
<pre class="alt"><span class="lnum">   5:  </span>        <span class="kwrd">public</span> Constraints(<span class="kwrd">params</span> <span class="kwrd">string</span>[] matches)</pre>
<pre><span class="lnum">   6:  </span>        {</pre>
<pre class="alt"><span class="lnum">   7:  </span>          _matches = matches;</pre>
<pre><span class="lnum">   8:  </span>        }</pre>
<pre class="alt"><span class="lnum">   9:  </span>&#160;</pre>
<pre><span class="lnum">  10:  </span>        <span class="kwrd">public</span> <span class="kwrd">bool</span> Match(HttpContextBase httpContext, </pre>
<pre class="alt"><span class="lnum">  11:  </span>                            Route route, </pre>
<pre><span class="lnum">  12:  </span>                            <span class="kwrd">string</span> parameterName, </pre>
<pre class="alt"><span class="lnum">  13:  </span>                            RouteValueDictionary values, </pre>
<pre><span class="lnum">  14:  </span>                            RouteDirection routeDirection)</pre>
<pre class="alt"><span class="lnum">  15:  </span>        {</pre>
<pre><span class="lnum">  16:  </span>          <span class="kwrd">bool</span> foundMatch = <span class="kwrd">false</span>;</pre>
<pre class="alt"><span class="lnum">  17:  </span>          <span class="kwrd">foreach</span> (<span class="kwrd">string</span> match <span class="kwrd">in</span> _matches)</pre>
<pre><span class="lnum">  18:  </span>          {</pre>
<pre class="alt"><span class="lnum">  19:  </span>              <span class="kwrd">if</span> (String.Compare(values[parameterName].ToString(), match, <span class="kwrd">true</span>)</pre>
<pre><span class="lnum">  20:  </span>                      == 0)</pre>
<pre class="alt"><span class="lnum">  21:  </span>              {</pre>
<pre><span class="lnum">  22:  </span>                  foundMatch = <span class="kwrd">true</span>;</pre>
<pre class="alt"><span class="lnum">  23:  </span>              }</pre>
<pre><span class="lnum">  24:  </span>               </pre>
<pre class="alt"><span class="lnum">  25:  </span>          }</pre>
<pre><span class="lnum">  26:  </span>          <span class="kwrd">return</span> foundMatch;<span class="rem">//not matching!</span></pre>
<pre class="alt"><span class="lnum">  27:  </span>        }</pre>
<pre><span class="lnum">  28:  </span>    }</pre>
</div>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/fiqzr0IVmMM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/asp-net-mvc-routing-domain-com/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/asp-net-mvc-routing-domain-com/</feedburner:origLink></item>
		<item>
		<title>Misunderstanding Markup</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/-MAeY78LwOs/</link>
		<comments>http://eric.polerecky.com/archives/misunderstanding-markup/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 16:21:59 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/misunderstanding-markup/</guid>
		<description><![CDATA[<br/>From smashingmagazine.com comes a must ready comic about XHTML and HTML5!



No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<br/><p>From <a href="http://smashingmagazine.com" target="_blank">smashingmagazine.com</a> comes a must ready comic about XHTML and HTML5!</p>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2009/07/comic960px1.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="comic-960px[1]" border="0" alt="comic-960px[1]" src="http://eric.polerecky.com/wp-content/uploads/2009/07/comic960px1_thumb.jpg" width="45" height="244" /></a></p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/-MAeY78LwOs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/misunderstanding-markup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/misunderstanding-markup/</feedburner:origLink></item>
		<item>
		<title>AutoDeploy.NET to GitHub</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/itkIBg_p_vk/</link>
		<comments>http://eric.polerecky.com/archives/autodeploy-net-to-github/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 15:15:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[AutoDeploy.NET]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[MEF]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[autodeploy]]></category>
		<category><![CDATA[fluent interface]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/autodeploy-net-to-github/</guid>
		<description><![CDATA[<br/>First; When I pushed to GitHub I decided to rename the project to AutoDeploy.NET. 
In the hopes of keeping my sanity and in the context of working in an organization that strictly follows a 50+ page “release management handbook” I started working on AutoDeploy.NET; a deployment automation tool. 
As with all my personal projects I [...]


Related posts:<ol><li><a href='http://eric.polerecky.com/archives/introducing-autodeploy/' rel='bookmark' title='Permanent Link: Introducing: AutoDeploy'>Introducing: AutoDeploy</a> <small>A class library to help automate simple deployment tasks. Warning:...</small></li><li><a href='http://eric.polerecky.com/archives/autodeploy-dogfood/' rel='bookmark' title='Permanent Link: AutoDeploy &ndash; Dogfood'>AutoDeploy &ndash; Dogfood</a> <small>Its been a very slow road for me and coding...</small></li><li><a href='http://eric.polerecky.com/archives/autodeploy-rework/' rel='bookmark' title='Permanent Link: AutoDeploy Rework'>AutoDeploy Rework</a> <small>Tonight I reworked in workflow, persistence, mapping, and entities in...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<br/><p>First; When I pushed to <a href="http://github.com/detroitpro/AutoDeploy.NET/tree/master" target="_blank">GitHub</a> I decided to rename the project to <a href="http://github.com/detroitpro/AutoDeploy.NET/tree/master" target="_blank">AutoDeploy.NET</a>. </p>
<p>In the hopes of keeping my sanity and in the context of working in an organization that strictly follows a 50+ page “release management handbook” I started working on <a href="http://github.com/detroitpro/AutoDeploy.NET/tree/master" target="_blank">AutoDeploy.NET</a>; a deployment automation tool. </p>
<p>As with all my personal projects I took an academic approach to the design and implementation. Instead of building an entire application I created a class library (dll) and used a few 3rd party libraries that I was either unfamiliar.</p>
<h4>Class Library</h4>
<p>My thought here is that by just creating the class library I would have a chance to create a fluent interface and if I did that well enough, creating a UI would be a trivial task. I have not hit a brick wall with this decision but messaging and logging might soon bite me in the…end.</p>
<h4>Sharp SVN</h4>
<p><a href="http://sharpsvn.open.collab.net/" target="_blank">SharpSvn</a> is a binding of the Subversion Client API for .Net 2.0 applications contained within a set of xcopy-deployable dll&#8217;s</p>
<p>Working with source control <strong>should</strong> be part of every deployment, build process, or continuous integration. I use SVN for my source control and so did organization. As I, along with what seems like the rest of the world, move to Git I might find time to write a Git service for <a href="http://github.com/detroitpro/AutoDeploy.NET/tree/master" target="_blank">AutoDeploy.NET</a></p>
<h4>Html Agility Pack</h4>
<p><span id="ctl00_ctl00_MasterContent_Content_wikiSourceLabel">The <a href="http://www.codeplex.com/htmlagilitypack" target="_blank">Html Agility Pack</a> is an agile HTML parser that builds a read/write DOM and supports plain XPATH or XSLT (you actually don&#8217;t HAVE to understand XPATH nor XSLT to use it, don&#8217;t worry&#8230;). It is a .NET code library that allows you to parse &quot;out of the web&quot; HTML files. The parser is very tolerant with &quot;real world&quot; malformed HTML. The object model is very similar to what proposes System.Xml, but for HTML documents (or streams).</span></p>
<p>Instead of using Sharp SVN or simple the .NET webclient I used the agility pack to parse the html that is returned when browsing a SVN repo. This is done to monitor the repo for new tags and kick off deployments based on the tag convention x.x.x. </p>
<p>The use is purely academic and limited in scope. It could easily be removed in order to cut-down on the number of 3rd party libraries required.</p>
<h4>MEF</h4>
<p><span id="ctl00_ctl00_MasterContent_Content_wikiSourceLabel">The <a href="http://mef.codeplex.com/" target="_blank">Managed Extensibility Framework (MEF)</a> is a new library in .NET that enables greater reuse of applications and components. Using MEF, .NET applications can make the shift from being statically compiled to dynamically composed. If you are building extensible applications, extensible frameworks and application extensions, then MEF is for you.</span></p>
<p>Extensibility! The decision to use MEF at such an early stage was purely academic but the result is perfect. I only wanted to code for the common scenarios. </p>
<p>In the environment I worked the process was very manual with SharePoint forms being touted as progress…I planed on writing a class library that implemented ICustomTask and called WaitN to fill out the endless, mind-numbing, pointless, wasteful, costly, wow….sorry..off track.</p>
<h4>Unity</h4>
<p><span id="ctl00_ctl00_MasterContent_Content_wikiSourceLabel">The <a href="http://www.codeplex.com/unity/" target="_blank">Unity Application Block (Unity)</a> is a lightweight extensible dependency injection container with support for constructor, property, and method call injection.</span></p>
<p>I choose unity because I am familiar with it. I should have used <a href="http://ninject.org/" target="_blank">ninject</a> or <a href="http://code.google.com/p/autofac/" target="_blank">autofac</a> or <a href="http://structuremap.sourceforge.net/Default.htm" target="_blank">StructureMap</a> or .. well you get the point. </p>
<h4>Fluent Interface</h4>
<p>A <a href="http://en.wikipedia.org/wiki/Fluent_interface" target="_blank">fluent interface</a> is a way of implementing an object oriented API in a way that aims to provide for more readable code.</p>
<p>It started off as a way to work with the buzz word of the day…but the first time I wrote an <a href="http://github.com/detroitpro/AutoDeploy.NET/tree/master" target="_blank">AutoDeploy.NET</a> parent application using the fluent interface I was hooked!</p>
<h4>Point In Time</h4>
<p>I made, what I consider, significent progress on <a href="http://github.com/detroitpro/AutoDeploy.NET/tree/master" target="_blank">AutoDeploy.NET</a> before parting ways with said organization. And while I hope to never ever need such a tool I feel for those solders I left behind. Seriously; we’ve identified many different scenarios where automating one or more of the common deployment tasks would be helpful to any developer. </p>
<p>Logging, Auditing and Messaging are the missing pieces at this time. </p>


<p>Related posts:<ol><li><a href='http://eric.polerecky.com/archives/introducing-autodeploy/' rel='bookmark' title='Permanent Link: Introducing: AutoDeploy'>Introducing: AutoDeploy</a> <small>A class library to help automate simple deployment tasks. Warning:...</small></li><li><a href='http://eric.polerecky.com/archives/autodeploy-dogfood/' rel='bookmark' title='Permanent Link: AutoDeploy &ndash; Dogfood'>AutoDeploy &ndash; Dogfood</a> <small>Its been a very slow road for me and coding...</small></li><li><a href='http://eric.polerecky.com/archives/autodeploy-rework/' rel='bookmark' title='Permanent Link: AutoDeploy Rework'>AutoDeploy Rework</a> <small>Tonight I reworked in workflow, persistence, mapping, and entities in...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/itkIBg_p_vk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/autodeploy-net-to-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/autodeploy-net-to-github/</feedburner:origLink></item>
	</channel>
</rss>
