Browse by Tags

04 April 2007
ASP.NET: Url-Rewriting In Migrated Website
Wow, it was January since my last post! sorry guys I'm was very busy coding, monitoring our house' dev't in province, preparing my relocation and some business matters. Anyway, a fellow filipino developer at msforums.ph raised the question if its true that URl-Rewriting "damage"... Read More...
23 January 2007
ASP.NET: Utility.TryParse() To Better Handle Parameters
In ASP.NET, one of the tedious things to do is to get values from query string parameters, cast/convert to proper types and assign to local variable for further processing. Initally most developers simply code like this: 1 int orderId = Request.QueryString[ "order_id" ]; 2 OrderBLL orderManager = new... Read More...
16 January 2007
.NET: Advanced Data Paging with Sorting In SqlServer 2005
dwarvend, a former teammate in my frist company once asked me about data paging large resulsets in ASP.NET. Data paging in SQL Server 2005 is relatively easy with new RowNumber feature but supporting dynamic sorting is little tricky. I have this executable to script to demonstrate this sorting. --check... Read More...
16 January 2007
L10N: Maintainable Resex Files
When you plan to make your project multi-language and you are nearing its completion it is not smart to put those resource strings on a .resex files and edit right from your IDE. Why? Simply because it is not maintainable and hard to track changes whenever you add new entries. Also, your translators... Read More...
15 January 2007
.NET: Redundant ToString() method
It is only when I used Resharper that I learned I have been redundantly calling ToString() method when concatenating other types with a string type and assign it into string variable. The code below work just fine despite different types involved in the expression. 1 int value1 = 100; 2 decimal value2... Read More...
Filed under: ,
04 January 2007
ASP.NET: Avoid name collisions and data loss, keep those keys out of code-behind
If you have developed ASP.NET applications you might share the same sentiment of forgetting session keys, cache item keys and query string variables. It is very important that you document each of them outside your code to avoid name collisions and accidental data loss. Sometimes you will forget those... Read More...
Filed under: ,
17 December 2006
L10N: Will your translators understand your RESEX files.
In few days I have to hire a Danes translator and I wanted it to be easy for her to encode[:) of course!] and be guided properly what to put in. Initially I thought a friendly naming on resource ids is sufficient, but I was wrong. It won't help her because different pages share the same resource strings... Read More...
14 December 2006
.NET: Increase Application Perf with ViewState Persistence Tweaks and Optimizations
I was amazed most of us hate ASP.NET ViewState for its default poor implementation which if not taken into cosideration would kill our applications performance, client resources, and drive shoppers away. Its frutrating... If worst case you haven't heard of ViewState and I assume you are probably new... Read More...
03 December 2006
.NET: In the midst of CSS browser incompatibilities, use conditional comment flags
I hope that one day I will wake up that all web-shoppers are using IE7, firefox and opera... and IE6 will be burned into forgetten in the e-commerce arena. I hate it when simple CSS rules never worked on IE but works fine on Firefox, Opera and Safari where 80% of our consumers uses IE6 and 20% users... Read More...
23 November 2006
The best things are free...free developer tool licenses
I'm probably one of the luckiest developer ;) as I have my developer tools licensed, given to me for free. Some i won from simple quiz, some are just gift from friends. He'res a list. I won these tool during VS 2005 Launch Seminar in a Training Center, a complete suite of: Visual Studio 2005 Standard... Read More...
12 November 2006
.NET:When caching degrades application performance
You might wonder how come caching can cause infinite loop and degrade application performance. ;) This afternoon I have been optimizing my project and one of my strategies is to do caching on code. But instead of getting faster pages, it gets worst and my partner complaints that it seems I'm getting... Read More...
08 November 2006
L10N: The world is flat, start localization on your database
When you are developing software product to be catered to diverse customers, it must be a standard to localized your software. With .NET this has never been easy, on .NET 2.0 its even easier with striongly typed resource files. But localizing application must be part of the architectture and should not... Read More...
08 November 2006
L10N: Changing cultureinfo on a multithreaded application/service
Today, I have written a service to be deployed on a server to manage creation/tracking of orders and manage sending different emails to customers. I designed it to be multi-threaded and at first I want to use System.Threading.Timer but its complexity is not suited on a simple server process like my requirement... Read More...
02 November 2006
SQL Server: Incorrect decimal column's scale may mean lost money
I have been profiling my codes and my scripts trying to debug why I have lost lots of .50 cents every transaction, given I always use the decimal datatype when computing currency values. The business logic layer persists correct values and profiler shows result with its fractional part being passed to... Read More...
02 October 2006
.NET: Enhanced debugging with VS2005 Service Pack 1
I was about to install VS 2005 Web Application Project when it prompts me to update my visual studio so I downloaded the VS2005 Service Pack 1 here and succesfully installed it. Then I went out and back in again to resolve a reported issue on my project and I was surprised the yellow error page of ASP... Read More...
More Posts Next page »