-
I used this since the beginning, thinking that this was a best practice, but without searching a lot. I found this article containing a brief history on this practice... I’ll let you decide if it’s a best practice to you. http://blogs.msdn.com/sourceanalysis...
-
10$ for Each of : JIRA : The best Issue Tracker Confluence : The best Wiki/Blog engine … and many others! http://www.atlassian.com/starter/ -f.
-
When calling execute Scalar, we always begin by calling it with some code like int i = cmd.ExecuteScalar(); What’s wrong with this picture?… what if, the first field of the first row is… NULL? so… int i; object o = cmd.ExecuteScalar(); if(o != null) ...
-
Ever wonder of a more efficient way to write multiple lines strings? Check this out… The first way... string myString1 = "This is the first line of my string.\n" + "This is the second line of my string.\n" + "This is the third...
-
I searched a lot and, based on an article from SANDEEP APARAJIT , I was able to query for unread email from my Exchange mailbox inbox, in about 15 min. Thanks! ServicePointManager.ServerCertificateValidationCallback = delegate(Object obj, X509Certificate...
-
Embedding SQL statement is sometimes useful. A good practice is to centralize them in a class, using public constants... public const string SQL_MYTABLE_INSERT = "INSERT MYTABLE (FIELD) VALUES (@FIELDVALUE)"; -f.
-
When adding a web service to your 2.0 .NET project, always begin by the same prefix, so, when the code will be generated, the namespace using will always be the same... like WebService.TheWSName and WebService.TheSecondWSName... -f.
-
Yes, we can now secure servers using free certificates :) http://StartSSL.com -f.
-
Ok, after trying to find a patch or a work around to access the write 64 bit registry node instead of the Wow6432Node, I found a … not very documented but simple way to do it... ${If} ${RunningX64} SetRegView 64 ${EndIf} -f.
-
For production product, usage of public should be only used for publicly accessible methods, because all public methods can be used by other assembly/application than yours. -f.
-
Yep, it was a bug, but it’s corrected now, 3 Steps to follow: 1. Change the mirrors Edit the file /var/lib/spamassassin/3.002003/updates_spamassassin_org/MIRRORED_BY and add http://daryl.dostech.ca/sa-update/asf/ weight=5 http://www.sa-update.pccc.com...
-
By default the LUN number is 0, when you insert in the dhcp server iscsi:ServerAddress.x.com::::iqn.2009-11.com.x:test The problem is that TGT is by default assigning 0 to the controller of the iSCSI drive, and the LUN number for the device itself is...
-
It’s not only a setting in the insance properties, you must also configure it using the SQL Server Configuration Manager. I had this problem when importing the AdventureWorksCycle 2008 database, and I found this article really helpfull. ref.: http://techpunch...
-
A 50% good program that is used, is better than a 99% good program that is not. http://www.joelonsoftware.com/items/2009/09/23.html -f.
-
The default behavior of WCF Webservice is the new wsHttpBinding. This is not compatible with .NET 2.0, so to use it you must change the behavior with the basicHttpBinding. The basic one is not secured, so if it’s a critical piece, you must use it with...