<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://davidsandor.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Professional Software Architecture</title><subtitle type="html" /><id>http://davidsandor.com/blogs/tipsandtricks/atom.aspx</id><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/default.aspx" /><link rel="self" type="application/atom+xml" href="http://davidsandor.com/blogs/tipsandtricks/atom.aspx" /><generator uri="http://communityserver.org" version="2.1.61129.2">Community Server</generator><updated>2009-06-26T01:19:14Z</updated><entry><title>SOLVED: You must install SQL Server 2005 Analysis Services with Service Pack 2 or higher before installing the Analysis extensions.</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/16/solved-you-must-install-sql-server-2005-analysis-services-with-service-pack-2-or-higher-before-installing-the-analysis-extensions.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/16/solved-you-must-install-sql-server-2005-analysis-services-with-service-pack-2-or-higher-before-installing-the-analysis-extensions.aspx</id><published>2009-07-16T17:37:41Z</published><updated>2009-07-16T17:37:41Z</updated><content type="html">Situation:&amp;#160; Windows Server 2008 with SQL Server 2008 Reporting Services and SQL Server 2008 Analysis Services SP 1, Microsoft Dynamics Axapta 2009 with Service Pack 1 and KB 959494 will not allow AX Analysis Extensions to install with the error message: You must install SQL Server 2005 Analysis Services with Service Pack 2 or higher before installing the Analysis extensions. As a new DAX-er, welcome to the hell that is DAX 2009 installer.&amp;#160; To be kind, the setup for Ax 2009 needs a great...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/16/solved-you-must-install-sql-server-2005-analysis-services-with-service-pack-2-or-higher-before-installing-the-analysis-extensions.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=134" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term="Microsoft" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Microsoft/default.aspx" /><category term="Server 2008" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Server+2008/default.aspx" /><category term="Service Pack" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Service+Pack/default.aspx" /><category term="Dynamics AX 2009" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Dynamics+AX+2009/default.aspx" /><category term="Axapta" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Axapta/default.aspx" /><category term="Dynamics" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Dynamics/default.aspx" /><category term="SQL Server 2008" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>Validating properties of a class in .NET 3.5</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/16/validating-properties-of-a-class-in-net-3-5.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/16/validating-properties-of-a-class-in-net-3-5.aspx</id><published>2009-07-15T21:07:39Z</published><updated>2009-07-15T21:07:39Z</updated><content type="html">A few years ago (5 I believe) I was in the process of building an API / Framework for this.&amp;#160; ASP.NET Dynamic Data supports the RegularExpressionAttribute class.&amp;#160; Cool! &amp;#160; http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.regularexpressionattribute.aspx...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/16/validating-properties-of-a-class-in-net-3-5.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=133" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term=".NET 3.5" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+3.5/default.aspx" /><category term="ASP.NET" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/ASP.NET/default.aspx" /><category term="WCF" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/WCF/default.aspx" /><category term=".NET 4.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+4.0/default.aspx" /></entry><entry><title>The InnerException message was 'Type 'System.DelegateSerializationHolder+DelegateEntry' with data contract name 'DelegateSerializationHolder.DelegateEntry:http://schemas.datacontract.org/2004/07/System' is not expected.</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/16/the-innerexception-message-was-type-system-delegateserializationholder-delegateentry-with-data-contract-name-delegateserializationholder-delegateentry-http-schemas-datacontract-org-2004-07-system-is-not-expected.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/16/the-innerexception-message-was-type-system-delegateserializationholder-delegateentry-with-data-contract-name-delegateserializationholder-delegateentry-http-schemas-datacontract-org-2004-07-system-is-not-expected.aspx</id><published>2009-07-15T21:06:00Z</published><updated>2009-07-15T21:06:00Z</updated><content type="html">In .NET 4.0 / Visual Studio 2010 I was working with a WPF application who’s ViewModel was sending a Model (Data) object back to a WCF service for processing.&amp;#160; In previous versions of the framework and WCF I could simply send any serializable object down the wire.&amp;#160; In .NET 4.0 apparently I need to do some further class decorating. I needed to include the namespace: using System.Runtime.Serialization; My class that I was sending needed to be decorated with: [DataContract] and the properties...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/16/the-innerexception-message-was-type-system-delegateserializationholder-delegateentry-with-data-contract-name-delegateserializationholder-delegateentry-http-schemas-datacontract-org-2004-07-system-is-not-expected.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=132" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term="C#" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/C_2300_/default.aspx" /><category term="WCF" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/WCF/default.aspx" /><category term="Visual Studio 2010" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Visual+Studio+2010/default.aspx" /><category term=".NET 4.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+4.0/default.aspx" /><category term="WPF" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/WPF/default.aspx" /></entry><entry><title>Bug with Visual Studio 2010 and DBML designer – Changes not causing regeneration of DataContext code.</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/13/bug-with-visual-studio-2010-and-dbml-designer-changes-not-causing-regeneration-of-datacontext-code.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/13/bug-with-visual-studio-2010-and-dbml-designer-changes-not-causing-regeneration-of-datacontext-code.aspx</id><published>2009-07-13T17:53:19Z</published><updated>2009-07-13T17:53:19Z</updated><content type="html">Vote for this bug if you encounter this problem.&amp;#160; Basically in 2010, if you regen the DBML file outside of VS the underlying DataContext code does not get regenerated.&amp;#160; This is bad because changes outside of VS 2010 to your DBML will not get ‘picked up’ when you rebuild. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=474117...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/13/bug-with-visual-studio-2010-and-dbml-designer-changes-not-causing-regeneration-of-datacontext-code.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=131" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term="C#" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/C_2300_/default.aspx" /><category term=".NET 3.5" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+3.5/default.aspx" /><category term="Linq" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Linq/default.aspx" /><category term="Visual Studio 2010" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Visual+Studio+2010/default.aspx" /><category term=".NET 4.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+4.0/default.aspx" /><category term="DBML" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/DBML/default.aspx" /></entry><entry><title>Great troubleshooting resource for Microsoft Dynamics AX 2009 installations.</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/13/great-troubleshooting-resource-for-microsoft-dynamics-ax-2009-installations.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/13/great-troubleshooting-resource-for-microsoft-dynamics-ax-2009-installations.aspx</id><published>2009-07-13T17:11:03Z</published><updated>2009-07-13T17:11:03Z</updated><content type="html">This has actually been updated to reflect a lot of Server 2008 / SQL 2008 issues.&amp;#160; One thing I learned that has not yet been resolved:&amp;#160; Install Enterprise Portal, SSRS and SSAS all on the same machine. &amp;#160; Otherwise you will have great big problems!&amp;#160; As of this writing it is still an issue, mainly an OLAP problem / Kerberos issues.&amp;#160; So take my advice and install all 3 on the same machine! http://technet.microsoft.com/en-us/library/aa497072.aspx...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/13/great-troubleshooting-resource-for-microsoft-dynamics-ax-2009-installations.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=130" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term="Server 2008" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Server+2008/default.aspx" /><category term="Solved" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Solved/default.aspx" /><category term="Dynamics AX 2009" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Dynamics+AX+2009/default.aspx" /><category term="Axapta" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Axapta/default.aspx" /><category term="Dynamics" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Dynamics/default.aspx" /><category term="SQL Server 2008" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/SQL+Server+2008/default.aspx" /><category term="SSAS" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/SSAS/default.aspx" /></entry><entry><title>CK Wanted me to post this speed test, so here it is..</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/13/ck-wanted-me-to-post-this-speed-test-so-here-it-is.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/13/ck-wanted-me-to-post-this-speed-test-so-here-it-is.aspx</id><published>2009-07-13T17:01:13Z</published><updated>2009-07-13T17:01:13Z</updated><content type="html">http://www.speedtest.net/result/516497436.png...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/13/ck-wanted-me-to-post-this-speed-test-so-here-it-is.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=129" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term="Networking" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Networking/default.aspx" /></entry><entry><title>WPF: How to bind to an enum in XAML.</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/09/wpf-how-to-bind-to-an-enum-in-xaml.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/09/wpf-how-to-bind-to-an-enum-in-xaml.aspx</id><published>2009-07-09T14:39:53Z</published><updated>2009-07-09T14:39:53Z</updated><content type="html">Finally found a great article on this after some searching and finding really outdated articles! http://msdn.microsoft.com/en-us/library/bb613576.aspx &amp;lt; Window xmlns =&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot; xmlns:x =&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml&amp;quot; xmlns:sys =&amp;quot;clr-namespace:System;assembly=mscorlib&amp;quot; SizeToContent =&amp;quot;WidthAndHeight&amp;quot; Title =&amp;quot;Show Enums in a ListBox using Binding&amp;quot; &amp;gt; &amp;#160; &amp;lt; Window.Resources...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/09/wpf-how-to-bind-to-an-enum-in-xaml.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=128" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term=".NET 3.5" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+3.5/default.aspx" /><category term="Silverlight" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Silverlight/default.aspx" /><category term=".NET 4.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+4.0/default.aspx" /><category term="XAML" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/XAML/default.aspx" /><category term="WPF" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/WPF/default.aspx" /></entry><entry><title>Visual Studio 2010: Debug annotations (sticky notes) for debugging / Quick Watch</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/09/visual-studio-2010-debug-annotations-sticky-notes-for-debugging-quick-watch.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/09/visual-studio-2010-debug-annotations-sticky-notes-for-debugging-quick-watch.aspx</id><published>2009-07-09T14:35:29Z</published><updated>2009-07-09T14:35:29Z</updated><content type="html">Two really cool features in Visual Studio 2010 for C# developers.&amp;#160; 1) Sticky Notes Quick Watch with annotations.&amp;#160; You may say, huh?&amp;#160; What are you talking about?&amp;#160; Well, look at the screen cap below. This is by far one of the coolest features I have seen so far (apart from the awesome XAML / WPF designer).&amp;#160; When debugging you can save a quick watch as a sticky note in your code (the note disappears when you exit debug mode).&amp;#160; You can even add notes to the watches so that...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/09/visual-studio-2010-debug-annotations-sticky-notes-for-debugging-quick-watch.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=127" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term="C#" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/C_2300_/default.aspx" /><category term="Visual Studio 2010" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Visual+Studio+2010/default.aspx" /><category term=".NET 4.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+4.0/default.aspx" /><category term="WPF" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/WPF/default.aspx" /></entry><entry><title>AG_E_UNKNOWN_ERROR inside Silverlight/WPF project</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/09/ag-e-unknown-error-inside-silverlight-wpf-project.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/09/ag-e-unknown-error-inside-silverlight-wpf-project.aspx</id><published>2009-07-09T13:12:59Z</published><updated>2009-07-09T13:12:59Z</updated><content type="html">I encountered the infamous AG_E_UNKNOWN yesterday.&amp;#160; I was actually using Silverlight controls from Telerik.&amp;#160; I dragged the RadGridView control inside my XAML and thats where the problem manifested.&amp;#160; Apparently the drag/drop operation did not add all the References that I needed in order to use the Telerik controls.&amp;#160; If you have the same problem, make sure all the references and dependencies are referenced in your project’s References section .&amp;#160; I had to add Telerik.Windows.Controls...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/09/ag-e-unknown-error-inside-silverlight-wpf-project.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=126" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term=".NET 3.5" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+3.5/default.aspx" /><category term="XML" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/XML/default.aspx" /><category term="Silverlight" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Silverlight/default.aspx" /><category term=".NET 4.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+4.0/default.aspx" /><category term="WPF" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/WPF/default.aspx" /></entry><entry><title>How to bind the value of a slider control to another control’s property in WPF/Silverlight.</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/08/how-to-bind-the-value-of-a-slider-control-to-another-control-s-property-in-wpf-silverlight.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/08/how-to-bind-the-value-of-a-slider-control-to-another-control-s-property-in-wpf-silverlight.aspx</id><published>2009-07-08T13:34:00Z</published><updated>2009-07-08T13:34:00Z</updated><content type="html">This should work for WPF and Silverlight.&amp;#160; This is a SUPER simple example.&amp;#160; I find it hard to locate really good clean examples in WPF / Silverlight.&amp;#160; People tend to do a lot of Control Templating and Style-izing which clouds the code.&amp;#160; I am starting a ‘Clean and Simple’ set of blog entries to show SIMPLE and CLEAN examples. In this code (there is no code behind other than that which is generated by Visual Studio) all we do is bind the Value of the slider to the Content of the...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/08/how-to-bind-the-value-of-a-slider-control-to-another-control-s-property-in-wpf-silverlight.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=125" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term="Visual Studio 2008" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Visual+Studio+2008/default.aspx" /><category term=".NET 3.5" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+3.5/default.aspx" /><category term="Silverlight" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Silverlight/default.aspx" /><category term="Visual Studio 2010" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Visual+Studio+2010/default.aspx" /><category term=".NET 4.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+4.0/default.aspx" /><category term="XAML" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/XAML/default.aspx" /><category term="WPF" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/WPF/default.aspx" /></entry><entry><title>Custom configuration settings and persisting data to XML… the right way.</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/07/custom-configuration-settings-and-persisting-data-to-xml-the-right-way.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/07/custom-configuration-settings-and-persisting-data-to-xml-the-right-way.aspx</id><published>2009-07-07T17:23:04Z</published><updated>2009-07-07T17:23:04Z</updated><content type="html">At my wits end with some seriously lame code I stumbled upon today.&amp;#160; Believe it or not, I actually saw a developer use a dead open source .ini reader/writer to read and write ONE setting in a config file.&amp;#160; The best part is the open source project they used was not originally intended to be used that way.&amp;#160; It was originally used to read/write settings in a .INI file.&amp;#160; Once again… Carpenter.. Hammer.. used on everything.&amp;#160; My sincerest apologies to the carpenters. Problem:&amp;#160;...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/07/custom-configuration-settings-and-persisting-data-to-xml-the-right-way.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=124" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term="C#" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/C_2300_/default.aspx" /><category term=".NET 3.5" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+3.5/default.aspx" /><category term=".NET 2.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+2.0/default.aspx" /><category term=".NET 3.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+3.0/default.aspx" /><category term="XML" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/XML/default.aspx" /><category term="Serialization" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Serialization/default.aspx" /><category term=".NET 4.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+4.0/default.aspx" /></entry><entry><title>Code Snippet for Dependency Property (WPF/SL)</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/05/code-snippet-for-dependency-property-wpf-sl.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/05/code-snippet-for-dependency-property-wpf-sl.aspx</id><published>2009-07-05T18:59:45Z</published><updated>2009-07-05T18:59:45Z</updated><content type="html">I am writing some User Controls for a WPF application and needed a quick way to create my Dependency Properties for my control. Below is the code snippet. First element is the type, next the Property Name, then the Containing Class name (you need this for the Dependency Property Registration call. &amp;lt;? xml version =&amp;quot;1.0&amp;quot; encoding =&amp;quot;utf-8&amp;quot; ? &amp;gt; &amp;lt; CodeSnippets xmlns =&amp;quot;http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet&amp;quot; &amp;gt; &amp;lt; CodeSnippet Format =&amp;quot;1.0.0&amp;quot;...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/07/05/code-snippet-for-dependency-property-wpf-sl.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=123" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term=".NET 3.5" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+3.5/default.aspx" /><category term="Silverlight" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Silverlight/default.aspx" /><category term=".NET 4.0" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+4.0/default.aspx" /><category term="XAML" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/XAML/default.aspx" /><category term="WPF" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/WPF/default.aspx" /></entry><entry><title>Blog Header Silverlight application code (moving image).</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/06/29/blog-header-silverlight-application-code-moving-image.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/06/29/blog-header-silverlight-application-code-moving-image.aspx</id><published>2009-06-29T16:23:00Z</published><updated>2009-06-29T16:23:00Z</updated><content type="html">This blog entry, when complete, will discuss the Silverlight application I created for the header of my blog. It is a simple little application that I created to explore some Silverlight functionality for another project. What I learned here I applied to a work-project....(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/06/29/blog-header-silverlight-application-code-moving-image.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=122" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author></entry><entry><title>How do I add an image to a Telerik R.A.D. Expander control in WPF.</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/06/26/how-do-i-add-an-image-to-a-telerik-r-a-d-expander-control-in-wpf.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/06/26/how-do-i-add-an-image-to-a-telerik-r-a-d-expander-control-in-wpf.aspx</id><published>2009-06-26T17:24:10Z</published><updated>2009-06-26T17:24:10Z</updated><content type="html">It turns out to be quite simple. Add the expander to your WPF control surface: &amp;lt;telerik:RadExpander Height= "24" Name= "radExpander2" Width= "170" /&amp;gt; Specifically set the Header property in the XAML like so: &amp;lt;telerik:RadExpander Height= "24" Name= "radExpander1" Width= "170" &amp;gt; &amp;lt;telerik:RadExpander.Header&amp;gt; &amp;lt;Image Height= "20" Source= "Gfx/Alerts.ico" /&amp;gt; &amp;lt;/telerik:RadExpander.Header&amp;gt; &amp;lt;/telerik:RadExpander&amp;gt; This code assumes that you have a graphics file in a folder...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/06/26/how-do-i-add-an-image-to-a-telerik-r-a-d-expander-control-in-wpf.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=121" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term=".NET 3.5" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.NET+3.5/default.aspx" /><category term="XAML" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/XAML/default.aspx" /><category term="WPF" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/WPF/default.aspx" /></entry><entry><title>Solved: Connection String does not show up when editing the connection property of a DBML file.</title><link rel="alternate" type="text/html" href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/06/26/solved-connection-string-does-not-show-up-when-editing-the-connection-property-of-a-dbml-file.aspx" /><id>http://davidsandor.com/blogs/tipsandtricks/archive/2009/06/26/solved-connection-string-does-not-show-up-when-editing-the-connection-property-of-a-dbml-file.aspx</id><published>2009-06-25T21:19:14Z</published><updated>2009-06-25T21:19:14Z</updated><content type="html">The DBML editor in Visual Studio 2008 tends to create a nasty name in the settings file for your database connection string.&amp;#160; We have our databases named with the associated environment e.g. Product_dev or Product_test.&amp;#160; When the DBML editor saves the connection string you get a nasty name such as: ClassLibrary1.Properties.Settings.Product_devConnectionString. This is fixed by creating the setting for the connection string first and giving it a pleasant name such as: ProductDb.&amp;#160; &amp;#160;...(&lt;a href="http://davidsandor.com/blogs/tipsandtricks/archive/2009/06/26/solved-connection-string-does-not-show-up-when-editing-the-connection-property-of-a-dbml-file.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://davidsandor.com/aggbug.aspx?PostID=120" width="1" height="1"&gt;</content><author><name>david</name><uri>http://davidsandor.com/members/david.aspx</uri></author><category term="Database" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Database/default.aspx" /><category term=".net" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/.net/default.aspx" /><category term="ASP.NET" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/ASP.NET/default.aspx" /><category term="Linq" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/Linq/default.aspx" /><category term="DBML" scheme="http://davidsandor.com/blogs/tipsandtricks/archive/tags/DBML/default.aspx" /></entry></feed>