<?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 for Jamison White&#039;s Blog</title>
	<atom:link href="http://jamisonwhite.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamisonwhite.com</link>
	<description>Just another WordPress.com site</description>
	<lastBuildDate>Mon, 18 Oct 2010 12:15:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Linq to SQL DataContext.Attach Heartaches by vishal kadiwala</title>
		<link>http://jamisonwhite.com/2008/08/12/linq-to-sql-datacontextattach-heartaches/#comment-30</link>
		<dc:creator><![CDATA[vishal kadiwala]]></dc:creator>
		<pubDate>Mon, 18 Oct 2010 12:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=184#comment-30</guid>
		<description><![CDATA[hi,

very much thanks for this solution.
It help&#039;s a lot.
Thanks,]]></description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>very much thanks for this solution.<br />
It help&#8217;s a lot.<br />
Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Shoestring Startup Website by jamie</title>
		<link>http://jamisonwhite.com/2009/06/17/shoestring-startup-website/#comment-12</link>
		<dc:creator><![CDATA[jamie]]></dc:creator>
		<pubDate>Fri, 19 Jun 2009 11:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=290#comment-12</guid>
		<description><![CDATA[@beau, any interest in helping a nonprofit customize a wordpress theme?]]></description>
		<content:encoded><![CDATA[<p>@beau, any interest in helping a nonprofit customize a wordpress theme?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FileStream v/s StreamReader and StreamWriter by Ricky</title>
		<link>http://jamisonwhite.com/2009/06/18/filestream-vs-streamreader-and-streamwriter/#comment-13</link>
		<dc:creator><![CDATA[Ricky]]></dc:creator>
		<pubDate>Thu, 18 Jun 2009 20:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=297#comment-13</guid>
		<description><![CDATA[Here&#039;s a little something for ya .. it&#039;ll serialize an object to xml, encrypt it, and save it as a file.

&lt;code&gt;
        public void SaveToFile(string Path)
        {
            byte[] data;

            using (MemoryStream ms = new MemoryStream())
            {
                XmlSerializer serializer = new XmlSerializer(typeof(List));
                serializer.Serialize(ms, this.Soldiers);

                data = ReadByteArrayFromInputStream(ms);
                ms.Close();
            }

            using (FileStream fs = File.Create(Path))
            {
                Aes aes = Aes.Create();
                using (CryptoStream cs = new CryptoStream(
                    fs,
                    aes.CreateEncryptor(GetKey(), GetIV()),
                    CryptoStreamMode.Write))
                {
                    cs.Write(data, 0, data.Length);

                    cs.Close();
                }
                fs.Close();
            }
        }
&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>Here&#8217;s a little something for ya .. it&#8217;ll serialize an object to xml, encrypt it, and save it as a file.</p>
<p><code><br />
        public void SaveToFile(string Path)<br />
        {<br />
            byte[] data;</p>
<p>            using (MemoryStream ms = new MemoryStream())<br />
            {<br />
                XmlSerializer serializer = new XmlSerializer(typeof(List));<br />
                serializer.Serialize(ms, this.Soldiers);</p>
<p>                data = ReadByteArrayFromInputStream(ms);<br />
                ms.Close();<br />
            }</p>
<p>            using (FileStream fs = File.Create(Path))<br />
            {<br />
                Aes aes = Aes.Create();<br />
                using (CryptoStream cs = new CryptoStream(<br />
                    fs,<br />
                    aes.CreateEncryptor(GetKey(), GetIV()),<br />
                    CryptoStreamMode.Write))<br />
                {<br />
                    cs.Write(data, 0, data.Length);</p>
<p>                    cs.Close();<br />
                }<br />
                fs.Close();<br />
            }<br />
        }<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Shoestring Startup Website by Beau Vignes</title>
		<link>http://jamisonwhite.com/2009/06/17/shoestring-startup-website/#comment-11</link>
		<dc:creator><![CDATA[Beau Vignes]]></dc:creator>
		<pubDate>Wed, 17 Jun 2009 17:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=290#comment-11</guid>
		<description><![CDATA[I have used hostgator and wordpress on several projects. Together, they are a wonderful resource for any startup. There are a ton of features in Wordpress that can also make it very search engine friendly.]]></description>
		<content:encoded><![CDATA[<p>I have used hostgator and wordpress on several projects. Together, they are a wonderful resource for any startup. There are a ton of features in WordPress that can also make it very search engine friendly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Brewery Trail by aukje</title>
		<link>http://jamisonwhite.com/2008/09/18/the-brewery-trail/#comment-10</link>
		<dc:creator><![CDATA[aukje]]></dc:creator>
		<pubDate>Mon, 22 Sep 2008 12:26:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=228#comment-10</guid>
		<description><![CDATA[Yeah Bavaria - we would love for them to be their own state. No more CSU!
Hope all is well and your final week is a blast!]]></description>
		<content:encoded><![CDATA[<p>Yeah Bavaria &#8211; we would love for them to be their own state. No more CSU!<br />
Hope all is well and your final week is a blast!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dreaming in German by aukje</title>
		<link>http://jamisonwhite.com/2008/09/10/dreaming-in-german/#comment-9</link>
		<dc:creator><![CDATA[aukje]]></dc:creator>
		<pubDate>Thu, 11 Sep 2008 12:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=207#comment-9</guid>
		<description><![CDATA[keep those reports coming! They are so much fun to read. I love the pictures of you all!]]></description>
		<content:encoded><![CDATA[<p>keep those reports coming! They are so much fun to read. I love the pictures of you all!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Secret Sabbatical by Lloyd</title>
		<link>http://jamisonwhite.com/2008/08/26/secret-sabbatical/#comment-7</link>
		<dc:creator><![CDATA[Lloyd]]></dc:creator>
		<pubDate>Tue, 09 Sep 2008 00:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=189#comment-7</guid>
		<description><![CDATA[You got my vote!]]></description>
		<content:encoded><![CDATA[<p>You got my vote!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Class Has Begun! by aukje</title>
		<link>http://jamisonwhite.com/2008/09/03/class-has-begun/#comment-8</link>
		<dc:creator><![CDATA[aukje]]></dc:creator>
		<pubDate>Sat, 06 Sep 2008 00:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=198#comment-8</guid>
		<description><![CDATA[Guys, your time in Germany sounds amazing. Wish I could come by for a beer and a Broetchen mit Nutella!]]></description>
		<content:encoded><![CDATA[<p>Guys, your time in Germany sounds amazing. Wish I could come by for a beer and a Broetchen mit Nutella!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linq to SQL DataContext.Attach Heartaches by Sidar Ok</title>
		<link>http://jamisonwhite.com/2008/08/12/linq-to-sql-datacontextattach-heartaches/#comment-6</link>
		<dc:creator><![CDATA[Sidar Ok]]></dc:creator>
		<pubDate>Sat, 23 Aug 2008 01:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=184#comment-6</guid>
		<description><![CDATA[Also, on datacontext disposal thing - in this particular example there happens to be one time the two datacontexts are alive, because a disposable object is disposed at the end of a using scope. So at the inner method who is responsible for deletion the mother data context is still alive, and tracking the object to be deleted.

Hence, db context doesnt want to track an object which is already dirty, and already another context is responsible of it. So disabling the object tracking in the readonly context solves the problem.

In some cases the solution might not be that easy, then you may want to put them in seperate data contexts.]]></description>
		<content:encoded><![CDATA[<p>Also, on datacontext disposal thing &#8211; in this particular example there happens to be one time the two datacontexts are alive, because a disposable object is disposed at the end of a using scope. So at the inner method who is responsible for deletion the mother data context is still alive, and tracking the object to be deleted.</p>
<p>Hence, db context doesnt want to track an object which is already dirty, and already another context is responsible of it. So disabling the object tracking in the readonly context solves the problem.</p>
<p>In some cases the solution might not be that easy, then you may want to put them in seperate data contexts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linq to SQL DataContext.Attach Heartaches by Sidar Ok</title>
		<link>http://jamisonwhite.com/2008/08/12/linq-to-sql-datacontextattach-heartaches/#comment-5</link>
		<dc:creator><![CDATA[Sidar Ok]]></dc:creator>
		<pubDate>Sat, 23 Aug 2008 01:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamisonwhite.com/blog/?p=184#comment-5</guid>
		<description><![CDATA[I just discovered this post and felt content :) Let&#039;s go set up a country now :)

I am really happy to have helped.

I also have implemented a disconnected, multitiered solution with WCF and linq to SQL and prettty much covered most of the cases that one would encounter during this in 2 blog posts:

http://www.sidarok.com/web/blog/content/2008/05/26/linq-to-sql-with-wcf-in-a-multi-tiered-action-part-1.html

http://www.sidarok.com/web/blog/content/2008/06/02/linq-to-sql-with-wcf-in-a-multi-tiered-action-part-2.html

It also includes the source codes. Hope you&#039;ll enjoy!]]></description>
		<content:encoded><![CDATA[<p>I just discovered this post and felt content <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Let&#8217;s go set up a country now <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I am really happy to have helped.</p>
<p>I also have implemented a disconnected, multitiered solution with WCF and linq to SQL and prettty much covered most of the cases that one would encounter during this in 2 blog posts:</p>
<p><a href="http://www.sidarok.com/web/blog/content/2008/05/26/linq-to-sql-with-wcf-in-a-multi-tiered-action-part-1.html" rel="nofollow">http://www.sidarok.com/web/blog/content/2008/05/26/linq-to-sql-with-wcf-in-a-multi-tiered-action-part-1.html</a></p>
<p><a href="http://www.sidarok.com/web/blog/content/2008/06/02/linq-to-sql-with-wcf-in-a-multi-tiered-action-part-2.html" rel="nofollow">http://www.sidarok.com/web/blog/content/2008/06/02/linq-to-sql-with-wcf-in-a-multi-tiered-action-part-2.html</a></p>
<p>It also includes the source codes. Hope you&#8217;ll enjoy!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

