Comments

ASP.NET MVC and Routing Default.aspx

UPDATE: 2011-09-23. This was definitely a TL;DR post. And I've since switched to using a Mac and Rails and other *nix tools and frameworks - so forget it. Buy a Mac (or install Ubuntu) and start writing 'real' web applications.

ORIGINAL POST: Having been inspired by BlogSvc.Net's recent switch to the ASP.Net MVC framework - I decided that now was as good a time as any to begin to get up-to-speed with ASP.Net MVC There's a ton of blogosphere content out there already (I've included some of the more helpful links at the bottom of this post). Access to the source at http://www.codeplex.com/aspnet  combined with a healthy dose of Reflector over the System.Web.Routing assembly...  and things are slowly starting to fall into place. While working through the routing process; how routes are defined, the order they're evaluated and how a default route catchall can be defined... I got a bit hung-up on default routing and in particular the routing of Default.aspx. When you create a new ASP.Net MVC project (Preview 5).. the project template creates a Default.aspx page and places the following in the code behind...

Category

Comments

Blocked Files and Trusted Locations

I must have been asleep when this 'feature' appeared. I downloaded the latest ASP.Net MVC Storefront sample today from Codeplex. I then dragged the downloaded Zip file over to my project folder, extracted it and built the project. When I tried to run some of the unit tests - I got "Failed to queue test run me@myserver2008-09-23 15:20:05': Test Run deployment issue: The location of the file or directory '\...\.config' is not trusted.

Category

Comments

In Search of The World's Best Computer Keyboard - Part 2

Update: 24 Sept 2011: I've since switched to using a MacBook Pro as my main computer - and despite previously thinking that the ThinkPad Keyboard was the world's best computer keyboard - I think the MacBook Pro backlit keyboard on my early 2011 MBP is simply the best keyboard I've ever used. The mini Mac keyboard is nearly as good - just a shame they don't make a backlit USB version (only bluetooth now).

Category
Tags

Comments

Agoda Cancellation Policy

An unfortunate incident today with Agoda Online Travel.  This is a site I've used once before to make a reservation for a hotel in Hong Kong. Unfortunately on that occasion we had to cancel. Agoda's cancellation policy for this booking meant that we lost US$15 on the booking, but I figured that was a reasonable penalty to pay as an administrative fee. Overall I found the service easy to use and thought highly of Agoda at the time.

Comments

Replacing a Hard Disk on a Notebook with BitLocker Installed

Awesome - my new 2.5" 320GB Hitachi 7200 rpm 16MB cache Travelstar 7K320 hard disk arrived today. The drive was actually made in Thailand - but I had to order it from Singapore... grrr... Last March I purchased a ThinkPad T61p. I love this notebook... but I made the mistake of not putting a large enough drive in it at the time. Here are the steps I took to swapping the drive and resizing the partitions.

Category
Subscribe to