Geeks With Blogs
Practical .NET VB.NET
Deja Vu...
Does this ever happen to you? I was just a few minutes ago, working through a problem with sorting custom classes. I know that I did this before, but couldn't remember what I did. So, I popped a few search terms into Google, and came across a potential solution. Then I looked a little more carefully at the blog, and realized that the solution I found was mine... A year and a half ago... ......

Posted On Wednesday, June 27, 2007 5:07 AM

SQL Reporting Services
50% of my job is Web Development. The other 50% is managing a 2GB SQL database and web app (with about 1500 users). Part of that 50% is writing SQL Reporting reports. Up until the other day, I was having my users log into the web interface of S/RS and get their reports that way. I was talking to some other developers who use the same system, and they said that you can Proxy into reports using code. I dug into this a little bit, and in about 2 hours, whipped up a little VB.NET page that did the trick. ......

Posted On Thursday, April 26, 2007 7:11 AM

HttpHandler for Image Resizing

Is using an HttpHandler for image resizing the best way to go? 

If I have a site that gets a ton of hits, will the server be constantly pegged resizing all those images? 

Anyone have any experience, advice to offer a HttpHandler newbie?


Posted On Friday, February 17, 2006 11:48 AM

Cache Crazy
I know it's probably not "best design" to go Cache Crazy, and cache everything under the sun. But, for a lot of things it makes sense. For data that changes often, it may not be worth it. It's possible that every time you cache something that changes often, you'll just be hitting the database again to cache the new data. I say, if you've got the memory, go for it. Second comment. It's important to remember all the ways in which you're caching the data. For example, I'm not only caching individual ......

Posted On Saturday, February 11, 2006 7:24 PM

Multiple Content Place Holders on Single Master Page
As it turns out, it is possible to have multiple content areas on a single master page.Master Page:1 <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="Server"></asp:... <asp:ContentPlaceHolder id="ContentPlaceHolder2" runat="Server"></asp:... Page:1 <asp:Content ID="Content1" ContentPlaceHolderID="Conte... runat="Server"></asp:... <asp:Content ID="Content2" ContentPlaceHolderID="Conte... ......

Posted On Tuesday, January 31, 2006 8:15 AM

Sorting a Custom Collection with Nested Class Types
I have the need to sort a custom collection that contains sub classes. For example, I've structured my classes like this: Public Class Machine Private _Model as Model Public Property vModel as Model Get Return _Model End Get Set (ByVal Value as Model) _Model = Value End Set End Property Public Sub New() _Model = new Model End Sub End ClassPublic Class Model Private _ModelName as String Public Property ModelName as String Get Return _ModelName End Get Set (ByVal Value as String) _ModelName = Value ......

Posted On Thursday, January 12, 2006 4:09 PM

I like the new MultiView Control

So, I'm just getting into .NET 2.0.  So far, I see what I like.  Especially the MultiView control.

Simply place a MultiView Control on your page, add a couple of Views, and in the script, do a MultiView1.SetCurrentView(view1).  Pretty straight forward.

At some point, I'll be trying to figure out how to utilize the Multi View control with Ajax.

Posted On Tuesday, January 10, 2006 11:51 AM

Ajax.NET and DataBound Server Controls
Over on the AjaxPro Google Group, a user asked a question about databinding a repeater using Ajax. The response has always been "A repeater (or any other server control) is rendered on the server, and then passed back to the client as HTML." One of the purposes of Ajax is to reduce the amount of bytes being sent back and forth between server and client on non-initial load functions. In this post, the usual answers were given. Loop through the dataset with JavaScript, then display the results. This ......

Posted On Wednesday, February 22, 2006 8:28 AM

Is there a type converter for the FontInfo Class?

I'm working on developing a few server controls, and need to have a few "Font" properties in the control.  Is there a type converter for the FontInfo class?

Anyone know?

Posted On Tuesday, December 27, 2005 1:55 PM

Detecting Design Time in ASP.NET

Here's a good little post about detecting design time in

I've been developing a suite of in-house tools lately in the form of custom controls, and outputting html to the designer has been critical.  Good Stuff

Posted On Monday, December 26, 2005 10:21 AM

Copyright © Kyle | Powered by: