Catching ASP.NET MVC Errors using ELMAH

May 1, 2012 by joey No Comments

ELMAH (Error Logging Modules and Handlers) is a great application-wide error logging tool. ELMAH Features: Logging of unhandled exceptions. A web page for viewing the logged exceptions including stack traces. An e-mail notification whenever an error occurs including the error details. An RSS feed that includes the last 15 errors from the log. Installing ELMAH: [...]

Read More »

Using MVC4 Minification and Bundling in MVC3

March 1, 2012 by joey 6 Comments

I have been testing ASP.net MVC4 lately and one of the things I really like in it is the built in minification and bundling that it provides. I discovered the other day that there is a nuget package that contains this MVC4 bundling and minification. The problem I ran into with the nuget package is [...]

Read More »

Facebook Hacker Cup 2012 Qualifying Solution for Alphabet Soup

January 23, 2012 by joey No Comments
Facebook

This is my solution for the Alphabet Soup problem, which is one of three in the Facebook Hacker Cup 2012 qualifying round.  I had forgotten about the qualifying round this weekend and I saw a post on my news feed saying 2 hours left to qualify.  I fired up a new visual studio C# command line project [...]

Read More »

JQuery CDN with fall back to local file

January 9, 2012 by joey No Comments
jQuery - Write Less Do More

If you are still hosting jQuery yourself, then I guess you missed the memo about serving files from a CDN (Content Delivery Network). Basically all that you need to know is that you gain several advantages by serving the jQuery library from a CDN. Advantages Better caching is achieved  because over 40% of websites use jQuery and [...]

Read More »

How to Find a Facebook User ID

December 8, 2011 by joey No Comments
Facebook

I am going to show you how to extract a Facebook User ID out of a Facebook picture URL. Today I was working on some Facebook like button integration and I needed to figure out the Facebook ID of the website owner in order to give him access to the Facebook Insights.  Facebook does not [...]

Read More »

Finding the fastest DNS servers

October 22, 2011 by joey 1 Comment
DNS Servers

  I came across a nice tool for finding better DNS servers based on your location.  In case you don’t know what DNS servers are, basically they are like a phone book for your computer.  When you go to Google.com you are actually looking up the IP address for Google and your DNS server returns [...]

Read More »

Boot from USB when BIOS does not support it

October 9, 2011 by joey No Comments
Boot From USB

Today I was faced with the challenge of installing Windows Server 2008 R2 on a server with only a CD ROM drive.  I created a bootable USB drive and loaded the installation files on it like I normally do but I could not get the server to boot from the USB drive no matter what [...]

Read More »

Windows 0xc000000e boot error

October 9, 2011 by joey No Comments
Windows Error

  After upgrading the BIOS and adding some ram to my home server, I ran across this error while trying to boot into Windows Server 2008 R2, but it also occurs in Windows 7 and Windows Vista. This is how to fix the error and it works for Vista, 7, Server 2008, and Server 2008 [...]

Read More »