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 »
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.
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.
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.
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.
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.
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.”