<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Working with QueryStrings, a critique and different solution.</title>
	<atom:link href="http://dotnetchris.wordpress.com/2008/11/11/working-with-querystrings-a-critique-and-different-solution/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetchris.wordpress.com/2008/11/11/working-with-querystrings-a-critique-and-different-solution/</link>
	<description>C# ASP.Net Development Weblog</description>
	<lastBuildDate>Thu, 12 Nov 2009 15:41:20 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Khalid Abuhakmeh</title>
		<link>http://dotnetchris.wordpress.com/2008/11/11/working-with-querystrings-a-critique-and-different-solution/#comment-145</link>
		<dc:creator>Khalid Abuhakmeh</dc:creator>
		<pubDate>Thu, 13 Nov 2008 03:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetchris.wordpress.com/?p=152#comment-145</guid>
		<description>Ok So your comment thing stripped my generic brackets. This seemed like a perfect solution for generics, so I took the time to write a post about it. Check it Out.

http://monstersgotmy.net/post/QueryString-Candy-Could-Rot-Your-Teeth.aspx</description>
		<content:encoded><![CDATA[<p>Ok So your comment thing stripped my generic brackets. This seemed like a perfect solution for generics, so I took the time to write a post about it. Check it Out.</p>
<p><a href="http://monstersgotmy.net/post/QueryString-Candy-Could-Rot-Your-Teeth.aspx" rel="nofollow">http://monstersgotmy.net/post/QueryString-Candy-Could-Rot-Your-Teeth.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dotnetchris</title>
		<link>http://dotnetchris.wordpress.com/2008/11/11/working-with-querystrings-a-critique-and-different-solution/#comment-144</link>
		<dc:creator>dotnetchris</dc:creator>
		<pubDate>Wed, 12 Nov 2008 14:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetchris.wordpress.com/?p=152#comment-144</guid>
		<description>Khalid,

I wrote this to be a basic interpreter for the query string that it&#039;d be easy for anyone to grab the code. Yes I could have used extension methods but that would&#039;ve narrowed down the availability of the code but I think I&#039;ll add an update to include it also today. The only issue is it will still require the same amount of methods since .Convert() by itself won&#039;t work unless I do some sort of type analysis on the data which would be problematic if people put a string instead of a number in the address bar it would still end up raising an exception when it tries to assign a string to a int variable.

If I was writing an application and I had the requirement of being able to deal with changing the backing stores of a page what I&#039;d most likely do is write up a bunch of wrappers for ViewState/Session/Cache as Unity LifeTimeManagers then I can change my backing stores with just a few line changes.

This sounds like a good post about Unity especially with trying to figure out the best way to wrap the ViewState to be a LifeTimeManager. I have a few ideas I&#039;ll have to play around with.</description>
		<content:encoded><![CDATA[<p>Khalid,</p>
<p>I wrote this to be a basic interpreter for the query string that it&#8217;d be easy for anyone to grab the code. Yes I could have used extension methods but that would&#8217;ve narrowed down the availability of the code but I think I&#8217;ll add an update to include it also today. The only issue is it will still require the same amount of methods since .Convert() by itself won&#8217;t work unless I do some sort of type analysis on the data which would be problematic if people put a string instead of a number in the address bar it would still end up raising an exception when it tries to assign a string to a int variable.</p>
<p>If I was writing an application and I had the requirement of being able to deal with changing the backing stores of a page what I&#8217;d most likely do is write up a bunch of wrappers for ViewState/Session/Cache as Unity LifeTimeManagers then I can change my backing stores with just a few line changes.</p>
<p>This sounds like a good post about Unity especially with trying to figure out the best way to wrap the ViewState to be a LifeTimeManager. I have a few ideas I&#8217;ll have to play around with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Khalid Abuhakmeh</title>
		<link>http://dotnetchris.wordpress.com/2008/11/11/working-with-querystrings-a-critique-and-different-solution/#comment-143</link>
		<dc:creator>Khalid Abuhakmeh</dc:creator>
		<pubDate>Wed, 12 Nov 2008 13:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetchris.wordpress.com/?p=152#comment-143</guid>
		<description>Cool post, but I would do a couple of things differently?

1.) I don&#039;t like using ViewState, it is hard to scale an application when it is dependent on ViewState. Look into storing values in Session, that way if you decide to go to memcached, NCache, or any other distributed cache you can without any impact on your code.

2.) I think you could reduce the conversion to one generic method called Convert

3.) You are using .Net 3.5 right?! Why not write an extension method that hangs right off of the Request.QueryString object. Just extend and overload the index operator, or add the convert method to the querystring.

Request.QueryString[key];
Request.QueryString[&quot;key&quot;].Convert();

that would be pretty sweet and convenient.</description>
		<content:encoded><![CDATA[<p>Cool post, but I would do a couple of things differently?</p>
<p>1.) I don&#8217;t like using ViewState, it is hard to scale an application when it is dependent on ViewState. Look into storing values in Session, that way if you decide to go to memcached, NCache, or any other distributed cache you can without any impact on your code.</p>
<p>2.) I think you could reduce the conversion to one generic method called Convert</p>
<p>3.) You are using .Net 3.5 right?! Why not write an extension method that hangs right off of the Request.QueryString object. Just extend and overload the index operator, or add the convert method to the querystring.</p>
<p>Request.QueryString[key];<br />
Request.QueryString["key"].Convert();</p>
<p>that would be pretty sweet and convenient.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
