SecurityException / IIS .Net Trust Levels / Diagnostic Traces

This dasBlog website is now being hosted at WinHost.  In reality, the migration was trivial.  Using IIS Manager, there is an option under Deploy to “Export Application…”which saves the entire site to a .zip file.  And then after connecting to the new site, one simply runs “Import Application…” and points to the saved .zip file—simple […]

The TAO of Programming

From the book by Geoffrey James Thus spake the Master Programmer: “A well-written program is its own heaven; a poorly-written program is its own hell.”

Microsoft’s support site solved WP7 error 801812DD

While I find it amazing that the USB cable needs to be directly connected to the port on the back of the computer to upgrade to the March 2011 release of the Windows Phone 7 operating system, at least the support page from Microsoft provided useful information: Now I can happily search the app store, […]

Extension methods in C#

Wikipedia has a very good overview of extension methods in C# here. Basically, if you create a static method in a static class and the first parameter includes the keyword ‘this’ then the first parameter will be the calling object and you’ve created an extension method. Here is a quick example console application (based on […]

Uppercase vs. UpperCase

XamlParseException occurred: The property ‘VerticalGridlinesBrush’ was not found in type ‘System.Windows.Controls.DataGrid’. [Line: 19 Position: 30] Took me 30 minutes to see that <Setter Property="VerticalGridlinesBrush">     <Setter.Value>         <SolidColorBrush Color="#FFACACAC"/>     </Setter.Value> </Setter> should be <Setter Property="VerticalGridLinesBrush">     <Setter.Value>         <SolidColorBrush Color="#FFACACAC"/>     </Setter.Value> </Setter> Next time I need to hit ctrl+space sooner…

devenv.exe.config

While trying to compile a demo Silverlight application, I ran into this build error: System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by […]

Samsung Focus Windows Phone 7 (WP7) using AT&T

My Samsung Focus came in the mail today to replace the old iPhone 3G I was trying to use.  I say trying because with each OS release my old iPhone would get slower and slower.  While the iPhone 4 looks like an improvement over the 3G (click here for the apple comparison), I like the […]

Installing the latest Zune 4.0 Software on Windows Server 2008

Step 1: Download the latest Zune software from http://www.zune.net/en-US/products/software/download/default.htm (which should be the single file ZuneSetupPkg.exe). If you just run ZuneSetupPkg.exe you will get this lovely message: I can only assume Windows Server 2008 is not supported to save on QA time yet the software is running fine for me. Step 2: Start-up a cmd.exe […]

Wise Quotation

“Knowing is not enough; we must apply; Willing is not enough; we must do.” — Johann Goethe (1749-1832)