Bitly Tweeter Updated

The latest update to Bitly Tweeter allows for a default post format of the tweet.  Customization of the tweet can still be done when the blog post is published. If you are using Windows Live Writer for authoring your blog posts, then you owe it to yourself to get the most recent update of Bitly…


Bitly Tweeter Debut

For bloggers who use Windows Live Writer and Twitter, you might be interested in checking out the Bitly Tweeter plug-in by Dan Waters.  This plug-in automatically tweets with a shortened link pointing to your blog when it is published.


A Better FindControl Method

For ASP.NET web forms developers, this is a handy extension method of the Control class that returns a strongly-typed control instance from a deep recursive search at any point in the control tree hierarchy: public static partial class ControlExtensions {     public static T FindControl<T>(this Control currentControl, string id) where T : Control  …


Get Embedded Resource as String

Here is a utility method for returning any embedded resource content as a string: public static partial class Tools { public static string GetEmbeddedContent(string resourceName) { Stream resourceStream = Assembly.GetAssembly(typeof(Tools)) .GetManifestResourceStream(resourceName); string content = null; using (StreamReader reader = new StreamReader(resourceStream)) { content = reader.ReadToEnd(); } return content; } }


Increase Web Site Scalability Using CompilationMode

Did you know that ASP.NET Web Sites allow developers to configure whether a page compiles or not.  Consider the following page directive: <%@ Page Language=”C#” CompilationMode=”Never” %> Setting the CompilationMode attribute to Never will disallow code on the page.  It will also prevent compilation to an assembly.  These pages can contain server controls or Expressions such as…


AJAX Extension Methods

Although the ScriptManager has a property named IsInAsyncPostBack to determine an AJAX call, the control is scoped to the page it is contained in.  If writing code in a custom HTTP module, what if I need to know in the BeginRequest event whether the current request is AJAX or JSON? How nice it would be…



In one of my earliest blog posts ever, I made an observation about how Microsoft employees use the word ‘so’.  So in honor of that blog post, I plan on acclimating to the machine with my own overuse of the word. I am so thrilled to announce that I am now employed by Microsoft as a Developer Evangelist. …