String Concatenation in .NET – what really goes on? Mar 21, 2010 There are a number of ways to concatenate a string in C# and other .NET languages. Is there a *best* way? ...
Programming to Interfaces or Objects? Mar 21, 2010 The other day, I was asked to add some functionality to code that regularly instantiates objects as interfaces, and I was wondering what exactly is the point? ...
Fluent NHibernate error: Unable to cast object of type ‘Oracle.DataAccess.Client.OracleConnection’ to type ‘System.Data.Common.DbConnection’. Mar 20, 2010 After developing an application in Fluent NHibernate, I’ve received the following Error and Stack Trace: Unable to cast object of type 'Oracle. ...
IHttpModule Gotchas @dominicpettifer.co.uk Mar 13, 2010 I came across this blog post about the Init() method of an HttpModule being called more than once. The solution is simple: create a boolean flag to indicate whether or not the app is started and an empty object to lock. ...
ArgumentOutOfRangeException : Index was out of range. Fluent NHibernate commit Mar 3, 2010 I came across the error ArgumentOutOfRangeException : Index was out of range while trying to perform a commit on a single entity with 4 nested entities and 3 properties. ...
log4net configuration in .NET 3.5 Mar 1, 2010 Step 1 Add Reference Right click on the “References” folder and choose add reference. Browse to the location of log4net and add it to the project. ...
Google Maps v3 marker.set_map deprecated Mar 1, 2010 After the 8.8 earthquake outside of Chile this past weekend, I posted my Quake Tracker to twitter/facebook so people could easily visualize where the quake occurred. ...
Basics: Posting data to a remote server via .NET Feb 20, 2010 Class for Remote Posting: public class RemotePost { #region Fields and Properties private string _url; private string _postData; private byte[] _data; /// <summary> /// URL to which the Post is sent /// </summary> public string Url { get { if (! ...
Explaining advanced features of C# 3.0 Feb 15, 2010 C# 3.0 Func delegates and Expressions In this post, I’ll attempt to clarify the meaning of Func delegates and Expressions. ...
Google Chrome Extension: New Tab Redirect! STEP BY STEP Feb 13, 2010 If you’ve reached this this page in an attempt to find instructions for uninstalling the extension here they are: Navigate to chrome://extensions Click ‘Uninstall’ below ‘New Tab Redirect! ...