Archive for November, 2006

MSBuild and Solution Files

30Nov06

I find the vast majority of documentation on using MSBuild to compile Visual Studio solutions is way too complicated.  MSBuild is very powerful, in that you can customize a lot of what is going on in the build process.  However, sometimes you just want to do a simple compile of a visual studio solution in […]

fun with the Firebug Extension

09Nov06

The other day I came across an article called Hacking Web 2.0 Applications with Firefox. This is a fantastic article for two reasons:

It emphasizes just how little you should be trusting any client-side validation for ensuring the security of your web application. In other words, don’t be trusting anything that is submitted to your […]

Formatted Input Masks for Textboxes

08Nov06

One fancy way to provide a bit of extra usability sugar on a form is to have formatting automatically applied to a textfield as the user types. I’ve been using a fantastic Mask Formatter javascript library created by PengoWorks for some time now on a number of production sites. This javascript can be configured different […]

OSQL: Calling SQL From Command Line

02Nov06

Here’s a quick little trick with the command line: consider a situation where you have a folder of .sql scripts that are used to update or create a new database. One way you can easily run all of these scripts against the database is by using the osql command line tool and a ‘for’ […]

TFS & MSBuild Part 3 (custom msbuild task)

02Nov06

In my first post in this series I showed an msbuild script that would create a Team Foundation Server source control workspace, get latest to a particular folder, and build the Visual Studio solution in one click. However, because of the fact that TFS v.1 does not allow shared workspaces, the script wouldfail if another developer […]


 

About

My name is Dylan Marks. I'm a programmer and tech consultant focused on web application development, typically using ASP.NET, javascript and web standards-based technologies. I hope to share some of the useful tips and tricks I've discovered while making things work. I live in Edmonton, Alberta, Canada, working remotely for clients across North America. Email Me.