Internet Explorer 8 Script Debugger

Ok IE 8 may not be the best browser in the world (I didn’t have the change to play with the RC as I have Windows 7), however it’s javascript debugger is much more friendly than Firebug’s and definitely more lite than the fully-fledged Visual Studio JS debugger.

Compression Error with IIS

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

This bizarre error seems to be caused by custom HttpResponse filters (when using static html pages on IIS 7).

ASP.NET Ajax WCF service with JSONP

Download the samples from here. If you add the JSONP* classes to your App_Code folder you may wonder what assembly to add in web.config for JsonpBindingExtension:

Html Editor for ASP.NET

Having tested all the visual html editors for .NET, the best one is definitely this one.

Compact Framework Timeout at 3rd Request

You may find an unexplainable Timeout error happening after two usages of HttpWebRequest, even so the destination URL reponds in a timely fashion. If everything you have googled did not fix it, try to use Close on each HttpWebResponse.

ASP.NET Session State Error

The famous session state error:

Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.

can be fixed most of the time by using the well-known 3 steps, found here. If that *still* does not fix it, I found that the IIS7 setting runAllManagedModulesForAllRequests=”true” on system.webServer / modules makes the error go away.

ASP.NET Invisible Controls Databinding

What pisses me off about ASP.NET’s web controls is that they are databound even if they are invisible (that is, visible = false). This obviously sucks as you’ll end up with unnecessary queries. A solution would be adding the controls at runtime depending on what tab page is visible, but that’s a terrible workaround…

Urbee iPhone version is ready

Get it from AppStore.

UpdatePanels vs real AJAX

UpdatePanels are cool and very easy to use however the entire page is processed on the server, even if you need only a tiny piece of info. A better solution is to use WCF services + ASP.NET AJAX integration to retrieve only the information you want, check these samples for more info. It’s surprisingly easy – give it a try!

Nokia Wheel

Ok the Macbook Wheel is a nice joke but Nokia had launched not one but two mobile phones with few buttons and a wheel as the only input interface.

Here is the old Nokia 7280:

And its successor the Nokia 7380: