CodeAnalysis Posts



Silverlight Binding: Lesson Learned (Wednesday, February 17, 2010)

When working on a Silverlight application that recieved data from a WebService I notice that loading of an array of 1500 items takes a lot of time. With this problem, application launch that has 3 separate webservice lookups, took almost 5 minutes to complete.

 


Code Review No. N, or Do chimps write code better than us? (Tuesday, April 28, 2009)

I was inspecting an open-source code base which is a medical business application. So why am I reviewing the code base? I had a request to add persian calendar support to this application and I was trying to figure out how much time does this take and if it is possible. There are very serious issues here, I even don't know where to start! 
Filed under | 3 comments »



Efficient Code (Friday, January 30, 2009)

Writing code may look easy to some and hard to others, but some programmers always tend to write messy, smelling, ugly-looking, inefficient code. 
Filed under | 0 comments »



Application Security : The Very Least (Sunday, October 12, 2008)

When developing applications, security measurements should be thought of upfront. Security is even a greater issue when the application exposes an online data source, transfers sensitive data across the wire, etc. But what happens when a careless developer hard-codes significant security information into the application code, without even obfuscating the application? Well, you WILL get hacked sooner or later. Your system will be misused without you even knowing it, and let's hope you have a backup strategy, because there is a change that your whole database will be erased by malign hacker. Don't you agree? Connection string is hard-coded into 


Test Driving NDepend (Tuesday, September 09, 2008)

I have started using NDepend which, if you do not already know, is a code base analysis tool. I've head lots of good things about it, and I thought it was time to give it a try personally.Installation was as easy as extracting a zip file, and the application was good to run. I noticed application has recognized other tools in my toolset, such as WinMerge, Reflector, etc. automatically.I decided to run it on a Farsi Library project, which is a WinForm / WPF control library I've been working on. There are a couple of views that could help me