How I Got Started In Software Development

It’s a quiet friday afternoon with all of our devs in training today, so I figured I’d take a breather and respond to this meme I’ve been tagged with by Simone, Keyvan, Steve and others.

Read More

Unit Test Boundaries

tdd suggest edit

One principle to follow when writing a unit test is that a unit test should ideally not cross boundaries.

Read More

IronRuby With ASP.NET MVC Working Prototype

aspnetmvc ruby suggest edit

UPDATE 02.17.2009: I posted about a newer version of this prototype for ASP.NET MVC RC

Read More

Notes on ASP.NET MVC CodePlex Preview 4

aspnetmvc suggest edit

(If you want to skip all the blah blah blah, go straight to the release)

Read More

Make Routing Ignore Requests For A File Extension

By default, ASP.NET Routing ignores requests for files that do not exist on disk. I explained the reason for this in a previous post on upcoming routing changes.

Read More

User Input In Sheep’s Clothing

We all know that it is bad bad bad to trust user input. I don’t care if your users are all ascetic monks in a remote monastery, do not trust their input. However, user input often likes to put on sheep’s clothing and disguise itself as something else entirely, such as the case with ViewState.

Read More

HttpModule For Timing Requests

aspnetmvc suggest edit

Yesterday, I wrote a quick and dirty ASP.NET HttpModule for displaying the time that a request takes to process. Note that by turning on trace output for a page, you can get timing information for that page. But as far as I understand, and I need to double check this, this only applies to the page lifecycle, which might not have all the information you want in the context of ASP.NET MVC.

Read More

Keeping Blog Ads In Check

blogging suggest edit

I credit Google AdSense for really opening up the possibility for small blogs to become sources of passive income. Look around the web and you’ll see nearly every blog sport an AdSense ad or two…or three.

Read More

Oh Yes It’s Ladies Night

humor personal suggest edit

…and the feeling’s right.

Read More

Security Tip: Blocking Access to ASP.NET MVC Views Using Alternative View Engines

When you create a new ASP.NET MVC project using our default templates, one of the things you might notice is that there is a web.config file within the Views directory. This file is there specifically to block direct access to a view.

Read More

VS2008 Web Server Here Shell Extension

code tools suggest edit

UPDATE: Updated the registry settings per James Curran’s comment. Thanks James!

Read More

Visual Studio Smart Tag Expansion Tip

I used to find the smart tag really annoying in Visual Studio because it is such a small target to hit with the mouse. Silly me, trying to expand a smart tag with a mouse.

Read More

Delegating Decorators

aspnetmvc suggest edit

When approaching an extensibility model, I often find cases in which I want to merely tweak the existing behavior of the default implementation and wish I didn’t have to create a whole new specific type to do so.

Read More

Everything You Wanted To Know About MVC and MVP But Were Afraid To Ask

Or, as my recent inbox tells me, you’re not afraid to ask. ;)

Read More

RAS Syndrome

humor suggest edit

Photo by lizerixt on stock.xchng
http://www.sxc.hu/photo/1005758 Yesterday, I wrote a post that contained the phrase “BFFs Forever” in the title. Commenters were quick to point out the redundancy of “Forever” in the title.

Read More

If You’ve Ever Been A Consultant, You Understand This

Today’s Dilbert described one of the most challenging problems small consulting companies face. I’m sure Jon, Micah, and I remember experiencing this many times when trying to build and expand Veloc-IT (though Micah probably still gets the pleasure of dealing with this as he’s still chugging along).

Read More

IronRuby and ASP.NET BFFs Forever

UPDATE: I just posted the working demo here.

Read More

ASP.NET MVC And Dynamic Data Learn To Play Well Together

aspnetmvc suggest edit

My compadre Scott Hunter, another PM on the ASP.NET team, who happens to work on the Dynamic Data feature, recently put together an example of using ASP.NET MVC and Dynamic Data Web Forms together in the same application. Look for the link to MvcDynamicData.zip on this Code Gallery page.

Read More

The Design Is Never Right The First Time

tacoma narrows The design is never right the first time. Nor is it usually right the second time. This is one of those key lessons you learn over time building real software, and is the source of one of the chief complaints leveled at the Waterfall methodology for building software, which puts heavy emphasis on getting the design right up front.

Read More

Updated Northwind Demo For ASP.NET MVC Beta

I updated the template to have the correct assembly references so it should work now out of the box. Sorry about that.

Read More