Jason N. Gaylord
Social Distancing since 3/10
Small planet on JasonGaylord.com A planet with rings on JasonGaylord.com
Visit JasonGaylord.com

Hello, I'm  jasongaylord Jason

I live with my family in the rolling hills of Northeastern Pennsylvania. I'm a web developer by trade, but have broad experience in various business areas. Want to know more about me?

Learn More

How To: Properly Reference A JavaScript File

Wow. After 2 hours of pain and suffering, I ran into my own daily WTF. I had some script contained within a .js file in my web. Like many times before, I created a reference to the script in the header. However, the script would only work in the Internet Explorer family and not in Firefox. After some aggravation (and my Starbuck’s Pike Place Roast kicking in) I realized that the MIME type was set to text/jscript instead of text/javascript. I wish we can modify IntelliSense locally to get items added/removed as needed.

Read More

Mario Brothers in JavaScript

I came across this post and found it to be an interesting implementation of Mario. The game is written in 14kb of JavaScript. Check it out at http://blog.nihilogic.dk/2008/04/super-mario-in-14kb-javascript.html.

Read More

Expression Blend Tip: Modifying the Rows or Columns of a Grid

It took me a couple of minutes to realize that RowDefinitions and ColumnDefinitions of a Grid are in the Advanced Properties of the Layout category. For more information about using a Grid to layout data, you can read more on Scott Guthrie’s blog at http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-2-using-layout-management.aspx.

Read More

XAML Tip: Adding a Line Break to a TextBlock

I’m just starting to mess with XAML as I’m looking to see what I can do with it. As I come across some pretty basic tasks that I’m struggling with, I’ll post about it in case any other newbies run into the same issue. One of my first tasks was to create some text on a canvas. However, I couldn’t figure out how to do a line break. After searching Live and Google in an attempt to find something, I finally did (on page 3 of each engine). There is an object called <LineBreak/> that will perform a line break in your text. For example: I’m just starting to mess with XAML as I’m looking to see what I can do with it. As I come across some pretty basic tasks that I’m struggling with, I’ll post about it in case any other newbies run into the same issue. One of my first tasks was to create some text on a canvas. However, I couldn’t figure out how to do a line break. After searching Live and Google in an attempt to find something, I finally did (on page 3 of each engine). There is an object called <LineBreak/> that will perform a line break in your text. For example:

Read More

Searching Twitter Posts

I was reading a post by Michael Arrington about his enjoyable weekend and learned something. It has nothing to do with chickens. I always knew there were services that archived Twitter posts, but I was never satisfied with anything I found until this… Tweet Scan. It’s a great service. By all means check it out!

Read More

April Fools? Yahoo Accepts Bid To Be Bought Out By Microsoft

I just noticed that my RSS feed reader had a new posting from InfoWorld about Yahoo accepting a bid to be bought out by Microsoft. The URL contains the words “april” and “fools” and it would make sense as I believe they have pulled a stunt like this before. However, to someone who may forget the day of the year, this may seem like a believable story. Here it is:

Read More

Allowing a Server Control to Contain Custom Child Collection

I’ve probably done this at least a dozen times, but when you don’t do something everyday, you tend to forget. I created a custom control that I wanted to place into a control collection. So, I created the child control as a custom server control. Then I created another server control that contained a property called Items as a Generic.List(Of T) where T was my custom child control. I kept running my app and couldn’t figure out why I couldn’t create my child controls in the Parent. I forgot that I had to import the namespace System.ComponentModel and add the PersistenceMode property to the property. So, my code looked like this:

Read More

IIS Stack in Windows Server 2003+

Apparently the IIS stack has changed in Server 2003. I’ve never noticed any issues with my ASP.NET apps, but in case you do, here’s the full post: http://blogs.msdn.com/tom/archive/2008/03/31/stack-sizes-in-iis-affects-asp-net.aspx.

Read More

Apple Sneaking Safari download on QuickTime Users?

I have QuickTime installed on my PC. I just noticed that Apple is now trying to get users to download Safari using their Apple Software Update software. It’s checked by default but as you can see from the photo below, I decided not to install it. It’s interesting that they’re trying to force it down to user’s. 

Read More

API Libraries for Popular Web Applications

Scott Hanselman just posted a really good collection of the APIs for many popular web applications such as DIGG, Twitter, Live Services, etc. You can read Scott’s full posting by clicking here.

Read More