July 2006 - Posts

Resharper Tip: Move to Next/Previous method
Published 07-28-2006 3:49 PM | jokiz
i haven't really abused the power of resharper and since i have been currently shifting most of my mouse activities with keyboard shortcuts, easy navigation on a particular code sheet is a requirement. i finally am using goto next/previous keyboard shortcuts...
referencing gac assemblies will result to broken build
Published 07-28-2006 1:15 PM | jokiz
i was creating this excel workbook reader module so i referenced the excel com interop assembly which resulted in a failing build in our build server minutes after i commit. the problem is because the said assembly is in my machine's global assembly cache...
ThreadAbortException and Response.Redirects
Published 07-26-2006 8:22 PM | jokiz
i was surprised to find out that I got a number of ThreadAbortException error logs on our application. turns out that everybody using Response.Redirect(string) overload is also experiencing it. Scott Hanselman experienced it here and there is a kb article...
Filed under: , ,
safe commit with continuous integration
Published 07-19-2006 10:33 PM | jokiz
whenever i have a major change in our projects (e.g. add, remove, rename files), i always try to check if i've broken something by running a nant build locally. everybody here is monitoring our build server and it is a bad impression to break something...
problematic ankh
Published 07-19-2006 10:32 PM | jokiz
i have encountered a lot of errors using ankh to checkin my changes with subversion for the past week. it's just that there are few updates on the development of ankh and tortoisesvn is more reliable. although i admit, it's a little tedious going to explorer...
null check for strings
Published 07-19-2006 10:31 PM | jokiz
Strings are reference types and as such, they can have the value null . If you have a method which accepts a string as its parameter, would you check the parameter for null or empty string and throw an ArgumentException instance if you expect a valid...
Filed under: ,
MSI editing with Orca
Published 07-19-2006 10:30 PM | jokiz
an ex-officemate before asked me on how to remove the "Just me" option for .NET application setup packages when i bumped into this KB . i haven't really checked out Orca MSI editor until last week when i couldn't figure out how to change the default virtual...
Filed under: , ,
Visual Studio Web Setup Project
Published 07-18-2006 12:41 PM | jokiz
I am currently reading Chapter 8 - Project Deployment of Pro Visual Studio .NET . It was the first time i noticed that there are a number of editors for the Setup project of Visual Studio (File System, Registry, File Types, User Interface, Custom Actions...
Basic Date Picker Control Update
Published 07-18-2006 11:53 AM | jokiz
We have decided to use the free BDPLite control as the date picker control for our small web application. The ease of use of the control and its simple style gave me the push to use it (and the prompt reply from its product manager for some concerns)...
Filed under: , ,
Overriding Equals and GetHashCode
Published 07-17-2006 4:00 PM | jokiz
Often, you'd want both Equals and GetHashCode to use the logical key to compare instances of a particular object. Example, i have a User class with FirstName, MiddleName and LastName which comprises its logical key meaning and object with FirstName: ...
Filed under:
jokiz day today
Published 07-13-2006 3:07 PM | jokiz
today is my 26th birthday. mag-treat sana ako kaya lang wala yatang nakakaalam sa developer community, :p
Filed under:
to post or not to post
Published 07-12-2006 9:43 PM | jokiz
i have done this a number of times, posting comments on code smells encountered with my teammates or with some code that i bumped into. sometimes ranting, sometimes raising some key points for other developers to notice. i'm not afraid that they might...
Filed under: ,
setting up data for persistence tests
Published 07-12-2006 3:55 PM | jokiz
i find writing persistence tests for business objects to be tiresome. imagine setting up all the data that a current business object needs, including all the references needed by the test business objects to be saved. initially, the tests assumes a default...
Filed under: , ,
Error: Can't read file (subversion server path)file.tmp, End of file found
Published 07-12-2006 1:23 PM | jokiz
i was about to check in my changes last night but before that, i wanted to update my copy. i was presented with a dialog with a message of Error: Can't read file (subversion server path)file.tmp, End of file found i tried to do a clean up and update a...
trivial parsing of csv files
Published 07-06-2006 10:31 PM | jokiz
i thought parsing csv files will be easy. initially, i was using just String.Split(',') but problem is when fields got legal commas in them like addresses. seems that regular expression is the way to go and i have seen a number of implementations in usenet...
Filed under:
More Posts Next page »