Here is a little trick you can use to spice up your asp.net registration pages. I will use ASP.NET AJAX to inform the user whether the username they have entered is available. Rather than use the UpdatePanel, I will slim down the amount of data going over the wire for each ajax request. I will accomplish this using the PageMethods feature. This tutorial assumes that you have a working knowledge of how to start an ASP.NET AJAX web application,...
Saturday, August 30, 2008
August 30, 2008
I've been trying to use labels with the AssociatedControlID property more often. If you aren't familiar with this property, it changes the behavior of the Label control. Rather than rendering the typical <span> html element, the Label control will now render a <label> html element with the for property set. This links the label to another server control. This is good for accessibility, allows hotkeys to be set...
August 30, 2008

Don't you hate it when you are idle on a web app for just a bit too long, and your membership session gets timed out without warning? Your users sure do! Often times the user may not even realize he has been timed out until he finishes completing a form, and clicks the submit button. At which time not only has the user lost his...
Friday, August 29, 2008
August 29, 2008
You've installed SQL Server 2008 on a clean machine and your vb script that uses DMO doesn't work. You're asking yourself: What the heck happened? Did those goofballs over @ MS hose me? Deprecation of DMO was announced in SQL Server 2005, but SQL Server 2005 still installed DMO. In SQL Server 2008 we've taken the next step down the deprecation path - we ship DMO but don't automatically install it. There are two places to get DMO: SQL Server...
August 29, 2008
In this tip, Stephen Walther demonstrate how you can create new LINQ to SQL extension methods that enable you to dramatically reduce the amount of code that you are required to write for typical data access scenarios. By taking advantage of LINQ to SQL, you can dramatically reduce the amount of code that you need to write to access a database. LINQ to SQL has given me back several weeks of my life that I would have otherwise wasted in writing...
August 29, 2008
I was in the middle of making so nice templates in order to generate some test data. I wanted to create Firstnames, Lastnames and Titles but also have them specialize by sex. So I have methods including GetMaleFirstName, GetFemaleFirstName and GetLastName. I have three xml files which have the data in and it occurred to me that I have not yet touched on LINQ to XML, so that is what I did. Of my collections I wanted to return...
August 29, 2008
Steve Smith, owner of ASP Alliance and Lake Quincy Media joins us today to teach us about some hidden gems in ASP.NET caching and performance. Steve’s expertise in this area comes from first-hand experience as Lake Quincy’s ad system serves over 60 requests per second and handles over 150 million requests per month. Steve is an ASP Insider, Regional Director, Microsoft MVP, INETA Speaker and fellow book author! What performance metrics are...