<?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>All the Good Titles Were Taken - Chris Scott &#187; C# and ASP.NET</title>
	<atom:link href="http://iamzed.com/category/tech/csharp-and-aspnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://iamzed.com</link>
	<description>Chris Scott's Blog</description>
	<lastBuildDate>Thu, 07 Jan 2010 20:51:16 +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>&quot;Cryptography.CryptographicException: Bad Data&quot; Exception Moving from .Net 1.1 to 3.5</title>
		<link>http://iamzed.com/2008/04/18/systemsecuritycryptographycryptographicexception-bad-data-exception-moving-from-net-11-to-35/</link>
		<comments>http://iamzed.com/2008/04/18/systemsecuritycryptographycryptographicexception-bad-data-exception-moving-from-net-11-to-35/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 20:10:19 +0000</pubDate>
		<dc:creator>Chris Scott</dc:creator>
				<category><![CDATA[C# and ASP.NET]]></category>

		<guid isPermaLink="false">http://www.iamzed.com/?p=1235</guid>
		<description><![CDATA[<p>We just finished moving a few apps from .Net Framework 1.1 to 3.5. One of the problems we ran into was this exception when using some symmetric encryption code. When we decrypted the value from the DB, this was being&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>We just finished moving a few apps from .Net Framework 1.1 to 3.5. One of the problems we ran into was this exception when using some symmetric encryption code. When we decrypted the value from the DB, this was being thrown.</p>
<p>From what I can tell, it looks like in 1.1 passing null data to the decryption worked (or at least silently failed) and likely returned null back (well, a blank string in our case due to type conversion). However, in 3.5 this exception gets thrown.</p>
<p>An easy fix but one of those little things that took a while to track down so hope this helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamzed.com/2008/04/18/systemsecuritycryptographycryptographicexception-bad-data-exception-moving-from-net-11-to-35/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>parsing command line parameters in c#</title>
		<link>http://iamzed.com/2004/08/24/parsing-command-line-parameters-in-c/</link>
		<comments>http://iamzed.com/2004/08/24/parsing-command-line-parameters-in-c/#comments</comments>
		<pubDate>Tue, 24 Aug 2004 23:59:36 +0000</pubDate>
		<dc:creator>Chris Scott</dc:creator>
				<category><![CDATA[C# and ASP.NET]]></category>

		<guid isPermaLink="false">http://www.iamzed.com/?p=599</guid>
		<description><![CDATA[<p>You would think of all the nice features they have in .Net that parsing comand line parameters to a console app would be as easy as calling a property. You would be wrong. C&#39;mon, how hard would it have been&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>You would think of all the nice features they have in .Net that parsing comand line parameters to a console app would be as easy as calling a property. You would be wrong. C&#39;mon, how hard would it have been to have Environment.GetCommandLineArgsByName(string argname) ?</p>
<p>I don&#39;t think in zero-based arrays so I didn&#39;t want to be tied to using Environment.GetCommandLineArgs. I looked for other ways to do it and&nbsp;ran across a <a href="http://weblogs.asp.net/nunitaddin/archive/2003/04/11/5346.aspx">post on the NUnitAddin blog</a> about using an XmlSerializer to parse them.&nbsp; Cool. Very cool. Very little code and it makes sense (even before you understand it completely).</p>
]]></content:encoded>
			<wfw:commentRss>http://iamzed.com/2004/08/24/parsing-command-line-parameters-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSmtp.net rocks!</title>
		<link>http://iamzed.com/2004/06/28/opensmtpnet-rocks/</link>
		<comments>http://iamzed.com/2004/06/28/opensmtpnet-rocks/#comments</comments>
		<pubDate>Mon, 28 Jun 2004 19:27:01 +0000</pubDate>
		<dc:creator>Chris Scott</dc:creator>
				<category><![CDATA[C# and ASP.NET]]></category>

		<guid isPermaLink="false">http://www.iamzed.com/?p=495</guid>
		<description><![CDATA[<p>Big thanks to the folks that developed <a href="http://sourceforge.net/projects/opensmtp-net/">OpenSmtp.net</a> and made it available under the LGPL. I just ripped out Persits AspEmail from an ASP.NET project and replaced it with OpenSmtp.net. I never liked using AspEmail in .net since it wasn&#39;t native&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Big thanks to the folks that developed <a href="http://sourceforge.net/projects/opensmtp-net/">OpenSmtp.net</a> and made it available under the LGPL. I just ripped out Persits AspEmail from an ASP.NET project and replaced it with OpenSmtp.net. I never liked using AspEmail in .net since it wasn&#39;t native .net and very fickle.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamzed.com/2004/06/28/opensmtpnet-rocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>will I *ever* remember how to use dataformat strings in c#</title>
		<link>http://iamzed.com/2004/03/12/will-i-ever-remember-how-to-use-dataformat-strings-in-c/</link>
		<comments>http://iamzed.com/2004/03/12/will-i-ever-remember-how-to-use-dataformat-strings-in-c/#comments</comments>
		<pubDate>Fri, 12 Mar 2004 22:42:34 +0000</pubDate>
		<dc:creator>Chris Scott</dc:creator>
				<category><![CDATA[C# and ASP.NET]]></category>

		<guid isPermaLink="false">http://www.iamzed.com/?p=411</guid>
		<description><![CDATA[<p>Probably not. For future reference: "0:d" for a short date. Maybe I need to print out a good reference when I find one.</p>
]]></description>
			<content:encoded><![CDATA[<p>Probably not. For future reference: "0:d" for a short date. Maybe I need to print out a good reference when I find one.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamzed.com/2004/03/12/will-i-ever-remember-how-to-use-dataformat-strings-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php: taking a half step back?</title>
		<link>http://iamzed.com/2004/02/28/php-taking-a-half-step-back/</link>
		<comments>http://iamzed.com/2004/02/28/php-taking-a-half-step-back/#comments</comments>
		<pubDate>Sat, 28 Feb 2004 05:51:43 +0000</pubDate>
		<dc:creator>Chris Scott</dc:creator>
				<category><![CDATA[C# and ASP.NET]]></category>

		<guid isPermaLink="false">http://www.iamzed.com/?p=407</guid>
		<description><![CDATA[<p>I&#39;ve been doing some PHP development for a new site for my company. I can&#39;t tell you about it since it is classified "super f&#39;ing secret"--actually it is just a cheesy parking page and I don&#39;t want any search engines&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I&#39;ve been doing some PHP development for a new site for my company. I can&#39;t tell you about it since it is classified "super f&#39;ing secret"--actually it is just a cheesy parking page and I don&#39;t want any search engines spidering it until there is some real content. But, back to something resembling the title of this article. When ASP.NET first came out, I jumped on the bandwagon faster than you can say OOP. For the most part, I have no regrets. Classic ASP seems so two years ago and doing maintenance on old code usually brings a combination of laughter and crying which ends with a <a href="http://chris.blogorlando.com/blog/_archives/2004/2/27/23590.html">beer</a>.</p>
<p>PHP is bringing back some of these feelings since it is a scripting language. In some ways, this is great: no compiling, no xcopy distribution (great term, I guess FTP wasn&#39;t M$-centric enough), and no IIS. However, it still *feels* like I&#39;m taking a step back. OK, half a step since PHP is really cool in that it has some great features: templates, OO, functions out the wazoo, and the all-important recursive acronym name.</p>
<p>Regardless, the more I use it, the more I like it. Now, if only I could call my .Net compiled DLLs from PHP&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://iamzed.com/2004/02/28/php-taking-a-half-step-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
