Installing NodeJS v.04.2 on Mac OSX

  1. Firstly you need to download the latest version of  NodeJS at the time of writing this the version is v.0.4.2. This can be found at http://www.nodejs.org
  2. Extract this to an area of your disk.
  3. Enter Terminal. (I normally type this in the search box to find quickly).
  4. Navigate to your nodeJS directory. cd /MyNodeJs/ <Press Return>
  5. ./Configure <Press Return>
  6. make <Press Return>
  7. sudo make install <Press Return>

Voila you should a successful install of NodeJS.

MVC 3 and Solutions folders

I came across and interesting issue today with the MVC 3 tooling. For organisation in an overall solution I wanted to create a solution folder for a new web application that I was creating. Upon trying to create the new application an error was triggered in the tooling.

The solution is then only partially created and various references are missing from the application. To work around this just create the application at the root level of the solution and then move it into the solution folder.

.NET 4.0 and the web.config

So one of the big changes with .NET 4 was a radically smaller web.config file.  By moving the shared aspects of the config from application config files to a machine level config significant savings have been made.

But why did this happen? Well in a nutshell .NET 3 and .NET 3.5 were built upon .NET 2.0 framework, and changes to config files at the machine level could have had all kinds of detrimental effects for the end user. So to tackle this the configuration needed was stored at the application level.

.NET 4.0 is a fresh new version of the framework and as such was a clean slate, installed side by side with prior versions, and hence providing the opportunity to shift things around a little.