Debugging from an ASP.NET and Azure Engineer. Posts are from customer issues and things I feel may be useful.
Entity Data Model
Trivia of the Day
Windows Home Server
Browse by Tags
Tagged Content List
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 allow the user to click on columns and sort by it...
12 Dec 2008
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 are using and what you want to use. Ajax control...
27 Oct 2008
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 which is where the compiler will optimize code to...
2 Oct 2008
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 with managed code and ways to optimize it. ...
2 Sep 2008
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 existing DataTable in a DataSet: Dim dc as new DataColumn...
6 Aug 2008
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. Well, thanks to this project. This is now...
13 May 2008
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 184.108.40.206. We have some existing customers using version 1 so we...
24 Apr 2008
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 like to have it use the same identity. Method 1...
22 Apr 2008
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 posted, but we plan on adding to it as we go.
25 Feb 2008
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 and resources . You can find these things at...
29 Jan 2008
Page 1 of 1 (10 items)
© 2013 Microsoft Corporation.
Privacy & Cookies