Author: babak

  • Manually Installing Drupal 6.20 on GoDaddy Free Linux Shared Hosting

    GoDaddy offers free hosting when you purchase a domain. The free hosting shows ads on all of the hosted pages and prevents you from installing their offered applications. Follow these steps to install Drupal 6.x on the free hosting account and hide the ads. Create the MySQL database. The free hosting allows up to 10 databases. Download […]

  • Subversion Error Message on Windows 7/Windows 2008 Server

    Some times when I am performing a Subversion task (update, commit, check out) I get an error message stating that files can’t be moved or deleted. A subsequent boot of my machine causes CHKDSK to run (this is what concerned me). The error message looks like this: Error: Can’t move Error: ‘[…]\.svntmpentries’ Error: to Error: […]

  • Template for SQL Server Stored Procedures

    Talking with our in house DBA, it was mentioned that DROP/CREATE is a bad model to follow when updating stored procedures. However, this is the model used in the stored procedure template provided by Visual Studio 2005/2010. Here is a modified template that creates an empty stored procedure if it doesn’t exist and performs an […]

  • IIS Express

    Web development on the Microsoft platform has always had its hurdles. With Windows XP, your development environment would use IIS 5 where as the server that would host the production site would be IIS 6. Additionally, there was the issue where we were limited to a single website running on that machine (this was a […]

  • Custom Event Tracking with Google Analytics

    I have been researching a method for tracking clicks to external sites from my site. Google Analytics’s custom event tracking is a nice solution. Here is a link for the asynchronous event tracking scripts for Google Analytics: http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html#Anatomy. Keep in mind that to work with this code, you need the 3rd generation of Google Analytics scripts […]

  • HTML5

    I want to stay ahead of the curve when it comes to HTML5 and everything it has to offer so I’m using this blog entry to chronicle my research and any cool tools I find around the interwebs. I found this nice sandbox the other day http://rendera.heroku.com/. They have some nice example and am learning a […]

  • Enterprise Library Data Access Application Block + SQL Optional Parameters

    The Enterprise Library Data Access Block provides a number of ways of calling a stored procedure. Database _db = DatabaseFactory.CreateDatabase(<Connection String Name>); Let’s now assume that we have a stored procedure usp_MyStoredProc that takes a single parameter @param1. If this is a require parameter, both of the following statement blocks will result in the same […]

  • Setting up Cruise Control .NET 1.5/1.6 on Windows 7 + IIS7

    I have been setting up a new continuous integration system on my laptop for some of my personal projects and thought it would be a good time to upgrade to Cruise Control 1.5. I came across some issues during the setup so I have put up my notes on the process in case anyone else […]

  • jquery, ajax, and .NET Web Services

    Recently, I have been working on a few projects that require an ajax friendly life cycle for an ASP.NET web application. Much of the work I did is based on Rick Strahl’s post: http://www.west-wind.com/weblog/posts/896411.aspx. Working on top of what I learned from this article, I decided to leverage the rich capabilities of .NET’s Web UI […]

  • Continuous Integration with Cruise Control, .NET (C#, WPF, ASP.NET) Projects, and NAnt

    UPDATE: NAnt 0.91 Alpha 2 has been released with support for .NET 4. Download it here. UPDATE: CruiseControl.NET 1.5 (Final) has been released and is available here. UPDATE CruiseControl.NET 1.5 RC1 has been released and is available here. My Cruise Control .NET implementation consists of numerous development projects each with multiple different Cruise Control .NET […]