Paging is not so easy as most developers think it is
Published 21 November 8 4:7 PM | Ramon Smits
A lot of websites use somekind of paging mechanish to limit the results shown. Either to save bandwidth where results are served in pages or because search criteria should be made more specific by not having paging but just limit the maximum records returned...
What's your worst day as a coder?
Published 11 November 8 11:39 AM | Ramon Smits
Jeremy has a nice post called what's your worst day as a coder and I needed to post my own list: When I need to fix a bug in a module and opening a 7500+ LOC (non generated) class file (that really happened somewhere in the past). When I interview...
Profile / ProfileBase SetPropertyValue
Published 6 November 8 6:41 PM | Ramon Smits
Just fixed a very nasty bug in one of the applications I'm developing. In the database world there is a name for this bug which at the moment does not come up in my mind, I think it is called a 'lost write' but I'm not sure. Somewhere...
Filed under: ,
WCF and http (gzip/deflate) compression and Silverlight
Published 6 November 8 11:11 AM | Ramon Smits

The last couple of days I've tried to see if it was possible to make use of standard http compression on WCF services as I had very good experiences with WSE and even asmx webservices that used http compression to save bandwidth - but more important - and have better response times for large xml messages.

...
Network Load Balancing (WLBS) and virtual machines
Published 24 October 8 10:23 AM | Ramon Smits
We where having trouble configuring a new network load balancing (WLBS) cluster. We have several host machines that each run a guest where all guests should be part of one cluster. We started by preparing the first guest: Created diskimages Installed...
Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.
Published 22 October 8 3:57 PM | Ramon Smits
Anyone will get this message sooner or later so the normal steps I usually do are: Check if I have read/execute permissions on the file Check if it is blocked because it is an internet download and then unblock it Check if I'm the owner Well today...
Filed under: , ,
Remote Desktop Copy & Paste
Published 17 October 8 11:44 AM | Ramon Smits
In Microsoft Virtual PC you can drag & drop files between your host and the virtual machines and this was (I thought) missing in remote desktop. But this feature isn't missing it is just disabled at default. To enable it you must share your local...
ForEach method exceptions and events
Published 2 October 8 11:58 AM | Ramon Smits
I just read this article by DigiMortal about List<T>.ForEach and exceptions . His assumption was that if an exception occurs while processing one of the items that the next item would still be processed which is not that case. Maybe he was aware...
NHibernate implicit join quirk
Published 19 September 8 11:14 AM | Ramon Smits
Recently I had a problem where in an HQL query the result contained duplicates. I used implicit joins in the my query and it looked like the following: from Order o where (o.Code like :literal OR o.CustomData like :literal OR o.Customer.Code like :literal...
Google Chrome 'Paste and go'
Published 18 September 8 3:30 PM | Ramon Smits
I already love all those nice little details in for example gmail but I just discovered a nice feature in Google Chrome. When you have an url on your clipboard that you want to paste in the address bar you just right click it and then this popup context...
Filed under: ,
Import/export by using DataSet WriteXml and ReadXml
Published 2 September 8 10:5 AM | Ramon Smits
I just tried to create a simpel import/export feature in one of our applications based on XML. My first thought was: Create a typed dataset and for export just serialize it to XML with the WriteXml method and for import deserialize it by using ReadXml...
Just bought : Creative Zen Stone
Published 29 August 8 10:44 AM | Ramon Smits
I was browsing the internet for a couple of small mp3 players. There is ofcourse the Apple brand with several players. But I have something againts Apple behaviour towards their audio stuff. So my primary requirements were: Volume adjustable Must be recognized...
WCF and large messages
Published 20 August 8 1:46 PM | Ramon Smits
Today I got this nice InvalidOperationException: System.InvalidOperationException: There is an error in XML document (11, 11657). ---> System.Xml.XmlException: The maximum string content length quota (8192) has been exceeded while reading XML data...
Filed under: , , ,
You want C:\Users on XP too? Read here how
Published 13 August 8 6:32 PM | Ramon Smits
At both home and work I use Vista and XP resulting me typing "C:\Users" in XP and "C:\Documents and Settings" in Vista which - of course - don't work. You cannot really change those paths except when you install Vista or XP with...
Filed under: , , , ,
Appending data to a sql text or ntext column
Published 20 June 8 1:52 PM | Ramon Smits
Today I came accross a problem where nvarchar data got larger than the maximum that can be stored in a record. I had to convert to a ntext column and append the data to it. I quickly found out that I needed to use the UPDATETEXT function in combination...
Filed under: ,
More Posts Next page »