Our Blog.

My Favourite Jon Skeet Facts

Jon Skeet is a programmer at Google, author of C# In Depth and Internet legend from his participation on Stack Overflow.  After his meteoric rise to fame, a question was posted to gather Chuck Norris style facts about Jon Skeet.  There are currently 291 answers, here are few that made me chuckle! Jon Skeet is Read More »

June 18, 2010 | by

Scroll an element into view programmatically with JavaScript

I’ve just finished building an FAQ section for one of Storm‘s clients. The client requested that a list of questions be shown at the top of the page and the user be scrolled to the appropriate answer when they clicked the question. The site was using a URL re-writing scheme that meant using traditional #anchor links was impossible. We got around this by using a very simple piece of JavaScript.

June 14, 2010 | by

How to take your startup from an idea to $170m

Aaraon Patzer, the founder of Mint.com, gave a really insightful talk at Carsonified’s Future of Web Apps conference in Miami this year.  The video of the talk is definitely worth watching (see bottom of the post) but I’ve pulled out a few killer tips that you can use today if your thinking of starting a tech company.

June 14, 2010 | by

Prevent a C# or VB.NET Console Application from closing when it finishes

I’m working on a little console application to run a scheduled data import task.  During the debugging of the application I wanted the console window to remain open after the program had finished executing – by default it closes when the application finishes.  There seem to be two common answers to this problem.

June 8, 2010 | by

URL Re-Writing in ASP.NET Requires Form Action to be Re-written

On a project I was working on recently we ran into a problem where the combination of URL re-writing and  postbacks caused the page to post back to the wrong URL.  When you create an ASP.NET page with a <form runat=”server”> tag, ASP.NET will automatically output the action attribute to be the URL of the current page.  However, the URL that is used is not the original URL of the request, but instead the real URL of the page.  For example, when you are on the page “/services/web-design” the real request might be to “/services.aspx?service=web-design”.  When you do a postback, you will be returned to the ugly URL.

June 4, 2010 | by

Execute JavaScript when an UpdatePanel is updated

I’ve just spent a few hours banging my head against a wall trying to get ASP.NET to execute a JavaScript function each time an UpdatePanel is updated. Simply putting the script within the ContentTemplate tags does not work.  Instead, to get the JavaScript to execute on PostBack you need to use ScriptManager.RegisterStartupScript to register the script to be run.

June 4, 2010 | by

Setup email alerts from ELMAH when exceptions are raised

This is part of a series of posts on using ELMAH to handle error logging for your ASP.NET web applications.  We’ve already looked at how to get started with ELMAH and how to allow remote access to your error logs.  In this post we are going to look at how to configure ELMAH to send you an email alert every time an exception occurs on your site.  This is a really handy feature if you want to catch bugs early and keep your site running smoothly.

June 4, 2010 | by

Allowing secure, remote access to your ELMAH error log

This is part of a series of posts on using ELMAH to handle error logging for your ASP.NET web applications.  We’ve already looked at how to get started with ELMAH and how to send email alerts when errors occur.  Now we’re going to configure remote access to ELMAH’s error logs and add authentication so that only permitted users may read our exception details.

June 4, 2010 | by

Getting started with ELMAH: ASP.NET Error Logging and Reporting

This is the first part of a series of posts showing you how to use ELMAH to handle error logging for your ASP.NET web applications.

What is ELMAH?

From the official site: “ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment.”

June 4, 2010 | by