|
Browse Blog Posts by Tags
All Tags » .NET » TIPS (RSS)
-
A project our team (in my employer) has been working on for a good number of months now makes extensive use of Windows Communication Foundation (WCF). WCF is nothing really ground-breaking; its significance is that it unifies the various inter-process communication facilities into one common programming...
-
I am currently working with conversion of ASP Classic web application to ASP.Net 2.0 and I have to deal with a lot of client-side script. Before, I used to insert an alert( sampleValue ) to be able to view the current value of a variable until I found out that about “debugger” keyword in JavaScript....
-
Here are some tips on using Lutz Roeder's Reflector that some of you might not yet know. Enclose search parameters with quotes for exact match. Use AssemblyList for sets of assemblies (I currently have .NET 1.1, .NET 2.0, CSLA 1.1, CSLA 2.0, NHibernate, NUnit, MbUnit, Infragistics) Analyzer rocks! I...
-
I used to use this ConstrolInspector utility from CodeProject utility to know the sequences of events for a control back when i was still a component developer. OT: An ex-officemate of mine, still with my previous employer asked me about this utility through mobile phone. I wondered why she did not email...
-
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...
-
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...
-
we've all seen why some of the keywords back in the DOS days (CON, COM1, COM2, etc.) are not allowed as filenames or folder names (directory names for the oldies hehehe) in the local community thread . do you also know that you can't have the same name for a subfolder or a file in the same folder? logical...
-
the development machine of my teammate is pretty messed up so i assumed that the hooking up of visual studio ide events on his machine is not working. one of the features i love with visual studio is when it automatically highlights the currently active code sheet in the solution explorer and this feature...
-
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 of resharper to browse to the next method...
-
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 string instance to be passed into it? If it's not...
-
We were discussing earlier about making some of the unit tests excluded with pre-processor directives (those tests which interacts with an external system which takes time) when my officemate brought out the ConditionalAttribute class. Basically you apply it to a method with a string as parameter termed...
-
It was the first time that i used NUnit and i figured out this morning when i was revising some of the tests that in some of them, i was still using Assert.IsTrue(objExpected == objActual) istead of Assert.AreEqual(objExpected, objActual). Although the same constructs will yield the same results, using...
-
george shepherd's windows forms FAQ ( http://www.syncfusion.com/faq/windowsforms ) is my primary resource on everything about windows forms. i was surprised this afternoon that he also has an asp.net version of the FAQ. http://www.syncfusion.com/FAQ/aspnet
-
i am a fan of custom business objects so i usually have a strongly typed collection inheriting from CollectionBase. i had a requirement to sort the list so i googled and saw brendan tompkins' CollectionView class , which is similar to the DataView class of the System.Data namespace for filtering and...
-
you want to know the queries being executed by your application which uses ADO.NET. sql profiler comes in. however you got agents running (whatever they are), you also browse the tables using Enterprise Manager or Visual Studio and you want them to be excluded in the watch list. Filter is the key, Under...
|
|
|