Browse by Tags

Linq features to make smaller code
I have been working on some code that involves using Linq to query a database and came across something that I thought was really useful.  So here is the situation: We have a query that we want to be able to sort in multiple ways.  This will Read More...
Posted 12 December 08 09:50 by Tom | 3 Comments   
Filed under ,
Creating an Auto-complete textbox
It seems that auto-complete is very popular these days with different sites.  So I wanted to show you how you can create your own Auto-complete textbox on your web sites.  There are two ways that this can be accomplished depending on what you Read More...
Tail calling in .NET
Thought I would give a little details on one type of optimization that it is possible to see and explain what it is and how it affects things so that if you come across it, you will understand what is happening. So there is this concept of tail calling Read More...
Posted 02 October 08 06:00 by Tom | 3 Comments   
Filed under , ,
Improving Time-Critical Code written in C
Writing web pages is very similar to writing any other type of code.  You have to understand how it is going to be used and where you need to really make things run as quickly as possible. There are a number of tips on this blog already that deal Read More...
Inserting a dynamic column into a DataGrid and sorting by it
We recently had a customer that wanted to sort a dynamic column in a DataGrid and so I thought it may be something that others would like to be able to do. You get your data for your dynamic column and then do something like below to insert it into an Read More...
Posted 06 August 08 06:00 by Tom | 2 Comments   
Filed under , , ,
Debugging .NET Framework Source Code
I am not sure how many people are familiar with the .NET Reference Source project, but if you do a lot of debugging of .NET code, chances are that you have had a situation where you wanted to be able to step into the .NET Source from within Visual Studio. Read More...
Visual Studio Designer not Respecting Assembly Binding Redirection
So we recently came across an issue where Visual Studio 2005 and 2008 Designers were not respecting assembly binding redirection. Scenario We have a file which is now version 2 and stored in the GAC .  So the assembly version is 2.0.0.0.  We Read More...
Making an Asynchronous Call using the Impersonation Identity
If you try to make an asynchronous call, you will notice that the thread that executes the call doesn't run under the same account as the thread that called it, assuming you are using impersonation. There are a number of ways to change this if you would Read More...
Posted 22 April 08 10:20 by Tom | 5 Comments   
Filed under , , , ,
ASP.NET Support Team Code Samples
A few weeks ago, I mentioned the new MSDN Code Gallery .  Well we now have a page setup for the ASP.NET Support Team .  Feel free to check it out, we will be updating it with samples to help customers. There are only a few samples currently Read More...
Posted 25 February 08 12:40 by Tom | 1 Comments   
Filed under ,
MSDN Code Gallery
Samples are always useful and we can never have enough samples.  So in this regard, we now have a new site that is dedicated to code samples, snippets, and other bits of code.  As Soma announced on his blog, MSDN Code Gallery - snippets, samples Read More...
Posted 29 January 08 09:56 by Tom | 1 Comments   
Filed under , ,

Search

This Blog

Page view tracker