Entries Categorized as 'Microsoft.Net 2.0'

SL Video Player used on Microsoft Mediaroom site

Date January 19, 2009

Some of you who follow my blog (which I apologize for how stale it has been) know that Tim Heuer and I worked on a Silverlight Video player which we posted on CodePlex.  Every once in while Tim clues me into people that might be using it and this one popped up today.  I thought [...]

Silverlight Circular Motion Animation

Date May 12, 2008

In this sample I demonstrate how to take a series of UserControls (Simple ellipses) and rotate each in a counter-clockwise circular motion. The first step in the process is to define a user control and expose both the TranslateTransform and RotateTransform from the TransformGroup object.  This allows us to rotate and move each user control [...]

FBJS and Ajax to acheive Facebook profile link tracking

Date November 23, 2007

In interactive application development we love our ability to track and analyze the behavior of our users. Through tools like Google analytics and Urchin, web sites can monitor and analyze where their users are going, and more importantly how those users are getting there. As our company delves deeper into creating applications for the Facebook [...]

Convert a int[] to string[]

Date August 7, 2007

This morning I needed to convert an array of integers to strings and I stumbled across this nice little Array.ConvertAll generics method. My example is quite simple, but this technique could be used for much more complicated explicit casting. 1 2 3 4 5 6 7 int[] values = new int[]{1,2,3,4,5}; string[] strValues = Array.ConvertAll(values, [...]

SimpleXmlParser

Date June 15, 2007

For the recent Facebook platform integration project I was tasked with parsing various forms of Xml returned from the Facebook REST web service. REST or Representational State Transfer, is a term coined by Roy Fielding in his Ph.D. dissertation to describe an architecture style of networked systems. In the Facebook world, to get back some [...]

<compilation batch=”false”>

Date March 29, 2007

Today some of the C# / ASP.NET 2.0 code I created generated the following error “Circular file references are not allowed”. After quite a bit of investigation, I realized that this was the result of how I had User Control’s organized within my website. For no good reason I was separating many of my user [...]

URL Redirection with Mod-Rewrite ISAPI filter

Date March 24, 2007

Recently, one of our clients required that there entire site be optimized for search engines. As part of SEO our goal was to create hackable URL’s and avoid special characters on the query string. This meant no querystring arguments. We choose to use URL rewriting as a way to map dynamic virtual directories to database [...]

Loading custom web control from an .aspx Code-Behind page

Date March 21, 2007

Yesterday one of our clients requested a simple change to a custom user control for one of their ASP.NET 2.0 site. We made the change, and deployed ONLY the .ascx file to their production server. The deployment resulted in the following run-time error: Unable to cast object of type ‘ASP.controls_customControl_ascx’ to type ‘controls_customControl’. This error [...]