<?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>Digital Transition &#187; .NET</title>
	<atom:link href="http://www.digital-transition.com/archives/category/net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digital-transition.com</link>
	<description>Benjamin Surkyn's personal blog.</description>
	<lastBuildDate>Sun, 22 Jan 2012 09:38:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Read/Write action vs ReadAll/WriteAll</title>
		<link>http://www.digital-transition.com/archives/2010/readwrite-action-vs-readallwriteall/</link>
		<comments>http://www.digital-transition.com/archives/2010/readwrite-action-vs-readallwriteall/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 09:16:33 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=465</guid>
		<description><![CDATA[Recently I needed to go over a lot of files located inside a directory and its subfolders. This is a fairly easy something to implement and without much thinking I wrote some code to loop through the directory, compare the files found with a criteria and if it matched, copy the file. Afterwards I was [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2010/readwrite-action-vs-readallwriteall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 principles of Object Oriented Class Design</title>
		<link>http://www.digital-transition.com/archives/2009/5-principles-of-object-oriented-class-design/</link>
		<comments>http://www.digital-transition.com/archives/2009/5-principles-of-object-oriented-class-design/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 10:40:43 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=396</guid>
		<description><![CDATA[SRP (The Single Responsibility Principle): A class should have one, and only one, reason to change. OCP (The Open Closed Principle): You should be able to extend a classe&#8217;s behavior, without modifying it. LSP (The Liskov Substitution Principle): Derived classes must be substitutable for their base classes. DIP (The Dependency Inversion Principle): Depend on abstractions, [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2009/5-principles-of-object-oriented-class-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reflection GetValue of bool? is bool</title>
		<link>http://www.digital-transition.com/archives/2008/reflection-getvalue-of-bool-is-bool/</link>
		<comments>http://www.digital-transition.com/archives/2008/reflection-getvalue-of-bool-is-bool/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 14:23:28 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=365</guid>
		<description><![CDATA[After several hours looking for a bug, I finally found it. This is the code that housed the &#8220;bug&#8221;. PropertyInfo info = obj.GetType().GetProperty("SomeProperty"); object value = info.GetValue(obj, null); if (value.GetType() == typeof(bool?)) { //Some code } else if (value.GetType() == typeof(int?)) { //Some other code } The property &#8220;SomeProperty&#8221; is a nullable type (either string, [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2008/reflection-getvalue-of-bool-is-bool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting CSV file from FTP with C#</title>
		<link>http://www.digital-transition.com/archives/2008/getting-csv-file-from-ftp-with-c/</link>
		<comments>http://www.digital-transition.com/archives/2008/getting-csv-file-from-ftp-with-c/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 07:12:00 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=310</guid>
		<description><![CDATA[Recently I had to write a console application that periodically downloaded a file from an FTP server and parsed into items. Those items went into a database. Now the parsing and inserting them into a database is quite standard operation. The getting the file from an FTP was new for me. Here is how I [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2008/getting-csv-file-from-ftp-with-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resolving relative to absolute path in ASP.NET</title>
		<link>http://www.digital-transition.com/archives/2008/resolving-relative-to-absolute-path-in-aspnet/</link>
		<comments>http://www.digital-transition.com/archives/2008/resolving-relative-to-absolute-path-in-aspnet/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 15:59:07 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/archives/2008/resolving-relative-to-absolute-path-in-aspnet/</guid>
		<description><![CDATA[Resolving relative paths to absolute paths isn&#8217;t that hard when you&#8217;re working with normal system paths. You can simply use System.IO.Path.GetFullPath("./relative_path"); However when working with ASP.NET, this can be a little trickier. Because the current folder depends on the code that is calling your code, which switches around a bit in ASP.NET. The best way [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2008/resolving-relative-to-absolute-path-in-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom identities (classes that implement System.Security.Principal.IIdentity) SerializationException in Cassini</title>
		<link>http://www.digital-transition.com/archives/2008/serializationexception-in-cassini/</link>
		<comments>http://www.digital-transition.com/archives/2008/serializationexception-in-cassini/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 13:37:52 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/archives/2008/serializationexception-in-cassini/</guid>
		<description><![CDATA[A few days ago, I spend almost a day figuring out what went wrong with an application I was writing. Apparently a SerializationExeption can occur when executing ASP.NET code in the ASP.NET Development Server (Cassini). Exception: Type is not resolved for member &#8216;Classname,Assembly, Version=1.1.0.31, Culture=neutral, PublicKeyToken=null&#8217;. Exception details: System.Runtime.Serialization.SerializationException: Type is not resolved for member [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2008/serializationexception-in-cassini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Namespace inheritence difference between VB.NET and C#</title>
		<link>http://www.digital-transition.com/archives/2008/namespace-inheritence-difference-between-vbnet-and-c/</link>
		<comments>http://www.digital-transition.com/archives/2008/namespace-inheritence-difference-between-vbnet-and-c/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 11:03:17 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/archives/2008/namespace-inheritence-difference-between-vbnet-and-c/</guid>
		<description><![CDATA[Recently, I&#8217;ve been involved in a .NET project that uses both VB.NET and C# projects in the same Visual Studio solution. Personally, I prefer C#, but VB.NET isn&#8217;t that hard to switch to, except that you can run into an unlogical namespace inconvenience. VB.NET and C# handle the namespace inheritence in their class files and [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2008/namespace-inheritence-difference-between-vbnet-and-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Defragmenting flash memory</title>
		<link>http://www.digital-transition.com/archives/2006/defragmenting-flash-memory/</link>
		<comments>http://www.digital-transition.com/archives/2006/defragmenting-flash-memory/#comments</comments>
		<pubDate>Sat, 24 Jun 2006 15:25:04 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[Smart Devices]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/archives/2006/defragmenting-flash-memory/</guid>
		<description><![CDATA[If you write and delete extensively from a storage medium, it gets fragmented. To solve this, you should use a defragmentation tool like Windows&#8217; Defrag. This makes a lot of sense when using hard drives since the seek time (time to move the heads to the correct location on the disk) is one of the [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2006/defragmenting-flash-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Team Foundation Server login error</title>
		<link>http://www.digital-transition.com/archives/2005/team-foundation-server-login-error/</link>
		<comments>http://www.digital-transition.com/archives/2005/team-foundation-server-login-error/#comments</comments>
		<pubDate>Wed, 21 Dec 2005 15:06:56 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=194</guid>
		<description><![CDATA[So here&#8217;s the situation I&#8217;m on a network with a domain, which I&#8217;m not a part of. I do have a domain account, which I use for the Team Foundation Server. Now when changing the account&#8217;s password, you get the following error: . And there is no way in Visual Studio to change the password [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2005/team-foundation-server-login-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limitations of Windows CE emulator</title>
		<link>http://www.digital-transition.com/archives/2005/limitations-of-windows-ce-emulator/</link>
		<comments>http://www.digital-transition.com/archives/2005/limitations-of-windows-ce-emulator/#comments</comments>
		<pubDate>Wed, 02 Feb 2005 18:00:02 +0000</pubDate>
		<dc:creator>Benjamin Surkyn</dc:creator>
				<category><![CDATA[Smart Devices]]></category>

		<guid isPermaLink="false">http://www.digital-transition.com/?p=166</guid>
		<description><![CDATA[Yesterday, I came accross a bizarre error. When executing my Smart device application on the Windows CE emulator, I got a &#8220;NotSupportedException&#8221;. What was even stranger, was that I got this in the InitializeComponents method, which is generated by Visual Studio. After quite a bit of searching and debugging, the problem didn&#8217;t seem to be [...]]]></description>
		<wfw:commentRss>http://www.digital-transition.com/archives/2005/limitations-of-windows-ce-emulator/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

