Dealing With Denial of Service Attacks

As Scott wrote last week, using a punny title I have to admire, he and I (among many others) were both the subject of a DoS (Denial of Service) attack. Looking through my logs, it looks to actually be a DDoS (Distributed Denial of Service) attack coming from multiple IP addresses.

Read More

The ABCs of Alpha, Beta, CTP

versioning suggest edit

A commenter to my last post asks the following question,

Read More

ASP.NET MVC Is Not Part of ASP.NET 3.5 SP1

I wanted to clear up a bit of confusion I’ve seen around the web about ASP.NET MVC and the .NET Framework 3.5 Service Pack 1. ASP.NET MVC was not released as part of SP1. I repeat, ASP.NET 3.5 SP1 does not include ASP.NET MVC.

Read More

Filters in ASP.NET MVC CodePlex Preview 4

aspnetmvc suggest edit

In Preview 2 or Preview 3 of ASP.NET (I forget which), we introduced the concept of Action Filters. Sounds much more exciting than your run-of-the-mill LayOnTheCouchMunchingChipsWatchingInfomercialsFilter, that I originally proposed to the team. Thankfully, that was rejected.

Read More

Better URLs With Subtext and Windows Live Writer

One feature of Windows Live Writer that Subtext supports is the ability to edit your post slug? What is the URL slug associated with a blog post? What is the URL slug?

Read More

Subtext 2.0 Released

subtext suggest edit

It’s been a long time coming, but we are finally ready to release Subtext 2.0. As I mentioned in April (was it that long ago!?), this is scaled down a bit from our original 2.0 plans. But even so, we have a lot of new goodness in here. It’s not just a bug fix release, though there are plenty of those too.

Read More

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