<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for PrimeDigit - A Design Blog by Will Shaver</title>
	<atom:link href="http://www.primedigit.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.primedigit.com</link>
	<description>Thoughts on ASP.NET, Visual Design, SQL Server 2005, C# and much more...</description>
	<lastBuildDate>Sat, 09 Jan 2010 20:34:05 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Implementing Optimistic Concurrency with SQL Timestamps by Mike Sullivan</title>
		<link>http://www.primedigit.com/implementing-optimistic-concurrency-with-sql-timestamps/comment-page-1/#comment-1769</link>
		<dc:creator>Mike Sullivan</dc:creator>
		<pubDate>Sat, 09 Jan 2010 20:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/?page_id=7#comment-1769</guid>
		<description>Still a great article 2 1/2 years later.  Thanks for the insights into this lighter concurrency processing technique.</description>
		<content:encoded><![CDATA[<p>Still a great article 2 1/2 years later.  Thanks for the insights into this lighter concurrency processing technique.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Parameter Type-Checking by trasloco milano</title>
		<link>http://www.primedigit.com/automatic-parameter-type-checking/comment-page-1/#comment-1675</link>
		<dc:creator>trasloco milano</dc:creator>
		<pubDate>Mon, 23 Nov 2009 10:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/automatic-parameter-type-checking/#comment-1675</guid>
		<description>Great post.It really contains valuable information.Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Great post.It really contains valuable information.Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NewEgg Fail by Bill</title>
		<link>http://www.primedigit.com/2009/10/29/newegg-fail/comment-page-1/#comment-1504</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Thu, 29 Oct 2009 23:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/?p=98#comment-1504</guid>
		<description>I&#039;m guessing they&#039;ve got a redirect to some DNS thats probably being blocked. Obviously it&#039;s completely on your end; don&#039;t know why poor Lilian had to be dragged into this.

Have you tried redirecting through a public proxy?
Fire up Fiddler and at will tell you exactly which request is timing out. Awesome tool</description>
		<content:encoded><![CDATA[<p>I&#8217;m guessing they&#8217;ve got a redirect to some DNS thats probably being blocked. Obviously it&#8217;s completely on your end; don&#8217;t know why poor Lilian had to be dragged into this.</p>
<p>Have you tried redirecting through a public proxy?<br />
Fire up Fiddler and at will tell you exactly which request is timing out. Awesome tool</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NewEgg Fail by Will</title>
		<link>http://www.primedigit.com/2009/10/29/newegg-fail/comment-page-1/#comment-1502</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/?p=98#comment-1502</guid>
		<description>I may in fact have a 3G device that I&#039;ve tethered at work before. But we don&#039;t talk about that.</description>
		<content:encoded><![CDATA[<p>I may in fact have a 3G device that I&#8217;ve tethered at work before. But we don&#8217;t talk about that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NewEgg Fail by Cory</title>
		<link>http://www.primedigit.com/2009/10/29/newegg-fail/comment-page-1/#comment-1501</link>
		<dc:creator>Cory</dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/?p=98#comment-1501</guid>
		<description>Help desk people lose their sense of humor after two weeks on the job.

My guess: it&#039;s probably a caching proxy between you and newegg.
- Newegg could solve this by changing their web apps to not reuse URLs or file names. Caching proxy servers cause some web apps to &quot;do crazy stuff&quot;.
- Your network admin could fix this by seeing what newegg&#039;s code is doing, and changing their proxy&#039;s caching rules.
- You could fix this by: tunneling through the caching proxy to a proxy that works (IT will hate you), get another net connection by tethering a 3G device to your workstation (IT will hate you), or just doing the work from home.</description>
		<content:encoded><![CDATA[<p>Help desk people lose their sense of humor after two weeks on the job.</p>
<p>My guess: it&#8217;s probably a caching proxy between you and newegg.<br />
- Newegg could solve this by changing their web apps to not reuse URLs or file names. Caching proxy servers cause some web apps to &#8220;do crazy stuff&#8221;.<br />
- Your network admin could fix this by seeing what newegg&#8217;s code is doing, and changing their proxy&#8217;s caching rules.<br />
- You could fix this by: tunneling through the caching proxy to a proxy that works (IT will hate you), get another net connection by tethering a 3G device to your workstation (IT will hate you), or just doing the work from home.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automatic Parameter Type-Checking by Jonathan</title>
		<link>http://www.primedigit.com/automatic-parameter-type-checking/comment-page-1/#comment-1476</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Thu, 22 Oct 2009 17:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/automatic-parameter-type-checking/#comment-1476</guid>
		<description>You can use the Convert.ChangeType() method to parse the query string value based on the Type property.

protected override object Evaluate(HttpContext context, Control control)
{
  if ((context != null) &amp;&amp; (context.Request != null))
  {
    var value = context.Request.QueryString[QueryStringField];

    if (value != null)
    {
      try
      {
        return Convert.ChangeType(context.Request.QueryString[QueryStringField], Type);
      }
      catch (FormatException)
      {
      }
    }
  }
  
  return null;
}</description>
		<content:encoded><![CDATA[<p>You can use the Convert.ChangeType() method to parse the query string value based on the Type property.</p>
<p>protected override object Evaluate(HttpContext context, Control control)<br />
{<br />
  if ((context != null) &amp;&amp; (context.Request != null))<br />
  {<br />
    var value = context.Request.QueryString[QueryStringField];</p>
<p>    if (value != null)<br />
    {<br />
      try<br />
      {<br />
        return Convert.ChangeType(context.Request.QueryString[QueryStringField], Type);<br />
      }<br />
      catch (FormatException)<br />
      {<br />
      }<br />
    }<br />
  }</p>
<p>  return null;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Implementing Optimistic Concurrency with SQL Timestamps by Shaun</title>
		<link>http://www.primedigit.com/implementing-optimistic-concurrency-with-sql-timestamps/comment-page-1/#comment-1455</link>
		<dc:creator>Shaun</dc:creator>
		<pubDate>Fri, 09 Oct 2009 04:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/?page_id=7#comment-1455</guid>
		<description>I implemeted your solution with great success. Thankyou. But for understanding&#039;s sake.
I only have Update on my gridview permitted.
I understand that the timestamp field is passed if you add it to the datakeynames properties.
It ends up in the Keys collection, which I can examine in RowUpdating.
It is not, however, a key in the database table, so why doesn&#039;t it come over in the oldvalues 
or newvalues collection on update, without having to add it to the datakeynames property.
I test this by taking it out of datakeynames and adding it as a bound field, visible = &#039;false&#039;.
I then test for it&#039;s presence in the old and new values colleciton in rowupdating, and it is not there?
Then it falls over with the wrong method signature.
If I set the timestamp boundfield to visible = &quot;true&#039; , it is present? But who wants that?
Thanks</description>
		<content:encoded><![CDATA[<p>I implemeted your solution with great success. Thankyou. But for understanding&#8217;s sake.<br />
I only have Update on my gridview permitted.<br />
I understand that the timestamp field is passed if you add it to the datakeynames properties.<br />
It ends up in the Keys collection, which I can examine in RowUpdating.<br />
It is not, however, a key in the database table, so why doesn&#8217;t it come over in the oldvalues<br />
or newvalues collection on update, without having to add it to the datakeynames property.<br />
I test this by taking it out of datakeynames and adding it as a bound field, visible = &#8216;false&#8217;.<br />
I then test for it&#8217;s presence in the old and new values colleciton in rowupdating, and it is not there?<br />
Then it falls over with the wrong method signature.<br />
If I set the timestamp boundfield to visible = &#8220;true&#8217; , it is present? But who wants that?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hiding Your hbm.xml files in Visual Studio (or not) by Nesting NHibernate Mapping Files &#60; Over It.</title>
		<link>http://www.primedigit.com/2008/04/08/hiding-your-hbmxml-files-in-visual-studio-or-not/comment-page-1/#comment-1411</link>
		<dc:creator>Nesting NHibernate Mapping Files &#60; Over It.</dc:creator>
		<pubDate>Tue, 08 Sep 2009 06:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/2008/04/08/hiding-your-hbmxml-files-in-visual-studio-or-not/#comment-1411</guid>
		<description>[...] The problem: Hiding Your hbm.xml files in Visual Studio (or not) [...]</description>
		<content:encoded><![CDATA[<p>[...] The problem: Hiding Your hbm.xml files in Visual Studio (or not) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Implementing Optimistic Concurrency with SQL Timestamps by finex</title>
		<link>http://www.primedigit.com/implementing-optimistic-concurrency-with-sql-timestamps/comment-page-1/#comment-1386</link>
		<dc:creator>finex</dc:creator>
		<pubDate>Sun, 16 Aug 2009 13:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/?page_id=7#comment-1386</guid>
		<description>I problem about &quot;AssignAllProductValues&quot; method.If my datarow is type DateTime and original_AddedDate is datatime.

Simple Code.(from &quot;AssignAllProductValues&quot; method )

protected void AssignAllProductValues(ProductConcurrency.ProductConcurrencyDataRow product,DateTime AddedDate,string AddedBy)
{
product.AddedDate = AddedDate; 
product.AddedBy = AddedBy 
}

public bool Update(DateTime AddedDate,DateTime original_AddedDate)
{
   .....
   .....

   AssignAllProductValues(product,original_AddedDate);

   product.AcceptChanges();
   
   AssignAllProductValues(product,AddedDate);

   int rowAffects = Adapter.Update(product);

   return rowAffects == 1;
}

from Simple Code above.if comment &quot;//product.AddedDate = AddedDate&quot;. return value = true; it not error</description>
		<content:encoded><![CDATA[<p>I problem about &#8220;AssignAllProductValues&#8221; method.If my datarow is type DateTime and original_AddedDate is datatime.</p>
<p>Simple Code.(from &#8220;AssignAllProductValues&#8221; method )</p>
<p>protected void AssignAllProductValues(ProductConcurrency.ProductConcurrencyDataRow product,DateTime AddedDate,string AddedBy)<br />
{<br />
product.AddedDate = AddedDate;<br />
product.AddedBy = AddedBy<br />
}</p>
<p>public bool Update(DateTime AddedDate,DateTime original_AddedDate)<br />
{<br />
   &#8230;..<br />
   &#8230;..</p>
<p>   AssignAllProductValues(product,original_AddedDate);</p>
<p>   product.AcceptChanges();</p>
<p>   AssignAllProductValues(product,AddedDate);</p>
<p>   int rowAffects = Adapter.Update(product);</p>
<p>   return rowAffects == 1;<br />
}</p>
<p>from Simple Code above.if comment &#8220;//product.AddedDate = AddedDate&#8221;. return value = true; it not error</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bing Fail by detoxdiet</title>
		<link>http://www.primedigit.com/2009/06/15/bing-fail/comment-page-1/#comment-1372</link>
		<dc:creator>detoxdiet</dc:creator>
		<pubDate>Thu, 06 Aug 2009 08:48:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.primedigit.com/?p=82#comment-1372</guid>
		<description>my initial test result shows that Bing is as good as Google when displaying relevant search results. Google might be having a tough competitor with Microsofts own search engine.</description>
		<content:encoded><![CDATA[<p>my initial test result shows that Bing is as good as Google when displaying relevant search results. Google might be having a tough competitor with Microsofts own search engine.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
