|
Browse Blog Posts by Tags
All Tags » .NET » techie (RSS)
-
One of the things I like with MbUnit is the parameterized test methods with RowTestAttribute . This gives you the ability to write just a single test case to test a method with parameters. As I was coding my formula parser i bumped into a limitation on .NET's attributes where you cannot supply a decimal...
-
Do you have any idea why the following test case fails? Imports NUnit.Framework <TestFixture()> _ Public Class ArrayTests <Test()> _ Public Sub ArraySize() Dim myArray(5) As Integer Assert.AreEqual(5, myArray.Length) End Sub End Class The reason is one of the differences between vb.net and...
-
My current project uses a double data type for its values and i have raised a suggestion to convert it to decimal data type instead. I remember that it is recommended to use decimal over double for financial applications because decimal data types have greater significant digits compared to floating...
-
Whenever you want to format a currency, date, etc. for your application, try to avoid hardcoding your custom format's in your BoundColumn's DataFormatString, ToString format parameter, etc. More often that not, you'd want those formats to be the same application-wide so, try to configure a custom CultureInfo...
-
my current requirement is to support a formula parser for our application. although it supports just a subset of the common MS Excel functions, what's trivial for me is the support for grouping symbols. we had a similar requirement back in college in parsing mathematical expressions but we ended up not...
-
i noticed yesterday that my double quote key is switched with the @ key in visual studio. i tried it in notepad and it seems to be working. i'm glad i found a helpful post in the msdn forums this morning on how to fix this and it turns out that i have two language settings installed, US and UK, i...
-
i was laughing the other night when i heard that scott hanselman has some software on its 4th month evaluation period. i have been evaluating resharper (hahaha) i think for the nth time (poor me). it was the reason why i got frustrated when yahoo mail now requires credit cards for signing up.
-
Frans Bouma linked to "The 7 Deadly Sins of Software Development" blog post of Jon Skeet. His website at http://www.yoda.arachsys.com/csharp was one of my resources when learning C# a year ago and once in a while, i encounter a thread with him in usenet (usually under c#) about performance (you'll find...
-
For the past years of my career as a .NET developer, i can hardly remember that i used interfaces as parameters or return types from my business objects. DAL interfaces are out of this context since you want your DAL methods to be generic for whatever datasource. For those two years, I am really a fan...
-
Found this interesting analogy for the .NET framework: http://ftponline.com/weblogger/forum.aspx?ID=18&DATE=12/14/2005 Many people are intimidated by .NET. To explain why, I've been using a metaphor. For a developer doing routine work, I think figuring out how to make the .NET Framework do something...
-
I was reading around ASPNET forums when I got this interesting information about the order of directories returned by the DirectoryInfo.GetDirectories() function here by an MVP. "The rule of thumb used to be that the NTFS file system would return file names in alphabetical order, while a FAT file system...
-
Sahil Malik has another funny post regarding Bad Application Architect Diseases . I chuckled upon reading the section about XMLitis. Here is an excerpt: XMLitis : This is a dangerous disease that creeps upon you unknowingly. Before you know, you start writing emails in XML, you start dreaming in XML...
-
I have long wanted to have a utility to know what particular windows process is using a particular assembly. Sometimes you want to delete an assembly which you can’t because a process, most of the time a windows service is still using it. I finally googled yesterday and saw Process Explorer . I can also...
-
Today's WTF made me laugh as hell, poor Gwen...
-
I was googling some time this week for a particular .NET class and I bumped into http://winfx.msdn.microsoft.com/library/ . I wonder why it is better than the beta 2 docs .
|
|
|