An Arbitrary Cycle Method For ASP.NET MVC

aspnetmvc suggest edit

In his Practical Review of ASP.NET MVC, Josh Charles provides a helpful review of ASP.NET MVC from a Rails developer’s perspective. It seemed fair and balanced, and the end result is that there’s room for improvement, which we’re taking to heart.

Read More

Hey Ma, I’m On TV!

What Integrated Circuits Say About Testing Your Code

A while back I talked about how testable code helps manage complexity. In that post, I mentioned one common rebuttal to certain design decisions made in code in order to make it more testable.

Read More

Super Simple MVC Ajax With JQuery Demo

aspnetmvc suggest edit

UPDATE: I linked to the wrong post. I corrected the link.

Read More

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