<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">David Waddleton's Geek Speak</title><subtitle type="html">Find out what Geeks talk about</subtitle><id>http://blogs.msdn.com/davidwaddleton/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/davidwaddleton/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2006-07-07T09:12:00Z</updated><entry><title>Part 2: Using LINQ XML in your Unit Testing</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2008/06/07/part-2-using-linq-xml-in-your-unit-testing.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2008/06/07/part-2-using-linq-xml-in-your-unit-testing.aspx</id><published>2008-06-07T22:28:55Z</published><updated>2008-06-07T22:28:55Z</updated><content type="html">Technorati Tags: Unit Test , LINQ , XML In Part 1 ,&amp;#160; we talked about creating LINQ objects&amp;#160; and getting data.&amp;#160; This time, we are going to show how to use XML with LINQ to test a SQL database.&amp;#160; This part is really not difficult, we are just going to cover the basics of getting started. I have made the conscious decision that I am going to use a SQL database during my development process.&amp;#160; You may decide that you want to do use a different methodology.&amp;#160; These are some...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2008/06/07/part-2-using-linq-xml-in-your-unit-testing.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8580198" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author><category term="LINQ" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/LINQ/default.aspx" /><category term="Learning" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/Learning/default.aspx" /><category term="C#" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/C_2300_/default.aspx" /></entry><entry><title>An implementation of a Generic Container for WCF</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2008/06/05/an-implementation-of-a-generic-container-for-wcf.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2008/06/05/an-implementation-of-a-generic-container-for-wcf.aspx</id><published>2008-06-06T01:23:15Z</published><updated>2008-06-06T01:23:15Z</updated><content type="html">I am currently writing a service using WCF.&amp;#160; One of the things that I need to expose is a container that wraps my results to provide counts. I came up with the below implementations.&amp;#160; One of the things that becomes a problem is the resulting serialization of the container name. By default, the serialized object would be ContainerOf[T].&amp;#160; By defining a name with a String.Format type of syntax, [DataContract(Name=&amp;quot;{0}sContainer&amp;quot;)].&amp;#160; Would create&amp;#160; the following for...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2008/06/05/an-implementation-of-a-generic-container-for-wcf.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8576399" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author></entry><entry><title>Are you using LINQ? Lets get started.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2008/05/21/are-you-using-linq-i-would-love-to-know-how.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2008/05/21/are-you-using-linq-i-would-love-to-know-how.aspx</id><published>2008-05-22T05:52:43Z</published><updated>2008-05-22T05:52:43Z</updated><content type="html">So, I am going to talk about LINQ.&amp;#160; There are a lot of great resources out there on LINQ.&amp;#160; I am going to have a series of articles on building an application utilizing LINQ, WCF and other technologies. Some of the things that I want to show is how you can use LINQ as part of your testing.&amp;#160; So lets get started. So the first thing that we need is some data to define. The sample application that we are going to build is a simple home inventory system.&amp;#160; The image to the right defines...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2008/05/21/are-you-using-linq-i-would-love-to-know-how.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8531261" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author></entry><entry><title>Back to Posting again.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2008/04/18/back-to-posting-again.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2008/04/18/back-to-posting-again.aspx</id><published>2008-04-19T07:43:46Z</published><updated>2008-04-19T07:43:46Z</updated><content type="html">I have been busy with my work @ Microsoft.&amp;#160; Just in case you have not hear of what I am working on.&amp;#160; My team is responsible for the new forums that Expressions is using.&amp;#160; http://forums.expression.microsoft.com/en/forums &amp;#160; Try it out and let us know what you think.&amp;#160; A future feature that I am working on is the ability for you to consume data from the forums through a web service using WCF.&amp;#160; In the past few weeks, I have been playing around with WCF quite a bit, with traditional...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2008/04/18/back-to-posting-again.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8409770" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author></entry><entry><title>WCF and 404.3 Errors</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2007/11/02/wcf-and-404-3-errors.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2007/11/02/wcf-and-404-3-errors.aspx</id><published>2007-11-02T20:58:24Z</published><updated>2007-11-02T20:58:24Z</updated><content type="html">After building, a WCF service in Windows Server 2003, I thought no big deal, for Windows Server 2008.&amp;#xA0; I deployed the service on my Windows Server 2008 machine and started getting 404.3 errors only with my WCF service.&amp;#xA0; After checking that I had all of the necessary dependencies: 3.0 Framework WCF Activation installed This can be found under&amp;#xA0; the 3.0 framework options. Depending on your operating system this could be under different locations.&amp;#xA0; Vista&amp;#xA0; : Control Panel -&amp;gt;...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2007/11/02/wcf-and-404-3-errors.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5840059" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author><category term="WCF" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/WCF/default.aspx" /><category term="Orcas (Visual Studio 2008)" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/Orcas+_2800_Visual+Studio+2008_2900_/default.aspx" /></entry><entry><title>How To: Using Embedded Resources in a Class Library</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2007/02/02/how-to-using-embedded-resources-in-a-class-library.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2007/02/02/how-to-using-embedded-resources-in-a-class-library.aspx</id><published>2007-02-03T00:46:47Z</published><updated>2007-02-03T00:46:47Z</updated><content type="html">I came across the situation, where I needed to use an embedded resource file in a class library file. After spending much time, scratching my head trying to figure out how to get to the embedded resource. This is what I found. First, you will need to use System.Reflection.Assembly . There are two important methods that are useful for what we need. GetManifestResourceNames and GetManifestResourceStream . The first method allow you to see what the names of the resources are that are part of your class....(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2007/02/02/how-to-using-embedded-resources-in-a-class-library.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1585034" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author></entry><entry><title>ASP.NET AJAX 1.0 Released</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2007/01/25/asp-net-ajax-1-0-released.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2007/01/25/asp-net-ajax-1-0-released.aspx</id><published>2007-01-25T21:47:53Z</published><updated>2007-01-25T21:47:53Z</updated><content type="html">I am a bit late, but because of how busy I have been, I forgot to mention that ASP.NET AJAX has been released. Scott Guthrie has a great post with some great resources about what is new and resources to help you get started. Links: http://weblogs.asp.net/scottgu/archive/2007/01/23/asp-net-ajax-1-0-released.aspx http://weblogs.asp.net/scottgu/archive/2007/01/25/links-to-asp-net-ajax-1-0-resources-and-answers-to-some-common-questions.aspx Download the Bits: http://ajax.asp.net/downloads/default.aspx?tabid=47...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2007/01/25/asp-net-ajax-1-0-released.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1531079" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author></entry><entry><title>Personal Note: This is my dog!!</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2006/10/30/personal-note-this-is-my-dog.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2006/10/30/personal-note-this-is-my-dog.aspx</id><published>2006-10-30T17:50:15Z</published><updated>2006-10-30T17:50:15Z</updated><content type="html">I say this cartoon, and I said "That is my dog!!". Link to Get Fuzzy Technorati tags: Funny , Dog , Pet...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2006/10/30/personal-note-this-is-my-dog.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=903561" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author></entry><entry><title>ASP.NET AJAX Beta / CTP Release</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2006/10/24/asp-net-ajax-beta-ctp-release.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2006/10/24/asp-net-ajax-beta-ctp-release.aspx</id><published>2006-10-24T23:46:00Z</published><updated>2006-10-24T23:46:00Z</updated><content type="html">The ASP.NET AJAX Beta is now live. This release includes a number of significant changes: 1) An update to http://www.asp.net/ and http://Ajax.asp.net/ to support the release 2) A comprehensive whitepaper detailing changes between the CTP’s and Beta 3) A simple to follow migration guide to help developers 4) Updated documentation 5) A revised ASP.NET AJAX Control Toolkit 6) And much, much more This release is composed of three parts: 1) The Beta of the soon to be fully-supported ‘core’ ASP.NET AJAX...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2006/10/24/asp-net-ajax-beta-ctp-release.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=870156" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author><category term="Cool Stuff" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/Cool+Stuff/default.aspx" /><category term="Visual Studio 2005" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/Visual+Studio+2005/default.aspx" /><category term="WinFX" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/WinFX/default.aspx" /></entry><entry><title>Free .NET Framework 3.0 eLearning Clinics</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2006/10/12/free-net-framework-3-0-elearning-clinics.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2006/10/12/free-net-framework-3-0-elearning-clinics.aspx</id><published>2006-10-12T17:27:20Z</published><updated>2006-10-12T17:27:20Z</updated><content type="html">Wow, you have got to look at this!! The WPF team is making this training available free till the lauch of .NET Framework 3.0. More Context: Collection 5134: Developing Rich Experiences with Microsoft® .NET Framework 3.0 and Visual Studio® 2005 This collection of 3 2-hour premium clinics teaches about the new capabilities provided by the .NET Framework 3.0. These clinics are for experienced Developers and Software Architects who are looking to adopt Microsoft's next generation technology within their...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2006/10/12/free-net-framework-3-0-elearning-clinics.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=819722" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author></entry><entry><title>Why and how would I Mock a Web Service? (In VS 2005)?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2006/08/03/687841.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2006/08/03/687841.aspx</id><published>2006-08-03T10:30:00Z</published><updated>2006-08-03T10:30:00Z</updated><content type="html">Well, in my current project, this question appeared very early on. Since, I am doing Test-Driven Development, I need to test my web service data layer, but I don’t need it all of the time. I used a pattern called Constructor based Dependency Injection . This allows you to replace the service with a different implementation. For my situation, the implementation is for removing an external dependency for testing. I removed this dependency, by mocking the object with NMock. NMock allows you to pass...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2006/08/03/687841.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=687841" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author><category term="Cool Stuff" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/Cool+Stuff/default.aspx" /><category term="Visual Studio 2005" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/Visual+Studio+2005/default.aspx" /></entry><entry><title>Technorati</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2006/07/22/675046.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2006/07/22/675046.aspx</id><published>2006-07-22T22:00:00Z</published><updated>2006-07-22T22:00:00Z</updated><content type="html">Technorati Profile...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2006/07/22/675046.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=675046" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author></entry><entry><title>Geek Speak - Useful functions</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2006/07/22/Geek-Speak-Useful-functions.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2006/07/22/Geek-Speak-Useful-functions.aspx</id><published>2006-07-22T20:56:00Z</published><updated>2006-07-22T20:56:00Z</updated><content type="html">I would like to share some useful functions for you to use. This is part of an application that I will eventually share when I get it completed. In my last post, I showed how to create a FlowDocument from HTML, well I put that code into a function. The other function, takes a URL and takes the HTML and returns it as a string. public static string ConvertUrlToHtmlText(string url) { try { HttpWebRequest request = HttpWebRequest.Create(new Uri(url)) as HttpWebRequest; HttpWebResponse response = request.GetResponse()...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2006/07/22/Geek-Speak-Useful-functions.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=675007" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author><category term="WinFX" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/WinFX/default.aspx" /></entry><entry><title>Geek Speak - Converting HTML to XAML</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2006/07/19/671974.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2006/07/19/671974.aspx</id><published>2006-07-20T02:11:00Z</published><updated>2006-07-20T02:11:00Z</updated><content type="html">Well, I have been playing with Avalon for a bit. One of the things that I have been playing with is a RSS viewer, just a little hobby. Viewing blogs were not difficult, but the displaying of the HTML from the RSS is where the problems start. But what you really need to do is use a converter and then put it into a FlowDocument. At the following location you can download a XAML/HTML Converter. http://wpf.netfx3.com/files/folders/developer/entry816.aspx If you take this code and add it into a class...(&lt;a href="http://blogs.msdn.com/davidwaddleton/archive/2006/07/19/671974.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=671974" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author><category term="WinFX" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/WinFX/default.aspx" /></entry><entry><title>Wow, Am I lost? But Found Again - Avalon</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/davidwaddleton/archive/2006/07/07/659148.aspx" /><id>http://blogs.msdn.com/davidwaddleton/archive/2006/07/07/659148.aspx</id><published>2006-07-07T19:12:00Z</published><updated>2006-07-07T19:12:00Z</updated><content type="html">&lt;P&gt;Well, everyone it has been a while since I have blogged.&amp;nbsp; I have not forgotten how.&amp;nbsp; I just have been extremely busy.&amp;nbsp; Have you gone out to the &lt;A href="http://www.codeplex.com"&gt;http://www.codeplex.com&lt;/A&gt; site?&amp;nbsp; That&amp;nbsp; was a project that I was working on.&amp;nbsp; The is part of the reason for not blogging becuase I could not tell you about it until it was public.&amp;nbsp; Take a look I know that you will like it.&lt;/P&gt;
&lt;P&gt;Current Stuff:&amp;nbsp; So I am done with that.&amp;nbsp; Have you seen &lt;A href="http://www.microsoft.com/rss/"&gt;http://www.microsoft.com/rss/&lt;/A&gt;.&amp;nbsp; That is another team with my group's work.&amp;nbsp; So you are probably wondering what am I doing now. Well, I am working on creating WinFx clients and components.&amp;nbsp; I am going to start sharing some of my experiences with WinFX (Avalon).&amp;nbsp; I know that one of my stumbling block with such a new technology is that some of the examples are limited.&amp;nbsp; I have put together a medium size application utilizing many new features and concepts.&amp;nbsp; I will share some of what I have done in small pieces.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Here are some great resources for you get started with Avalon:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://wpf.netfx3.com/"&gt;http://wpf.netfx3.com/&lt;/A&gt;&lt;BR&gt;&lt;A href="http://forums.microsoft.com/msdn/default.aspx?forumgroupid=24&amp;amp;siteid=1"&gt;http://forums.microsoft.com/msdn/default.aspx?forumgroupid=24&amp;amp;siteid=1&lt;/A&gt;&lt;A href="http://forums.microsoft.com/"&gt;&lt;/A&gt;&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/winfx/"&gt;http://msdn.microsoft.com/winfx/&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;Get the bit from here:&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/"&gt;http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/&lt;/A&gt;&lt;/P&gt;&lt;A href="http://msdn.microsoft.com/"&gt;&lt;/A&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=659148" width="1" height="1"&gt;</content><author><name>DavidWaddleton</name><uri>http://blogs.msdn.com/members/DavidWaddleton.aspx</uri></author><category term="WinFX" scheme="http://blogs.msdn.com/davidwaddleton/archive/tags/WinFX/default.aspx" /></entry></feed>