"Tech" PodCasts

I’m surprised how hard it is to find a good tech PodCast that talks about coding and best practices. I stumbled upon Craig Shoemaker’s Polymorphic PodCast first, and haven’t found anything that comes close to the quality of its content since. I think his show should make it somewhere higher thank #27 on Podcast Alley’s list of top tech podcasts. Of course, I’m going to be biased towards shows that cover the technologies I develop in (.Net, Oracle, etc.) so perlcast and anything with mac in the title are out for me. But half the shows on that list are mostly music (i.e. daily source code).

Too bad the .Net show won’t podcast just because the word "pod" is in the title.

Trimming down that ViewState

I’m developing an ASP.Net site for a client that is very concerned about bandwidth. My first objective is to reduce the size of the hidden veiwstate data returned in the form.

The worst culprits seem to be the data display controls, especially the DataGrid. I found that for displaying small amounts of data in a table (20 rows by 5 columns) the page with a DataGrid returned over twice as much view state data (5,716 bytes vs 2,512 bytes) as one using a Repeater to render the table.

Worse yet, once I started returning larger amounts of data, even the Repeater was generating a heafty amount of veiw state data. Since these pages are essentially run once search result pages, I’ve added the following to the Page directive

EnableViewState=”false”

ASP.Net still returns view state data for the page, but only a small amount. To completely remove it from the page, you have to remove all runat=”server” tags.

The following article also shows how to trim the ViewState data on a control by control basis:

http://www.codeproject.com/aspnet/hmvsiooc.asp

Excel output from ASP

I like the use the GetString method of the Recordset object in some of the above.

Charts in ASP

I’m going to need a chart tool for ASP for a project I am currently working on. A quick survey of what is available on the web yeilded the following:

I’m going to need a chart tool for ASP (classic) for a project I am currently working on. A quick survey of what is available on the web yeilded the following:

More recently, I found Steven C. Orr’s article on Bar Graphs to Go, which is a simple implentation of a bar chart using an ASP.Net control to render a no frills (and no overhead) HTML/CSS bar chart.