<?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>Trent Jones &#187; Programming</title>
	<atom:link href="http://www.trentjones.net/index.php/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trentjones.net</link>
	<description>DoSomething();</description>
	<lastBuildDate>Mon, 15 Mar 2010 19:27:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ASP.NET 4.0 and Control IDs</title>
		<link>http://www.trentjones.net/index.php/2009/09/asp-net-4-0-and-control-ids/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/asp-net-4-0-and-control-ids/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 19:35:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code Sample]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[codeproject]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[ASP.NET 4.0]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/asp-net-4-0-and-control-ids/</guid>
		<description><![CDATA[In .NET 4.0 there is a new option when adding controls to a page or user control: ClientIDMode.&#160; This property offers you four choices: Legacy, Static, Predictable, Inherit.&#160; Previously it was almost impossible to find the id of a control in a normal matter such as jQuery.&#160; Using Choosing Legacy will continue to issue an [...]]]></description>
			<content:encoded><![CDATA[<p>In .NET 4.0 there is a new option when adding controls to a page or user control: <strong>ClientIDMode</strong>.&#160; This property offers you four choices: Legacy, Static, Predictable, Inherit.&#160; Previously it was almost impossible to find the id of a control in a normal matter such as jQuery.&#160; Using </p>
<p>Choosing <strong>Legacy</strong> will continue to issue an ID in the same manner they were generated in previous version of ASP.NET, by concatenating the ID values of each parent naming container with the ID of the control.&#160; Setting the property to <strong>Static </strong>will use the exact value of the ID property of the server control.&#160; <strong>Predictable </strong>is used for controls that are data-bound controls such as repeater and also makes use of a <strong>ClientIDRowSuffix</strong> property.&#160; Using <strong>Inherit </strong>makes the control ID property use the setting of its parent control.</p>
<p>In the example below, two lists are created inside the ContentPlaceHolder of a page using the same DataSource. The first is using the default and the second uses the new property with <strong>Static </strong>set as the value.</p>
<pre class="brush: csharp;">
&lt;asp:Content ID=&quot;Content2&quot; ContentPlaceHolderID=&quot;ContentPlaceHolder1&quot; runat=&quot;server&quot;&gt;
    &lt;asp:XmlDataSource ID=&quot;LinkData&quot; runat=&quot;server&quot; XPath=&quot;Colors/Color&quot;&gt;
        &lt;Data&gt;
            &lt;Colors&gt;
                &lt;Color Name=&quot;Red&quot;/&gt;
                &lt;Color Name=&quot;Blue&quot;/&gt;
                &lt;Color Name=&quot;Yellow&quot;/&gt;
                &lt;Color Name=&quot;Green&quot; /&gt;
            &lt;/Colors&gt;
        &lt;/Data&gt;
    &lt;/asp:XmlDataSource&gt;
    &lt;asp:BulletedList ID=&quot;uxList&quot; DataSourceID=&quot;LinkData&quot; runat=&quot;server&quot; DataTextField=&quot;Name&quot; /&gt;
    &lt;asp:BulletedList ID=&quot;uxListStatic&quot; ClientIDMode=&quot;Static&quot; DataSourceID=&quot;LinkData&quot; runat=&quot;server&quot; DataTextField=&quot;Name&quot; /&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;
        $(function() {
            $(&quot;#uxList&quot;).append(&quot;&lt;li&gt;Red&lt;/li&gt;&quot;);
            $(&quot;#uxListStatic&quot;).append(&quot;&lt;li&gt;Brown&lt;/li&gt;&quot;);
        });
    &lt;/script&gt;
&lt;/asp:Content&gt;
</pre>
<p>Here is the output of the page in HTML</p>
<pre class="brush: xml;">
&lt;div&gt;
    &lt;ul id=&quot;ctl00_ContentPlaceHolder1_uxList&quot;&gt;
        &lt;li&gt;Red&lt;/li&gt;&lt;li&gt;Blue&lt;/li&gt;&lt;li&gt;Yellow&lt;/li&gt;&lt;li&gt;Green&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul id=&quot;uxListStatic&quot;&gt;
        &lt;li&gt;Red&lt;/li&gt;&lt;li&gt;Blue&lt;/li&gt;&lt;li&gt;Yellow&lt;/li&gt;&lt;li&gt;Green&lt;/li&gt;
    &lt;/ul&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;
    $(function() {
        $(&quot;#uxListStatic&quot;).append(&quot;&lt;li&gt;Brown&lt;/li&gt;&quot;);
    });
    &lt;/script&gt;
&lt;/div&gt;
</pre>
<p>And the corresponding view in the browser</p>
<pre class="brush: xml;">
•    Red
•    Blue
•    Yellow
•    Green

•    Red
•    Blue
•    Yellow
•    Green
•    Brown
</pre>
<p>Because of the generated tag on the first list jQuery can’t find the control to append to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/asp-net-4-0-and-control-ids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VS 2010 and .NET 4.0 Series</title>
		<link>http://www.trentjones.net/index.php/2009/09/vs-2010-and-net-4-0-series/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/vs-2010-and-net-4-0-series/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 16:46:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[VS 2010]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/vs-2010-and-net-4-0-series/</guid>
		<description><![CDATA[Link to a bunch of articles on upcoming features in .NET 4.0 and VS 2010 http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx]]></description>
			<content:encoded><![CDATA[<p>Link to a bunch of articles on upcoming features in .NET 4.0 and VS 2010</p>
<p><a title="http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx" href="http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx">http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/vs-2010-and-net-4-0-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto-Start ASP.NET Applications</title>
		<link>http://www.trentjones.net/index.php/2009/09/auto-start-asp-net-applications/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/auto-start-asp-net-applications/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 16:35:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/auto-start-asp-net-applications/</guid>
		<description><![CDATA[Scott Guthrie has an article up on his website discussing the new auto-start feature of web applications that will be available in IIS7.5 with ASP.NET 4.0.  I just learned about this last week at the Southern Fried Road Show. http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx]]></description>
			<content:encoded><![CDATA[<p><a href="http://weblogs.asp.net/scottgu">Scott Guthrie</a> has an article up on his website discussing the new auto-start feature of web applications that will be available in IIS7.5 with ASP.NET 4.0.  I just learned about this last week at the Southern Fried Road Show.</p>
<p><a title="http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx" href="http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx">http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/auto-start-asp-net-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>960 Grid System</title>
		<link>http://www.trentjones.net/index.php/2009/09/960-grid-system/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/960-grid-system/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 11:41:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/960-grid-system/</guid>
		<description><![CDATA[I am going to try and enlist the 960 Grid System on a website I am working on. &#8220;The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately [...]]]></description>
			<content:encoded><![CDATA[<p>I am going to try and enlist the 960 Grid System on a website I am working on.</p>
<p>&#8220;The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.&#8221;</p>
<p>http://960.gs/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/960-grid-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>monoTouch development kit now available for iPHone</title>
		<link>http://www.trentjones.net/index.php/2009/09/monotouch-development-kit-now-available-for-iphone/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/monotouch-development-kit-now-available-for-iphone/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 18:26:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/monotouch-development-kit-now-available-for-iphone/</guid>
		<description><![CDATA[monoTouch enables applications developed in any .net language to run on the iPhone. Significantly, monoTouch provides .net bindings to native API, allowing application developers will have access to iPhone specific functionality from within their .net applications. monoTouch integrates with both the free MonoDevelop IDE as well as Apple&#8217;s XCode toolkit http://www.downloadsquad.com/2009/09/14/monotouch-net-development-kit-now-available-for-iphone/]]></description>
			<content:encoded><![CDATA[<p>monoTouch enables applications developed in any .net language to run on the iPhone. Significantly, monoTouch provides .net bindings to native API, allowing application developers will have access to iPhone specific functionality from within their .net applications. monoTouch integrates with both the free MonoDevelop IDE as well as Apple&#8217;s XCode toolkit</p>
<p><a href="monoTouch enables applications developed in any .net language to run on the iPhone. Significantly, monoTouch provides .net bindings to native API, allowing application developers will have access to iPhone specific functionality from within their .net applications. monoTouch integrates with both the free MonoDevelop IDE as well as Apple's XCode toolkit">http://www.downloadsquad.com/2009/09/14/monotouch-net-development-kit-now-available-for-iphone/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/monotouch-development-kit-now-available-for-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MVC, WebForms, ZeroForms</title>
		<link>http://www.trentjones.net/index.php/2009/09/mvc-webforms-zeroforms/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/mvc-webforms-zeroforms/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 15:42:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/mvc-webforms-zeroforms/</guid>
		<description><![CDATA[Interesting article comparing MVC vs. WebForms and a third option known as ZeroForm. http://madskristensen.net/post/WebForms-or-MVC-What-about-the-third-option.aspx]]></description>
			<content:encoded><![CDATA[<p>Interesting article comparing MVC vs. WebForms and a third option known as ZeroForm.</p>
<p><a href="http://madskristensen.net/post/WebForms-or-MVC-What-about-the-third-option.aspx">http://madskristensen.net/post/WebForms-or-MVC-What-about-the-third-option.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/mvc-webforms-zeroforms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Entity Framework Code Only option</title>
		<link>http://www.trentjones.net/index.php/2009/06/entity-framework-code-only-option/</link>
		<comments>http://www.trentjones.net/index.php/2009/06/entity-framework-code-only-option/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 13:23:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/?p=149</guid>
		<description><![CDATA[.NET 4.0 and VS 2010 introduce a new feature for the Entity Framework called model first.  In addition, you will now be able to have a code only model. Written with POCOs and a simple class derived from ObjectContext and you are on the way&#8230; http://blogs.msdn.com/efdesign/archive/2009/06/10/code-only.aspx]]></description>
			<content:encoded><![CDATA[<p>.NET 4.0 and VS 2010 introduce a new feature for the Entity Framework called model first.  In addition, you will now be able to have a code only model. Written with POCOs and a simple class derived from ObjectContext and you are on the way&#8230;</p>
<p><a href="http://blogs.msdn.com/efdesign/archive/2009/06/10/code-only.aspx" target="_blank">http://blogs.msdn.com/efdesign/archive/2009/06/10/code-only.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/06/entity-framework-code-only-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Stored Procedures with Entity Framework</title>
		<link>http://www.trentjones.net/index.php/2009/05/using-stored-procedures-with-entity-framework/</link>
		<comments>http://www.trentjones.net/index.php/2009/05/using-stored-procedures-with-entity-framework/#comments</comments>
		<pubDate>Tue, 12 May 2009 13:05:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Entity Framework]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/?p=144</guid>
		<description><![CDATA[Yesterday i was attempting to use a stored procedure with the Entity Framework through the &#8220;function import&#8221; features and couldn&#8217;t get the auto-gen feature to expose the function on the Context.  The stored procedure was returning a scalar value which at this point doesn&#8217;t seem to be supported through auto-gen.  Choosing an Entity, however works [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday i was attempting to use a stored procedure with the Entity Framework through the &#8220;function import&#8221; features and couldn&#8217;t get the auto-gen feature to expose the function on the Context.  The stored procedure was returning a scalar value which at this point doesn&#8217;t seem to be supported through auto-gen.  Choosing an Entity, however works fine. Further digging this morning led me to this article on the ADO.NET team blog explaining the issues with return types and <a href="http://blogs.msdn.com/adonet/default.aspx">stored procedures in Entity Framework</a>.  The article also links to another great <a href="http://blogs.msdn.com/meek/archive/2008/03/26/ado-entity-framework-stored-procedure-customization.aspx">article</a> showing how to return custom types two ways:  one way through the entity framework itself, the other through the use of extension methods.</p>
<p><a href="http://code.msdn.microsoft.com/EFExtensions">ADO.NET Entity Framework Extensions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/05/using-stored-procedures-with-entity-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using T4 to Generate Stored Procs for Entity Framework</title>
		<link>http://www.trentjones.net/index.php/2009/05/using-t4-to-generate-stored-procs-for-entity-framework/</link>
		<comments>http://www.trentjones.net/index.php/2009/05/using-t4-to-generate-stored-procs-for-entity-framework/#comments</comments>
		<pubDate>Mon, 11 May 2009 18:06:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[T4]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/?p=141</guid>
		<description><![CDATA[T4 code generation has been on my short list of things to look into but keeps getting put off as i navigate down some other endless path.  Meanwhile, I found a nice article on using T4 to generate stored procs for CRUD operations for the Entity Framework. Entity Framework Stored Procedure Generation Thanks David.]]></description>
			<content:encoded><![CDATA[<p>T4 code generation has been on my short list of things to look into but keeps getting put off as i navigate down some other endless path.  Meanwhile, I found a nice article on using T4 to generate stored procs for CRUD operations for the Entity Framework.</p>
<p><a href="http://blogs.rev-net.com/ddewinter/2008/04/26/entity-framework-stored-procedure-generation/">Entity Framework Stored Procedure Generation</a></p>
<p>Thanks David.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/05/using-t4-to-generate-stored-procs-for-entity-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forms Authentication and Session Timeout</title>
		<link>http://www.trentjones.net/index.php/2009/05/forms-authentication-and-session-timeout/</link>
		<comments>http://www.trentjones.net/index.php/2009/05/forms-authentication-and-session-timeout/#comments</comments>
		<pubDate>Wed, 06 May 2009 15:08:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/?p=136</guid>
		<description><![CDATA[Ran into an issue on a website where the Session was timing out yet the forms auth ticket was still valid which was causing errors. Here is one solution: http://dotnethitman.spaces.live.com/blog/cns!E149A8B1E1C25B14!210.entry The GU also mentions some of this in the post and in digging through all the comments. http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx]]></description>
			<content:encoded><![CDATA[<p>Ran into an issue on a website where the Session was timing out yet the forms auth ticket was still valid which was causing errors.  Here is one solution:<br />
<a href=" http://dotnethitman.spaces.live.com/blog/cns!E149A8B1E1C25B14!210.entry"></p>
<p>http://dotnethitman.spaces.live.com/blog/cns!E149A8B1E1C25B14!210.entry</a></p>
<p>The GU also mentions some of this in the post and in digging through all the comments.<br />
<a href="http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx">http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/05/forms-authentication-and-session-timeout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
