Tags
.NET ADO.NET AggregateException Anti-pattern asp.net ASP.NET MVC C# C# 3 Code Quality ConcurrentDictionary Conference CTP/Beta Database data design DDD DDD Scotland Debugging design patterns error handling Extension Methods fun Google Analytics hiring IIS Installation learning LINQ object oriented design parallelisation parallelization refactoring security software development practices Spatial SQL SQL Injection Attack SQL Server SQL Server 2005 SQL Server 2008 unit testing virtual earth visual studio Visual Studio 2008 Windows 7 Windows VistaArchives
- February 2012
- January 2012
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- March 2007
- February 2007
- December 2006
- July 2006
- April 2005
Category Archives: Tip of the Day
Tip-of-the-day: Columns in CSS
The CSS Multi-column layout module is a Candidate Recommendation that allows CSS to specify various aspects of column layout for page flow. It has some implementations in Chrome and FireFox but it does not work in IE yet. (I’ve not … Continue reading
Rewiring the users and logins in SQL Server
As a developer I find that I’m frequently backing up and restoring SQL Server databases between servers for development and testing purposes. However, each time I do the link between the login (a server concept) and the user (a per … Continue reading
Posted in Software Development, Tip of the Day Tagged SQL Server, SQL Server 2005, SQL Server 2008 Leave a comment
Setting the language on a iPad to UK English
Out of the box the iPad is configured to display in English. Sounds reasonable for an iPad bought in an English speaking region. And considering it was bought in the UK I would have assumed that the simple language moniker … Continue reading
Posted in Tip of the Day Tagged Apple, internationalisation, internationalization, iPad Leave a comment
Tip of the day: Expire a cookie, don’t remove it
I recently found a bug in my code that I couldn’t fathom initially until I walked through the HTTP headers in firebug. In short, you cannot simply remove a cookie by calling Remove(cookieName) on the HttpCookieCollection. That will have no … Continue reading
Posted in Software Development, Tip of the Day Tagged .NET, asp.net, ASP.NET MVC, Cookies Leave a comment
Tip of the day: Getting Visual Studio with TFS to work offline
Earlier to day our TFS server went down. Visual Studio likes to have a constant connection open to it, but obviously that wasn’t going to happen. Luckily, it is possible to work on a solution with no connection to TFS. … Continue reading
Posted in Software Development, Tip of the Day Tagged Source Control, TFS, TFS 2010, Visual Studio 2010 Leave a comment
Tip of the day: Using the null-coalescing operator over the conditional operator
I’ve recently been refactoring a lot of code that used the conditional operator and looked something like this: int someValue = myEntity.SomeNullableValue.HasValue ? myEntity.SomeNullableValue.Value : 0; That might seem less verbose than the traditional alternative, which looks like this: int … Continue reading
Tip of the day: IE Quirks Mode Vs. Standards Mode
If you are setting the DOCTYPE declaration in an HTML page to define the standard your page complies with ensure that you don’t put anything before that DOCTYPE declaration. Some browsers will ignore comments and such like before the DOCTYPE … Continue reading
Posted in Software Development, Tip of the Day Tagged HTML, Internet Explorer, Standards Leave a comment
Tip of the day: Splitting a string when encountering whitespace
In .NET the string class has a Split method that splits the string at the separator character(s) that you specify. However, if you want to split the string at any instance of whitespace you don’t have to create a Split … Continue reading
Tip of the day: Mount ISO files as drives
When you can download lots of DVD and CD images from likes of MSDN it can become rather annoying having to burn ISO images to physical CDs or DVDs. However, Virtual Clone Drive mounts an ISO image as a virtual … Continue reading
Tip of the Day #23: Getting going with IIS Express
First, if you don’t have it already you need to download IIS Express (you can also use this link to get the full install, not via Microsoft’s web installer, if you are behind a proxy that is preventing the installation). … Continue reading
Posted in Tip of the Day Tagged asp.net, ASP.NET MVC, IIS, IIS Express, Visual Studio 2010 Leave a comment
