Geeks With Blogs


Locations of visitors to this page

View ► Sanjay Uttam []'s profile on LinkedIn

Add to Google Reader or Homepage

Sanjay Uttam Predominantly .NET December 2008 Entries
Dynamic Image Loading, Caching, & Performance
I came across an interesting blog posting and comment today doing some research on ASP.NET performance. Essentially, Alik Levin mentions that if you're loading images dynamically (either from a file-system or DB) you will not be taking advantage of browser/client caching out-of-the-box. I'm using a very simple HTTP Handler in one of my applications, the handler, well, handles serving up images in my application - something there are lots of. So it seems like it makes a lot of sense to have the browser ......

Posted On Tuesday, December 30, 2008 6:15 PM

ASP.NET Performance Tips
In the post below I am going to run down a short-list of some of the less-popular performance tips and the reasoning behind them. There are loads of blog postings and articles on performance enhancements, and I urge you to check those out as well. Onto the good stuff... Session.ReadWrite versus Session.ReadOnly It goes without saying that using the Session object will incur some performance overhead so if possible it should be turned off in the web.config. That said, If you’re using the Session ......

Posted On Tuesday, December 30, 2008 3:59 AM

Internet Explorer, CSS, and Image Quality
Came across an interesting post on the Joel Spolsky's blog the other day...Seems like all browsers besides IE use bicubic interpolation for image scaling.. As Joel mentions though, all you need to do is add img { -ms-interpolation-mode:bicu... } to the appropriate section/tag in your cascading style-sheet. Joel also has an example on his blog post if you'd like to see the evidence. Technorati Tags: CSS,Internet Explorer ......

Posted On Sunday, December 28, 2008 3:06 PM

How do you post to GWB?
Well, I think the title is pretty self-explanatory...but I am curious.  I usually log into GWB and use the web-based interface but I'm finding it's getting a little annoying, especially when I use SyntaxHighlighter and need to code PRE tags. do you post to GWB? 

I'm looking for a better method :) 

Posted On Saturday, December 27, 2008 7:44 PM

MS AJAX 4.0 New Feature; Templates
John Katsiotis has a great example up on one of the new ASP.NET AJAX Features, client-side templates. This means that you can refer to properties in your HTML. John has a much better example on his blog, but essentially you can do stuff like this: And your .NET code would basically return an object of type employee to your HTML. The framework will handle populating the input values based on the properties names assigned (e.g., value="{{ PropertyName}}"") public static List GetVal() { List emplist ......

Posted On Saturday, December 27, 2008 7:30 PM

Syntax Highlighter...Finally
I'll admit this post is mostly a reminder for me. But in any case, I'm going to start using syntnaxHighlighter on my blog in an effort to clean things up a bit. I'll also update older posts where code is posted with this logic if it's a post that is viewed frequently. Link to support languages for SyntaxHighlighter Link to usage example ......

Posted On Tuesday, December 23, 2008 2:45 PM

Another Abstract Factory Explanation
Please note, I've moved this post and cleaned it up a can find it at the following URL:


Posted On Monday, December 15, 2008 10:59 AM

Turning validators on from Javascript
Oh the adventures of JavaScript and ASP.NET. Can you turn on validators [RequiredFieldValidators or otherwise] from JavaScript. Yes, and actually it is easier than I thought. ValidtorEnable(ControlId,Tr... Ex: //You could easily make this prettier by not hardcoding the ClientID here ValidatorEnable( true); Keep in mind, you need to pass the object not the clientID of the object. Source: ......

Posted On Tuesday, December 2, 2008 4:56 PM

Copyright © Sanjay Uttam | Powered by: