Software Externalities
If you’re a manufacturing plant, one way to maximize profit is to keep costs as low as possible. One way to do that is to cut corners. Go ahead and dump that toxic waste into the river and pollute the heck out of the air with your smoke stacks. These options are much cheaper than installing smoke scrubbers or trucking waste to proper disposal sites.
Read MoreIntroducing Mia Yokoyama Haack
This morning at 3:17 AM, Mia Yokoyama Haack was born weighing in at 7lb 8.5 oz. Now my world domination crew is complete!
Read MoreASP.NET MVC 2 Preview 2
Today we just released ASP.NET MVC 2 Preview 2 for Visual Studio 2008 SP1 (and ASP.NET 3.5 SP1), which builds on top of the work we did in Preview 1 released two months ago.
Read MoreSuccessive Method Calls With MoQ
UPDATE: For a better approach, check out MoQ Sequences Revisited.
Read MoreHtml Encoding Code Blocks With ASP.NET 4
This is the first in a three part series related to HTML encoding
blocks, aka the <%: ... %>
syntax.
More On The CodePlex Foundation
In my last post, I presented a general overview of the CodePlex foundation and talked a bit about what it means to the .NET OSS developer, admittedly without much in the way of details. I plan to fix some of that in this post.
Read MoreWhat The CodePlex Foundation Means To The .NET OSS Developer
UPDATE: Be sure to read my follow-up post on this topic as well.
Read More7 Stages of new language keyword grief
Fun With Method Missing and C# 4
UPDATE: Looks like the CLR already has something similar to what I did
here. Meet the latest class with a superhero sounding name,
ExpandoObject
Simpler Transactions
The .NET Framework provides support for managing transactions from code via the System.Transactions infrastructure. Performing database operations in a transaction is as easy as writing a using block with the TransactionScope class.
Read MoreRest For ASP.NET MVC SDK and Sample
When building a web application, it’s a common desire to want to expose a simple Web API along with the HTML user interface to enable various mash-up scenarios or to simply make accessing structured data easy from the same application.
Read MoreDemeter Transmogrifiers To The Rescue
In a recent post, The Law of Demeter Is Not A Dot Counting Exercise, I wanted to peer into the dark depths of the Law of Demeter to understand it’s real purpose. In the end I concluded that the real goal of the guideline is to reduce coupling, not dots, which was a relief because I’m a big fan of dots (and stripes too judging by my shirt collection).
Read MorePut Your Views (and Pages) On a Diet
One of the complaints I often here with our our default view engine and Pages is that there’s all this extra cruft in there with the whole page directive and stuff. But it turns out that you can get rid of a lot of it. Credit goes to David Ebbo, the oracle of all hidden gems within the inner workings of ASP.NET, for pointing me in the right direction on this.
Read MoreDefault Templated Views
Note, this blog post is based on Preview 1 of ASP.NET MVC 2 and details are subject to change. I’ll try to get back to normal ASP.NET MVC 1.0 content soon. :)
Read MoreSingle Project Areas With ASP.NET MVC 2 Preview 1
UPDATEThis post is now obsolete. Single project areas are a core part of ASP.NET MVC 2.
Read MoreASP.NET MVC 2 Preview 1 Released
UPDATE: This post is outdated. ASP.NET MVC 2 RTM was released in March.
Read MoreSubtext Security Issue and Patch
A member of the Subtext team discovered a security vulnerability due to our integration with the FCKEditor control as well as the FreeTextBox control. This vulnerability would potentially allow unauthenticated users to upload files using the file upload tools included with these editors.
Read MoreThe Law of Demeter Is Not A Dot Counting Exercise
Recently I read a discussion on an internal mailing list on whether or not it would be worthwhile to add a null dereferencing operator to C#.
Read MoreGeek Your Momma Jokes
Ok, I haven’t had a good track record with making up jokes before. Just see exhibit A,this groaner of an MVC joke.
Read MoreNDC09 Trip Report
When you visit Norway, it takes a week to recover. Ok, at least when I visit Norway, it takes a week. But that’s just a testament to the good time I had. As they say, what happens in Vegas stays in Vegas, but what happens in Oslo gets recorded as a .NET Rocks Live episode.
Read More