<?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>Thu, 18 Mar 2010 17:54: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>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ericpolerecky" /><feedburner:info uri="ericpolerecky" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>ericpolerecky</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Spark CodeTemplates</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/f0b6A4GmjgQ/</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>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><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/f0b6A4GmjgQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/spark-codetemplates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/spark-codetemplates/</feedburner:origLink></item>
		<item>
		<title>Developer Questionnaire</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/GfQEgeu9S5w/</link>
		<comments>http://eric.polerecky.com/archives/developer-questionnaire/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 15:44:46 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[career]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/developer-questionnaire/</guid>
		<description><![CDATA[<br/>Finding talented developers is always a challenge and in the current economic climate many developers are holding off moving to a new position. As such, contract houses are submitting any available candidates for every position. This practice is not only another reason to avoid contracting shops but is rather taxing on the company looking to [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<br/><p>Finding talented developers is always a challenge and in the current economic climate many developers are holding off moving to a new position. As such, contract houses are submitting any available candidates for every position. This practice is not only another reason to avoid contracting shops but is rather taxing on the company looking to fill a position. </p>
<p>The man hours spent screening a single applicant can quickly balloon over 8 man hours. My current client recently felt this pain and decided to require the consulting houses to have their candidates fill out a questionnaire. In an environment with many different technologies and developer background experiences coming up with a questionnaire that covers technical, theoretical as well as passion is a daunting task.</p>
<p>Below is one of the recent questionnaires I filled out that I thought balanced technical and theoretical questions well. Some of the details have been redacted. And oh’ <strong>Be warned, I have no idea if these answers are correct</strong></p>
<p><strong>What is reflection?      <br /></strong>reflection is a way you can interrogate (inspect and/or invoke) objects in a running application. </p>
<p><strong>How do you inherit from a class in C#? (give a code sample)      <br /></strong>public class GreatClass:Baseclass {} </p>
<p><strong>When you inherit a protected class-level variable, who is it available to?      <br /></strong>The derived class and of course the base class. </p>
<p><strong>Describe each accessibility modifier (public, private, etc).      <br /></strong>Public: can be accessed by anyone     <br />Private: can only be accessed from inside the base class     <br />Protected: can be accessed by derived and base class     <br />Internal: like public by also must be in the same assembly     <br />Protected Internal: like private by also must be in the same assembly </p>
<p><strong>How is method overriding different from overloading?      <br /></strong>overriding changes the functionality of a base method, overloading creates another method with different inputs/attributes (post in MVC) </p>
<p><strong>What does the keyword virtual mean in the method definition?      <br /></strong>virtual methods are methods that the derived class must override.     <br /><strong></strong></p>
<p><strong>How can you overload a method?      <br /></strong>By changing the type or number of parameters. </p>
<p><strong>What’s the difference between an interface and abstract class?      <br /></strong>An abstract class is something that I don&#8217;t often use. Really; C# does not support multiple inheritance so we often use interfaces to define our entities and hierarchies. In c# we can inherit from one abstract class and implement multiple interfaces. </p>
<p><strong>What is the default accessibility for a class?      <br /></strong>Private </p>
<p><strong>Can you implement multiple interfaces?      <br /></strong>Yes     </p>
<p><strong>What is a delegate?      <br /></strong>The C# version of AddressOf </p>
<p><strong>Code a short and simple delegate example. Code the same sample with a lambda expression. </strong></p>
<div class="csharpcode">
<pre><span class="lnum">   1:  </span><span class="kwrd">public</span> <span class="kwrd">delegate</span> <span class="kwrd">int</span> myCalc(<span class="kwrd">int</span> x, <span class="kwrd">int</span> y);</pre>
<pre><span class="lnum">   2:  </span>&#160;</pre>
<pre><span class="lnum">   3:  </span><span class="kwrd">public</span> <span class="kwrd">class</span> doMath {</pre>
<pre><span class="lnum">   4:  </span>    <span class="kwrd">public</span> <span class="kwrd">string</span> Add(<span class="kwrd">int</span> x, <span class="kwrd">int</span> y){ Console.Wr...etc }</pre>
<pre><span class="lnum">   5:  </span>    <span class="kwrd">public</span> <span class="kwrd">string</span> Sub(<span class="kwrd">int</span> x, <span class="kwrd">int</span> y){ Console.Wr...etc }</pre>
<pre><span class="lnum">   6:  </span>} </pre>
<pre><span class="lnum">   7:  </span>&#160;</pre>
<pre><span class="lnum">   8:  </span><span class="kwrd">public</span> <span class="kwrd">static</span> <span class="kwrd">void</span> Main(){</pre>
<pre><span class="lnum">   9:  </span>    myCalc adder = <span class="kwrd">new</span> myCalc(doMath.Add);</pre>
<pre><span class="lnum">  10:  </span>    adder(1,1);</pre>
<pre><span class="lnum">  11:  </span>} </pre>
<pre><span class="lnum">  12:  </span>&#160;</pre>
<pre><span class="lnum">  13:  </span><span class="kwrd">public</span> <span class="kwrd">static</span> <span class="kwrd">void</span> Main(){</pre>
<pre><span class="lnum">  14:  </span>    myCalc adder = (doMath.Add);</pre>
<pre><span class="lnum">  15:  </span>    adder(1,1);</pre>
<pre><span class="lnum">  16:  </span>} </pre>
<pre><span class="lnum">  17:  </span>&#160;</pre>
<pre><span class="lnum">  18:  </span>&#160;</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><strong>Strings are immutable, what does this mean?<br />
    <br /></strong>The contents will not change once created, methods like toLower will not effect the string, only the output. </p>
<p><strong>Code an enumeration for a status where options are: Queued, In Process, Finished<br />
    <br /></strong>enum Status { Queued, In Process, Finished }; </p>
<p><strong>Can C# have multiple catch blocks?<br />
    <br /></strong>Sure</p>
<p><strong>What are design patterns?<br />
    <br /></strong>Examples of how people smarter then me make my job easier. </p>
<p><strong>Describe two design patterns you have used in a project.<br />
    <br /></strong>Singleton! &#8211; Really; it&#8217;s was a good use&#8230;for a WCF Service to cache database results and serve those results to all web clients. </p>
<p>I&#8217;m not sure if MVC counts but It what I miss right now&#8230;MVVM is fine for large SL projects and the Flex stuff I am doing&#8230;well&#8230;as some of the Headspring guys on twitter might now, I&#8217;m not happy with it. </p>
<p><strong>What are the most important aspects of an effective software development team?<br />
    <br /></strong>Communication, planning, direction, understanding the problem domain (++DDD) </p>
<p><strong>What is your experience with test-driven development? What are its limitations? What are its strengths?</strong> </p>
<p>I&#8217;m a fan and I use it where I&#8217;ve been able to convince a project manager that it fits into a project plan. When I have to take over a project without unit tests I feel lost. TDD, like design patterns, are something I love that makes my job easier. </p>
<p><strong>What is your experience with Extreme Programming? What are its limitations? What are its strengths?</strong> </p>
<p>Not enough; the last 3 years I&#8217;ve been stuck in a big-design-up-front, not even waterfall, we spent a year on documents. 5 people, 1 year. sick. I was in a XP environment in 2001-2003. </p>
<p></p>
<p><strong>Will this code compile? What will be its output?</strong> </p>
<p>Sample code was provided.</p>
<p></p>
<p><strong>Write the PRECISE output of this code as it would appear in the console.<br />
    <br /></strong>Sample code was provided</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/GfQEgeu9S5w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/developer-questionnaire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/developer-questionnaire/</feedburner:origLink></item>
		<item>
		<title>ASP.NET MVC Spark Support</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/wyNvbWKeqkQ/</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 [...]


Related posts:<ol><li><a href='http://eric.polerecky.com/archives/asp-net-mvc2-to-provide-real-spark-support/' rel='bookmark' title='Permanent Link: ASP.NET MVC2 To Provide Real Spark Support'>ASP.NET MVC2 To Provide Real Spark Support</a> <small>Ok, that might be going a little too far but...</small></li>
<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/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 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>Related posts:<ol><li><a href='http://eric.polerecky.com/archives/asp-net-mvc2-to-provide-real-spark-support/' rel='bookmark' title='Permanent Link: ASP.NET MVC2 To Provide Real Spark Support'>ASP.NET MVC2 To Provide Real Spark Support</a> <small>Ok, that might be going a little too far but...</small></li>
<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/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><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/wyNvbWKeqkQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/asp-net-mvc-spark-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/asp-net-mvc-spark-support/</feedburner:origLink></item>
		<item>
		<title>Spark View Engine 1.1</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/r6pRmE2lCg0/</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>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><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/r6pRmE2lCg0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/spark-view-engine-1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/spark-view-engine-1-1/</feedburner:origLink></item>
		<item>
		<title>Wcf, WebGet and Client Config</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/97noNk2YKY0/</link>
		<comments>http://eric.polerecky.com/archives/wcf-webget-and-client-config/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 06:04:11 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/wcf-webget-and-client-config/</guid>
		<description><![CDATA[<br/>try:
If you annotate your methods with the WebGet annotation, when a client adds your service as a service ref, there will be no client configuration information. 
catch:
To put that another way, if you use the WebGet annotation it&#8217;s assumed the calling party is going to use rest.
finally:
if you use the WebGet annotation on your WCF [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<br/><p>try:<br />
If you annotate your methods with the WebGet annotation, when a client adds your service as a service ref, there will be no client configuration information. </p>
<p>catch:<br />
To put that another way, if you use the WebGet annotation it&#8217;s assumed the calling party is going to use rest.</p>
<p>finally:<br />
if you use the WebGet annotation on your WCF operations they can be called as soap operations</p>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/97noNk2YKY0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/wcf-webget-and-client-config/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/wcf-webget-and-client-config/</feedburner:origLink></item>
		<item>
		<title>Spark Binaries For ASP.NET MVC RC2</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/EEU1R3kPaYA/</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.


Related posts:ASP.NET MVC Spark Support ASP.NET [...]


Related posts:<ol><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>
<li><a href='http://eric.polerecky.com/archives/spark-view-engine-1-1/' rel='bookmark' title='Permanent Link: Spark View Engine 1.1'>Spark View Engine 1.1</a> <small>ASP.NET MVC 2 was RTM’ed today and with the help...</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/><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>Related posts:<ol><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>
<li><a href='http://eric.polerecky.com/archives/spark-view-engine-1-1/' rel='bookmark' title='Permanent Link: Spark View Engine 1.1'>Spark View Engine 1.1</a> <small>ASP.NET MVC 2 was RTM’ed today and with the help...</small></li>
</ol></p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/EEU1R3kPaYA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/spark-binaries-for-asp-net-mvc-rc2/</feedburner:origLink></item>
		<item>
		<title>ASP.NET MVC2 To Provide Real Spark Support</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/_IVsTT753sM/</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 [...]


Related posts:<ol><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-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/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>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>Related posts:<ol><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-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/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><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/_IVsTT753sM" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://eric.polerecky.com/archives/asp-net-mvc2-to-provide-real-spark-support/</feedburner:origLink></item>
		<item>
		<title>SOA+MVC</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/XJqO7Az5Ll0/</link>
		<comments>http://eric.polerecky.com/archives/soamvc/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 15:00:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/soamvc/</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/>Disclaimer: This post is my personal reflection of a current situation. It’s not intended for any other use. Don’t use this information in anyway.
Background
The previous enterprise-grade SOA architected systems I’ve worked on, last decade, were Classic ASP, Java or Webforms. These systems had their presentation layer wired directly into the services. The largest, .NET or [...]


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><strong>Disclaimer: This post is my personal reflection of a current situation. It’s not intended for any other use. Don’t use this information in anyway.</strong></p>
<h2>Background<a href="http://eric.polerecky.com/wp-content/uploads/2010/01/image3.png"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 0px 10px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" align="right" src="http://eric.polerecky.com/wp-content/uploads/2010/01/image_thumb3.png" width="244" height="162" /></a></h2>
<p>The previous enterprise-grade SOA architected systems I’ve worked on, last decade, were Classic ASP, Java or Webforms. These systems had their presentation layer wired directly into the services. The <strong>largest, .NET or other, MVC application I worked with was huge MVC but it had a “traditional” connection to the database.</strong></p>
<p>&#160;</p>
<h2>First thoughts on SOA+MVC</h2>


<p>No related posts.</p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/XJqO7Az5Ll0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/soamvc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/soamvc/</feedburner:origLink></item>
		<item>
		<title>AutoMapper.Silverlight</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/zeaYiNvX2O4/</link>
		<comments>http://eric.polerecky.com/archives/automapper-silverlight/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 14:40:00 +0000</pubDate>
		<dc:creator>Eric Polerecky</dc:creator>
				<category><![CDATA[AutoMapper]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://eric.polerecky.com/archives/automapper-silverlight/</guid>
		<description><![CDATA[<br/>I could, and will soon, write a long ass post about how I cobbled together a messed-up architecture for building Silverlight applications on top of an enterprise class SOA architecture without RIA but with RIA&#8230;
Here is a branch of AutoMapper, compiled against Silverlight and now with support for entities generated from WCF service references.
http://github.com/detroitpro/AutoMapper.Silverlight
I really [...]


Related posts:<ol><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>
<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>I could, and will soon, write a long ass post about how I cobbled together a messed-up architecture for building Silverlight applications on top of an enterprise class SOA architecture without RIA but with RIA&#8230;</p>
<p>Here is a branch of AutoMapper, <a href="http://automapper.codeplex.com/SourceControl/PatchList.aspx" target="_blank">compiled against Silverlight</a> and now with support for entities generated from WCF service references.</p>
<p><a title="http://github.com/detroitpro/AutoMapper.Silverlight" href="http://github.com/detroitpro/AutoMapper.Silverlight">http://github.com/detroitpro/AutoMapper.Silverlight</a></p>
<p>I really hope I published it to GitHub correctly; yell at me if not.</p>


<p>Related posts:<ol><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>
<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/zeaYiNvX2O4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/automapper-silverlight/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/automapper-silverlight/</feedburner:origLink></item>
		<item>
		<title>ASP.NET MVC: Not That Open Source</title>
		<link>http://feedproxy.google.com/~r/ericpolerecky/~3/sIhg82VMqYE/</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>No related posts.</p><img src="http://feeds.feedburner.com/~r/ericpolerecky/~4/sIhg82VMqYE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://eric.polerecky.com/archives/asp-net-mvc-not-that-open-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://eric.polerecky.com/archives/asp-net-mvc-not-that-open-source/</feedburner:origLink></item>
	</channel>
</rss>
