<?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>brushpen.net &#187; .NET Unit Test</title>
	<atom:link href="http://brushpen.net/tag/net-unit-test/feed/" rel="self" type="application/rss+xml" />
	<link>http://brushpen.net</link>
	<description>learn.create.communicate</description>
	<lastBuildDate>Sun, 18 Jul 2010 07:07:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>A sample WPF application</title>
		<link>http://brushpen.net/2009/03/wpf-sample-application/</link>
		<comments>http://brushpen.net/2009/03/wpf-sample-application/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 04:58:38 +0000</pubDate>
		<dc:creator>Heath Higgins</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[.NET Unit Test]]></category>
		<category><![CDATA[Automated Build]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Data Binding]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[LINQ to SQL]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[WPF Data Binding]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://brushpen.net/?p=29</guid>
		<description><![CDATA[Last spring, I took a .NET Tools in C# course and had an opportunity to play around with Windows Presentation Foundation and Visual Studio 2008 a little. The resulting project is here. The application is a task list tool that utilizes: LINQ to SQL using a standalone SQL Express file Data Binding of static and [...]]]></description>
			<content:encoded><![CDATA[<p>Last spring, I took a .NET Tools in C# course and had an opportunity to play around with Windows Presentation Foundation and Visual Studio 2008 a little.   The resulting project is <a href="http://brushpen.net/files/TaskTracker_HeathHiggins.zip">here</a>.   The application is a task list tool that utilizes:</p>
<ul>
<li> LINQ to SQL using a  standalone SQL Express file</li>
<li> Data Binding of static and dynamic  resources</li>
<li> Layout controls, data templates, styles, and triggers</li>
<li> WPF  Command Bindings</li>
<li> A lot of XAML, and surprisingly not as much C#</li>
<li> A Model-View-Controller architecture</li>
<li> Unit tests using the .NET Unit Testing framework</li>
<li> Automated build of the solution using a script</li>
</ul>
<p>In the  \Deliverables\ folder of the archive, there is a MSI package that installs the application and a test database using a Visual Studio setup project.  The  \Deliverables\Doc\ folder also contains a simple product backlog that I used during much of the project.  The Autobulid.cmd can be run from a Visual Studio 2008 Command prompt and will produce Release configuration binaries for the main and test applications.</p>
<p>There is one simple unit test that passes, but I  had trouble porting my SQLExpress database connection to the test project.  It  seems as though the current working folder is set to a Visual  Studio\&#8230;\Common7\ path while running the tests, and I believe that this is  causing problems with the connection string, which uses a relative path.  Also,  the Test Run Configuration items have been added to the solution and shows the  tests within the IDE, but when run through mstest the tool reports that there were no tests present.  I might have missed something here.</p>
<p>The  application supports adding, removing, renaming, and completing tasks from the main form.  Double clicking on a task allows you to edit additional details,  which are also bound as read only in the main form.  There is also a tooltip popup that shows the Notes field.  You may come across some remnants in the code and the design tools that make reference to some additional functionality that I am working on, including a task timer, task due notifications, and some basic sorting.</p>
<p>There are still some features to complete, and the unit testing projects need work, but it was a lot of fun for a first dive into WPF.</p>
]]></content:encoded>
			<wfw:commentRss>http://brushpen.net/2009/03/wpf-sample-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

