The Dynamic Programmer

A personal retrospective on WindyCityDb

Last Saturday I had the opportunity to assist the first WindyCityDb. A one day, single track conference on databases technologies that are usually grouped under the NoSql umbrella. In general the conference was very good. [read more]

Node.js web development with Express

I have been researching node.js and the ecosystem around it. Yes, node has an ecosystem, a very vibrant one if I may say. Today I tried a simple web framework that resembles Ruby's Sinatra by the name of Express. [read more]

Starting with Node.js.

Installing node.js First, you need a supported OS, like Linux, Mac or Solaris. I will be doing the install on Ubuntu.Go to the node.js download page download the Gzipped file and extract in a folder of your choice in your disk. [read more]

Designing the obvious, book review.

I just finished reading Designing the obvious by Robert Hoekman, Jr. This is a book about how to design good web applications. The subtitle, a common sense approach to web application design, it’s also a good synopsis. [read more]

Digging SpecFlow, misspelling Gerkhin files

I’m a proponent of dynamic languages and I love Ruby and Cucumber but I have to admit that this is cool. I was writing a set of specifications with SpecFlow today and suddenly I saw this error in Visual Studio. [read more]

Mercurial integration with Visual Studio

I recently posted about how to integrate Git with Visual Studio. Of course Git is not the only DVCS out there. Mercurial is another source control system similar to Git that is having more and more relevance. [read more]

Git integration with Visual Studio

I started to use Git seriously 5 months ago when I sign up for my Github account on September 1st 2009. Before that I was a very happy subversion user. One of the things that I really like about Git is the speed. [read more]

ASP.NET Mvc in Action. Book review

Some time ago I wrote a first impressions about ASP.NET MVC in Action from Manning. It was after downloading an reading a few chapters available via the Manning early access program (MEAP). [read more]

Using MongoDB from C#

The NoSql movement is gaining more and more inertia. A year or two ago I took a look at CouchDb but this time I wanted to try MongoDB. [read more]

Horn, First Impressions

Some time ago I heard about the intent of putting together a package manager for .net ala gems or pear. I wasn’t aware that this project was actually under way. The name of the project, Horn. [read more]

More than a month without posting - wow!

I think this has been the longest hiatus since I started the blog. I have been busy with life, talking some time of, finishing tons of renovations at home and re-focusing my priorities from a development point of view. [read more]

Adding LinqPad to my toolbox.

Tonight I added LinqPad to my toolbox. I did try this before but I guess I wasn't very inspired because I didn't stick with it. Let me tell you, that was a mistake. I have been playing with it for an hour or so and I'm loving it. [read more]

VS 2010, Generate method from usage.

One of the main reasons I got ReSharper originally was for it’s ability to do micro code generation. This is a functionality that I found very useful when doing test first development. [read more]

Tuple, a new type on .Net 4.0

If you ever played with some language that have the Tuple type I bet you miss it in .Net. Well 4.0 adds it. Let's see what the ubiquitous Wikipedia have to say about it. [read more]

Toronto Code Camp 2009

Last weekend was the 2009 edition of the Toronto Code Camp were I had the privilege to participate as one of the many volunteers. [read more]

Bullet points post.

Common List E-book (free online) Apparently you can also download it from the Apress website’s book page but the link was down for maintenance when I tried. [read more]

Extending ASP.NET MVC

I want to be positive in this post. So I will just mention this once. The framework is very extensible but It's more difficult that It should. I guess that the problem is not really with the framework, but me trying to make it do something that is not in the spirit of it. [read more]

Silent lately

I have been silent lately because I have been working on a project based on ASP.NET MVC. The idea is to have the bare minimum to create highly configurable sites. [read more]

Why testing saves time.

Some of the detractors of TDD or testing in general is that you waste time writing test instead of writing "useful" code. Well, writing test just save me a few hours of debugging. [read more]

The Herding Code - NHibernate performance podcast

Today I have the pleasure to listen to a really good episode of The Herding Code. The episode title was NHibernate performance. In the episode Ayende, David Penton and Ben Scheirman talked about NHibernate and the performance of the tool ... [read more]

NHibernate in Action, First impressions

I got the book NHibernate in Action a few months ago via the MEAP program. Finally I was able to put my hands in the print version a few weeks ago. I have been reading it mostly in the subway during my commute. I’m very excited about it. [read more]

Nullable types, what's going on when you do int?

As you know some types are not nullable like int, decimal, double or DateTime. So if for some reason we need a null int we need to use the nullable types. To define a nullable type we use the question mark notation like this int?, decimal?... [read more]

ASP.NET MVC in Action chapters 5,6 and 7.

I enjoyed this chapters as well, specially chapter 6 and 7 about extending the framework and preparing your site so it scale. Some of the code examples are using a previous (old) version of the framework. I hope they will be updated for the print version. [read more]

Scott Bellware on Twitter

Development teams have two processes- their development process, and the processes of improving their development process. Scott Bellware ... [read more]

Using tests as a learning tool

I try to practice TDD most of the time these days. I don’t write new code without a test first. A few years ago write the test first was something that I understood from an intellectual point of view but it sounded impractical. [read more]

XGENO.ORG new lightweight ORM Mapper.

You can find this new ORM framework at http-//code.msdn.microsoft.com/XGENOORM. Starting with it is fairly easy. Just add a reference on your project to the very small (32K) dll (only one!) and you can start playing with it. [read more]

FubuMVC now runs on Cassini!!!

A few moments ago (55 minutes to be exact) Chad Myers made a commit on revision 55 of the FubuMVC enabling this to run using F5 inside Visual Studio, using Cassini. [read more]

FubuMVC another MVC framework for .Net

We are living in very exiting times in the .Net world. Every time I look I find a new framework to do web development. I recently found FubuMVC. This framework is a bit different from Sharp Architecture or the Catharsis guidance [read more]

xVal a good validation framework for ASP.NET MVC

I found this project on CodePlex called xVal. It’s Steve Sanderson’s take on validation for the ASP.NET MVC framework, more to the point on how to use validation across tiers (validate on the server side, present errors to the client, etc.... [read more]

Chrome doesn’t like the feed scheme

A coworker uses Google Chrome as her primary browser and she sent me and email about my feeds not working. So I went to her computer and yes, inside Chrome when clicked the Icon on the top of the blog nothing happened. [read more]

Keep your Controllers lean.

I was going to write a post about this but my thoughts are exactly the same as Fredrik Normen’s. For example, one thing that creeps me out is seen think like this in the Controller. [read more]

Implementing a validation class.

Every time I wrote validation this code I think, I should write a library to do this for me. So I went ahead and wrote this simple class. The idea is to use the Introduce Assertion Refactoring in this cases and write this code in this way. ... [read more]

Can Agile kill a project?

Mohammad Azam has a post entitled When Being Agile Kills the Project. He mentions a project were the client gave a one month deadline not negotiable and so, he had to go and start cutting corners to make the deadline ... [read more]

Our Kanban board went up today.

We have been looking forward to implement Kanban for a while and after a few delays we put the board up today. We decided to define our pipeline using five columns. [read more]

ELMAH error handler for asp.net applications

This looks very interesting. (from their site) ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or... [read more]

Thumbs up to Baby Smash

I’m sitting besides my 19th month old trying to write some code. Of course he is trying to help me. Let me tell you his C# is not bad --) He was so exited about typing thaT I decided to give him something he could play with. [read more]

Research on TDD by Microsoft.

There is a nice video on Channel 9 about a study done by Microsoft Research about TDD and it’s impact on a real industry scenario. The study was done post mortem, so the developers were not influenced while developing the product. [read more]

PDC 2009 dates and mailing list.

A few days ago was announced the date for the Professional Developers Conference 2009 or PDC. You can see the announcement or subscribe to the mailing list. The conference will be on November 17-20, 2009 in Los Angeles, California. [read more]

Mediocrity should scare you.

A month ago or so I was talking to this developer on a party at a friends house. He was telling me how much he hated his work. The guy was telling me about some of his coworkers. The story goes like this. [read more]

Hurray to my team

In the last year my team was able to successfully adopt the following practices in no particular order- Unit testing, Continuous Integration ... [read more]

Building the right team.

They talk about LINQ and the changes needed to support it in c#. There is a very interesting point on Extension methods a feature that fascinate myself and scare me a little bit. It's so cool that I know that we will overuse it at the beginning. [read more]

Reading a book and sharing with your pairs.

A month ago or so I found a mention to the Toronto Patterns Study Interest Group in the Toronto XP list. I made contact with them and I was reading the Clean Code book in no time. I have ben to two meetings so far and I can't be any happier. [read more]

Using Extension methods- Improving readability.

I consider extension methods one of the most interesting features of the .Net framework. I like it so much because It brings some of the strength of JavaScript into the framework. The possibility of write stuff like this.Have fun!!! [read more]

Architecture by Baseball

I just came across this series of posts, Architecture by Baseball.This series seems to be writting for me. I'm a baseball fanatic and I use techniques borrowed from baseball to manage my teams.If you are in a Team lead position or doing some arch... [read more]

Google Chrome and Silverlight- It kind of works!!!

If you were wondering I just try the MLB streaming in Google Chrome. Silverlight works and I even had video, but the frames don't update and there is an ugly scroll bar at the bottom of the video screen. The audio works fine with no problem, some... [read more]

More tools to format C# code into HTML

After I wrote my last post I remembered that some time ago I did intall an Add-In for Visual Studio called CopySource-AsHTML. So I decided that it was time to try it. I love it almost inmidiatly. The reason I like it better than the previous too... [read more]

Videos of the Agile 2008 sessions at InfoQ

InfoQ published some videos for sessions at Agile 2008. Agile 2008 was held here in Toronto two weeks ago and I participate as a volunteer. It was a great experience and the variety and quality of the talks was really good. [read more]

Some interesting looking projects 2.

A second list of projects from Codeplex and google code.Visual Studio Comparison Tools- Requires WinMerge to be installed in the machine. Provides contextual methods in VS to make fast comparison between two files or a file and the clipboard.HTML... [read more]

Some interesting looking CodePlex projects

Here is a list of some projects that look interesting. Extension Methods Extravaganza- A collection of some extension methods. You can find extension to the object the ICollection, IEnumerable, IList, String and StringBuilder. I specially ... [read more]

Integrate PartCover.Net and Cruise Control.Net

A few months ago I mentioned that I was using PartCover.Net to measure test coverage in my projects. I have been really busy but I decided that this week I was going to integrate the reports with CC.Net. Cruise Control ships with NCover support o... [read more]

Javascript, the good parts, the book.

I look at the table of contents and I knew that I have to have it. I ordered two copies right away, one from my team and one for my personal library. The book came two weeks ago and I'm loving it. [read more]

Nant custom task to delete more than once.

We were having a problem with our build in the CC.Net server. The problem was that when doing the clean of the build folder sometimes it was failing with the following error. "Can't delete folder is not empty". The first thing was to check that... [read more]

Nant build scripts template for Visual Studio

I was creating for the 10th time today a nant build file from Visual Studio when I came to the realization that I needed to automate the process a bit more. So I created an item template to include build files. You just need to copy this zip file... [read more]

ASP.Net Development server in a custom port

During Scott's Hanselmann presentation on Dynamic Data at the TVBUG he show a little trick that I didn't know about and I want to show it here.It always annoy me that every time you click run in a web application using VS it runs using ... [read more]

DevTeach - The best sessions - 1 (MVC submersion)

Jeffrey Palermo gave a great presentation about the ASP.NET MVC framework. If you read my blog you know that MVC is kind of an obsession with me. The presentation used the codecampserver project that use the last drop of the code for MVC [read more]

REST, a video about it, and a book to rule them all.

I seriously believe that REST is a simple and yet powerful architecture that can be used in most scenarios where web services need to be deployed. This week the good guys at infoq.com have an interview with Pete Lacey a fervent proponent of REST ... [read more]

DevTeach day 1 - Scott Hanselman keynote

Following to yesterday presentation at the TVBUG, Scott Hanselman gave the keynote on Data Services and Dynamic Data. Both of this two (products?, projects?, solutions?) are focus in different ways to provide access to your data. [read more]

Heroes happen here - Toronto

I'm not always exited about Microsoft launches but the 2008 series (Server, Sql, VS) is quite good. So I went to this event with the highest expectation, hoping, for once, to be able to learn something. I chose the Architect track... [read more]

The SmartBag to replace the ViewData on MVC

Jeffrey Palermo posted about replacing the ViewData on the MVC framework with a generic container called SmartBag. The advantage is that the container will return an object of a given type, so no more casting and also no more using string keys... [read more]

CSS parser class in .NET.

We are changing our template system at work and my boss ask me to look around for a css parser class. The class needed to load a bunch of css files and parse them to be able to get a value from an attribute of a given key. [read more]

PartCover the Code Coverage tool for me

A free tool to do code coverage with a nice GUI for the developers to use, that can be run on the command prompt, that generates nice xml based reports (to integrate with your CC server) and best of all for me) that works fine with Static methods... [read more]

The importance of code review

I have been working in different companies where the practice of an Agile methodology is in place, but in most of them the part that is always left behind is pair programming and/or code review. [read more]

Free virtual machine software.

Virtualbox is a free open source virtual machine software. I have been using it to run, Ubuntu, Fedora, BDS and a virtual XP machine with all the new stuff for testing and I love it [read more]

PSPad, editors and other tools that I can't leave without.

I usually use PSPad as my fire up and hack something together editor. I also use it to do a lot of maintenance, I have been even using it to do some c# editing here and there and relying more and more in Nant to do the builds, it even has a plug-in to synchronize with subversion if you want. [read more]

Extending the string object in c#

I have found some controversy in some post in the wild where I demostrate how to extend the string object. Sometimes the controversy is around the examples presented. So I decided to make my own example with methods that I wish were included in the framework. [read more]

The Ruby (and Rails) IDE that I miss

I keep searching for the right IDE for my Ruby and Ruby on Rails adventures. I keep changing and playing around with the ones I had and lately I keep using NetBeans 6.0. Yesterday I decide to try again and after looking at The usual suspects, I found Eclipse for Rails... [read more]

A nice little Ruby book

If you are learning Ruby or if you just wander what is all of that about there are a few free online books that you should jump into. Mr. Neighborly's Humble Little Ruby Book is a free e-book from the guys at infoq.com [read more]

.Net simple Templating system (2)

There was something that I wasn't happy with my template system, so I decided to improved it. The algorithm used was wrong, I was checking for all the properties and/or fields of the object instead of check for the variables in the template first... [read more]

The same template in the client and server side.

Prototype is one of the most popular javascript libraries out there and one of the features I really like is the template implementation. When you create an Ajax application there are multiple opportunities to use templates in the client side. [read more]

The future of C#.

They talk about LINQ and the changes needed to support it in c#. There is a very interesting point on Extension methods a feature that fascinate myself and scare me a little bit. It's so cool that I know that we will overuse it at the beginning. [read more]

Ruby on Rails 2.0

It's very interesting to notice that 2.0 won't be fully compatible with the previous versions of Rails, I don't have nothing important or too complicated written with Rails so I don't expect to have too much trouble upgrading but I will like to see what is the response of the rails community to this. [read more]

Fixing IIS 5.0 to work with the MVC

I just found this post with detailed instruction on how to make the MVC framework work in IIS. The instructions are very basic and you shouldn't have any problems making it work, but you may not know how to modify the extension handling in IIS 5. [read more]

Applying BDD to requirements gathering.

I am an entusiast of Test Driven Development but sometimes I have the problem that is difficult to know how to start testing. The problem usually is, very ambiguous requirements provided by the client. [read more]

A REST API in 20 minutes - Part 1.

If you haven't look at it, take a look at the Subsonic project, is really cool and can generate a ORM infrastructure faster than any other framework I tried out there. It also provides a cool HTTPHandler to expose those objects. [read more]

Microsoft Volta - AIR.NET?

I just came across Volta in Microsoft live labs. I haven't downloaded or anything but my first impression is that this try to be some kind of AIR. [read more]

MVC framework in .NET by Microsoft

In the altnet conference the guys from Microsoft presented an MVC framework that will be released on the spring. It promise to be something really good, it's seems to be so flexible that you can plug into it whatever framework you are used to. [read more]

Suporting WM in Firefox

WM 11 and Firefox don't like each other very much. The infamous squishy bug is plaging the web. It's almost imposible to find a custom player around the work as it's suppose to with WM embeded in Firefox. [read more]

ALT.NET

I'm trilled to discover that I'm not crazy and that my search and adoption of alternative tools (alternatives to the Microsoft tools) to develop in .net is a philosophy adopted not only by me but for a lot of people. It even has a name ALT.NET. [read more]

Flex versus AJAX

I have been playing with the new version of Flex and I'm very impressed with it's possibilities. I did try Flex when it was first released and even when I like it, the price tag and the needs to install an specific server to use it discourage me. [read more]

Ajax Hacks

I really like the Hacks series form O'Reilly, these are very simple references books. They present a problem and a solution in the form of quick articles and they are usually based on common issues for that technology. [read more]