<?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.einbu.no/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Arjans blog</title>
	
	<link>http://blog.einbu.no</link>
	<description>Arjan: Technical Learnings of Programmings for Make Benefit Glorious Framework of .NET</description>
	<lastBuildDate>Fri, 19 Feb 2010 14:16:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<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.einbu.no/aeinbu/comments" /><feedburner:info uri="aeinbu/comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Custom ASP.NET DataSource parameters by bechir</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/xhCVKCj7BzM/</link>
		<dc:creator>bechir</dc:creator>
		<pubDate>Fri, 19 Feb 2010 14:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=747#comment-910</guid>
		<description>Ok,
I saw the article and I tried to register the custom parameter according to the two ways or alternatives that you propose, but the tag prefix doesn't appear in the intellisense and the custom control is not recongised by ASP, so what should one do in this case</description>
		<content:encoded><![CDATA[<p>Ok,<br />
I saw the article and I tried to register the custom parameter according to the two ways or alternatives that you propose, but the tag prefix doesn&#8217;t appear in the intellisense and the custom control is not recongised by ASP, so what should one do in this case</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/xhCVKCj7BzM" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2010/02/custom-asp-net-datasource-parameters/comment-page-1/#comment-910</feedburner:origLink></item>
	<item>
		<title>Comment on Diving deeper into Windows Azure table storage by Deylo Woo</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/WOR_ESAzp3Y/</link>
		<dc:creator>Deylo Woo</dc:creator>
		<pubDate>Thu, 29 Oct 2009 22:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=443#comment-751</guid>
		<description>I wonder myself.  I hope they come up with a rich API.</description>
		<content:encoded><![CDATA[<p>I wonder myself.  I hope they come up with a rich API.</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/WOR_ESAzp3Y" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/09/diving-deeper-into-windows-azure-table-storage/comment-page-1/#comment-751</feedburner:origLink></item>
	<item>
		<title>Comment on What is the fascination with Twitter? by farbige kontaktlinsen</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/SJYVEWMQYEk/</link>
		<dc:creator>farbige kontaktlinsen</dc:creator>
		<pubDate>Tue, 20 Oct 2009 17:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=502#comment-736</guid>
		<description>Twitter is really a great invention, but I think blogging is even more important to create some traffic. But I can use some of the tips.</description>
		<content:encoded><![CDATA[<p>Twitter is really a great invention, but I think blogging is even more important to create some traffic. But I can use some of the tips.</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/SJYVEWMQYEk" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/08/what-is-the-fascination-with-twitter/comment-page-1/#comment-736</feedburner:origLink></item>
	<item>
		<title>Comment on Authenticating against Azure Table Storage by Diving deeper into Windows Azure table storage | Arjans blog</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/NPP-ilI8Nus/</link>
		<dc:creator>Diving deeper into Windows Azure table storage | Arjans blog</dc:creator>
		<pubDate>Mon, 14 Sep 2009 06:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=477#comment-560</guid>
		<description />
		<content:encoded><![CDATA[<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/NPP-ilI8Nus" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/08/authenticating-against-azure-table-storage/comment-page-1/#comment-560</feedburner:origLink></item>
	<item>
		<title>Comment on Authenticating against Azure Table Storage by Ari Block</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/U3RYs3QXOYY/</link>
		<dc:creator>Ari Block</dc:creator>
		<pubDate>Sun, 13 Sep 2009 01:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=477#comment-556</guid>
		<description>very cool blog</description>
		<content:encoded><![CDATA[<p>very cool blog</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/U3RYs3QXOYY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/08/authenticating-against-azure-table-storage/comment-page-1/#comment-556</feedburner:origLink></item>
	<item>
		<title>Comment on What is the fascination with Twitter? by john einbu</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/2NRR7IW3_0A/</link>
		<dc:creator>john einbu</dc:creator>
		<pubDate>Sat, 05 Sep 2009 06:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=502#comment-512</guid>
		<description>A very readable and informative communication on this relatively new phenomenon on internet</description>
		<content:encoded><![CDATA[<p>A very readable and informative communication on this relatively new phenomenon on internet</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/2NRR7IW3_0A" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/08/what-is-the-fascination-with-twitter/comment-page-1/#comment-512</feedburner:origLink></item>
	<item>
		<title>Comment on Parsing textfiles with LINQ (or LINQ-to-TextReader) by The trouble with delimited « Arjans blog</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/fh7vv4wydCI/</link>
		<dc:creator>The trouble with delimited « Arjans blog</dc:creator>
		<pubDate>Fri, 31 Jul 2009 09:34:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=118#comment-308</guid>
		<description>[...] this previous article articles about parsing files, I took a very simplistic approach to reading a delimited file. I used string.Split, which [...]</description>
		<content:encoded><![CDATA[<p>[...] this previous article articles about parsing files, I took a very simplistic approach to reading a delimited file. I used string.Split, which [...]</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/fh7vv4wydCI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/parsing-textfiles-with-linq/comment-page-1/#comment-308</feedburner:origLink></item>
	<item>
		<title>Comment on My first batch of photos on Flickr by aeinbu</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/FxSnBSLsqZQ/</link>
		<dc:creator>aeinbu</dc:creator>
		<pubDate>Sat, 25 Jul 2009 12:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=406#comment-176</guid>
		<description>If you want to comment on the pictures, please do so over at Flickr.com/aeinbu</description>
		<content:encoded><![CDATA[<p>If you want to comment on the pictures, please do so over at Flickr.com/aeinbu</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/FxSnBSLsqZQ" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/07/my-first-batch-of-photos-on-flickr/comment-page-1/#comment-176</feedburner:origLink></item>
	<item>
		<title>Comment on Mythbusters: Unit-testing by Per-Ove</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/5kmw9AEaP0Y/</link>
		<dc:creator>Per-Ove</dc:creator>
		<pubDate>Wed, 08 Jul 2009 02:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=276#comment-65</guid>
		<description>I like the way you think.

...and you obviously understand how most people think or feel challenged on the subject.

I also like the part where you encourage some tests rather than none. After a while you  and your team might understand their true value, what works and what does not...</description>
		<content:encoded><![CDATA[<p>I like the way you think.</p>
<p>&#8230;and you obviously understand how most people think or feel challenged on the subject.</p>
<p>I also like the part where you encourage some tests rather than none. After a while you  and your team might understand their true value, what works and what does not&#8230;</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/5kmw9AEaP0Y" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/07/myth-busting-unit-testing/comment-page-1/#comment-65</feedburner:origLink></item>
	<item>
		<title>Comment on The trouble with delimited by Parsing textfiles with LINQ (or LINQ-to-TextReader) | Arjans blog</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/_fm8uUvdyPk/</link>
		<dc:creator>Parsing textfiles with LINQ (or LINQ-to-TextReader) | Arjans blog</dc:creator>
		<pubDate>Sat, 27 Jun 2009 09:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=241#comment-52</guid>
		<description>[...] You’ll find a better and more robust solution in the “The Trouble With Delimited” [...]</description>
		<content:encoded><![CDATA[<p>[...] You&#8217;ll find a better and more robust solution in the &#8220;The Trouble With Delimited&#8221; [...]</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/_fm8uUvdyPk" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/06/the-trouble-with-delimited/comment-page-1/#comment-52</feedburner:origLink></item>
	<item>
		<title>Comment on Parsing textfiles with LINQ (or LINQ-to-TextReader) by jim b</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/MTZ6LYJNhjA/</link>
		<dc:creator>jim b</dc:creator>
		<pubDate>Thu, 14 May 2009 14:29:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=118#comment-34</guid>
		<description>DUH.. it goes here:

using (var reader = new StreamReader(@"c:\rejects.txt"))
			{
				var query = from line in reader.AsEnumerable() //skip header row
							//let columns = line.Split(',')
							let columns =  Regex.Split(line, expr) 
							select new
							{
								Firstname = columns[0],
								Lastname = columns[1],
								Age = columns[2]
							};</description>
		<content:encoded><![CDATA[<p>DUH.. it goes here:</p>
<p>using (var reader = new StreamReader(@&#8221;c:\rejects.txt&#8221;))<br />
			{<br />
				var query = from line in reader.AsEnumerable() //skip header row<br />
							//let columns = line.Split(&#8216;,&#8217;)<br />
							let columns =  Regex.Split(line, expr)<br />
							select new<br />
							{<br />
								Firstname = columns[0],<br />
								Lastname = columns[1],<br />
								Age = columns[2]<br />
							};</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/MTZ6LYJNhjA" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/parsing-textfiles-with-linq/comment-page-1/#comment-34</feedburner:origLink></item>
	<item>
		<title>Comment on Parsing textfiles with LINQ (or LINQ-to-TextReader) by jim b</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/-Pxr-v1oviI/</link>
		<dc:creator>jim b</dc:creator>
		<pubDate>Thu, 14 May 2009 14:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=118#comment-33</guid>
		<description>hi, thanks for that... 
sorry for being rude, was a bit frustrated.
Expanding on this idea..
say my splits is a bit more complex:

"Salutation","First, Name","Middle,, Name","Last,,, Name"

the file is delimited by commas and fields have quotes if there is data. if there happens to be a comma in the quotes we DON"T want to split. 

so i was thinking regex like this:


	public static IEnumerable AsEnumerable(this TextReader reader)
		{
			string expr = "(?&lt;=\"),(?=\")"; 
				string line;
				while ((line = reader.ReadLine()) != null)
				{
					yield return Regex.Split(line, expr);
				}
			}

dosn't work tho.. can't implicitly convert string[] to string.</description>
		<content:encoded><![CDATA[<p>hi, thanks for that&#8230;<br />
sorry for being rude, was a bit frustrated.<br />
Expanding on this idea..<br />
say my splits is a bit more complex:</p>
<p>&#8220;Salutation&#8221;,&#8221;First, Name&#8221;,&#8221;Middle,, Name&#8221;,&#8221;Last,,, Name&#8221;</p>
<p>the file is delimited by commas and fields have quotes if there is data. if there happens to be a comma in the quotes we DON&#8221;T want to split. </p>
<p>so i was thinking regex like this:</p>
<p>	public static IEnumerable AsEnumerable(this TextReader reader)<br />
		{<br />
			string expr = &#8220;(?&lt;=\&#8221;),(?=\&#8221;)&#8221;;<br />
				string line;<br />
				while ((line = reader.ReadLine()) != null)<br />
				{<br />
					yield return Regex.Split(line, expr);<br />
				}<br />
			}</p>
<p>dosn&#8217;t work tho.. can&#8217;t implicitly convert string[] to string.</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/-Pxr-v1oviI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/parsing-textfiles-with-linq/comment-page-1/#comment-33</feedburner:origLink></item>
	<item>
		<title>Comment on Parsing textfiles with LINQ (or LINQ-to-TextReader) by Arjan Einbu</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/16CuwZMadeU/</link>
		<dc:creator>Arjan Einbu</dc:creator>
		<pubDate>Mon, 11 May 2009 20:46:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=118#comment-29</guid>
		<description>Thanks for the response, and sorry for my typo. While working on my my post, I changed the name of the GetLines method to AsEnumerable. The GetLines you found must have slipped through...
Anyway, &lt;strong&gt;its fixed now&lt;/strong&gt;, and your second questions should be easy to answer now too: line is a string, and strings have a Split method on them...</description>
		<content:encoded><![CDATA[<p>Thanks for the response, and sorry for my typo. While working on my my post, I changed the name of the GetLines method to AsEnumerable. The GetLines you found must have slipped through&#8230;<br />
Anyway, <strong>its fixed now</strong>, and your second questions should be easy to answer now too: line is a string, and strings have a Split method on them&#8230;</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/16CuwZMadeU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/parsing-textfiles-with-linq/comment-page-1/#comment-29</feedburner:origLink></item>
	<item>
		<title>Comment on Parsing textfiles with LINQ (or LINQ-to-TextReader) by jim b</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/t7UCpFmb9n4/</link>
		<dc:creator>jim b</dc:creator>
		<pubDate>Mon, 11 May 2009 20:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=118#comment-28</guid>
		<description>this looks great. too bad it dosn't work. this is one of those annoying posts that leaves out just enough info so that if you couldn't have done it in the first place anyway you won't be able to use it. 
where does the reader.GetLines() method come from.
how does the array "line" get the Split method. let's just keep it a secret.</description>
		<content:encoded><![CDATA[<p>this looks great. too bad it dosn&#8217;t work. this is one of those annoying posts that leaves out just enough info so that if you couldn&#8217;t have done it in the first place anyway you won&#8217;t be able to use it.<br />
where does the reader.GetLines() method come from.<br />
how does the array &#8220;line&#8221; get the Split method. let&#8217;s just keep it a secret.</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/t7UCpFmb9n4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/parsing-textfiles-with-linq/comment-page-1/#comment-28</feedburner:origLink></item>
	<item>
		<title>Comment on Parsing textfiles with LINQ (or LINQ-to-TextReader) by More parsing textfiles with LINQ « Arjans blog</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/Tn2SExWC4aY/</link>
		<dc:creator>More parsing textfiles with LINQ « Arjans blog</dc:creator>
		<pubDate>Thu, 02 Apr 2009 17:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=118#comment-9</guid>
		<description>[...] In a previous article, I described how to use LINQ when parsing a textfile. [...]</description>
		<content:encoded><![CDATA[<p>[...] In a previous article, I described how to use LINQ when parsing a textfile. [...]</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/Tn2SExWC4aY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/parsing-textfiles-with-linq/comment-page-1/#comment-9</feedburner:origLink></item>
	<item>
		<title>Comment on Your first handfull of VS2008 keyboard shortcuts by Your second handfull of VS2008 Shortcuts « Arjans blog</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/xhLO7Uscneo/</link>
		<dc:creator>Your second handfull of VS2008 Shortcuts « Arjans blog</dc:creator>
		<pubDate>Sun, 29 Mar 2009 08:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=16#comment-7</guid>
		<description>[...] my previous article about keyboards shortcuts I promised a [...]</description>
		<content:encoded><![CDATA[<p>[...] my previous article about keyboards shortcuts I promised a [...]</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/xhLO7Uscneo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/your-first-handfull-of-vs2008-keyboard-shortcuts/comment-page-1/#comment-7</feedburner:origLink></item>
	<item>
		<title>Comment on Hello World! by Martin Bekkelund</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/jksR77g95vY/</link>
		<dc:creator>Martin Bekkelund</dc:creator>
		<pubDate>Tue, 24 Mar 2009 12:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=1#comment-6</guid>
		<description>Read you loud and clear. Welcome! :-)</description>
		<content:encoded><![CDATA[<p>Read you loud and clear. Welcome! :-)</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/jksR77g95vY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/hello-world/comment-page-1/#comment-6</feedburner:origLink></item>
	<item>
		<title>Comment on Hello World! by Peter</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/vLmEe6aRGzw/</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Mon, 23 Mar 2009 08:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=1#comment-5</guid>
		<description>Welcome to the blogosphere, man!</description>
		<content:encoded><![CDATA[<p>Welcome to the blogosphere, man!</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/vLmEe6aRGzw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/hello-world/comment-page-1/#comment-5</feedburner:origLink></item>
	<item>
		<title>Comment on Hello World! by Tom Erik</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/6J4U0pmNkzw/</link>
		<dc:creator>Tom Erik</dc:creator>
		<pubDate>Sun, 22 Mar 2009 19:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=1#comment-4</guid>
		<description>Hello Back. The world sees you :-)</description>
		<content:encoded><![CDATA[<p>Hello Back. The world sees you :-)</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/6J4U0pmNkzw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/hello-world/comment-page-1/#comment-4</feedburner:origLink></item>
	<item>
		<title>Comment on Hello World! by Jarle</title>
		<link>http://feeds.einbu.no/~r/aeinbu/comments/~3/8RxXhQsCSk8/</link>
		<dc:creator>Jarle</dc:creator>
		<pubDate>Sat, 21 Mar 2009 14:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.einbu.no/?p=1#comment-3</guid>
		<description>Congrats with new blog dude!</description>
		<content:encoded><![CDATA[<p>Congrats with new blog dude!</p>
<img src="http://feeds.feedburner.com/~r/aeinbu/comments/~4/8RxXhQsCSk8" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.einbu.no/2009/03/hello-world/comment-page-1/#comment-3</feedburner:origLink></item>
</channel>
</rss>
