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

Updated Routing With WebForms

aspnet routing suggest edit

A while back I wrote a sample that demonstrated how to use Routing with WebForms.

Read More

.NET 3.5 SP1 Beta and Its Effect on MVC

The news is out, the beta for the Visual Studio 2008 and the .NET Framework 3.5 Service Pack has been released. As it relates to ASP.NET MVC, there are two important points to notice about the SP1 release:

Read More

Delegating Action Result

aspnetmvc suggest edit

In my last post, I walked through a simple example of an ActionResult that you can use to transmit a file to the user’s browser along with a download prompt.

Read More

Writing A Custom File Download Action Result For ASP.NET MVC

aspnetmvc suggest edit

NEW UPDATE: There is no longer need for this custom ActionResult because ASP.NET MVC now includes one in the box.

Read More

RouteEvaluator For Unit Testing Routes

A while back I wrote a routing debugger which is useful for testing your routes and seeing which routes would match a given URL. Rob suggested we have something like this for unit tests, so I whipped something simple up.

Read More

DotNetRocks Part Deux

I did another interview with those wild and crazy guys, Carl and Richard. My first time (show 261) being on .NET Rocks was back in August of 2007 when I talked about Subtext, Open Source, and my blog.

Read More

Code Based Repeater for ASP.NET MVC

Not long ago, my compadre Scott Hanselman related the following story

Read More

Anatomy of a "Small" Software Design Change

File this one away for the next time your boss comes in and asks,lumberg[1]

Read More

Defining ASP.NET MVC Routes and Views in IronRuby

In a recent post I expressed a few thoughts on using a DSL instead of an XML config file. I followed that up with a technical look at monkey patching CLR objects using IronRuby, which explores a tiny bit of interop.

Read More

Monkey Patching CLR Objects

In my last post I set the stage for this post by discussing some of my personal opinions around integrating a dynamic language into a .NET application. Using a DSL written in a dynamic language, such as IronRuby, to set up configuration for a .NET application is an interesting approach to application configuration.

Read More

Dynamic Language DSL vs Xml Configuration

dsl suggest edit

Disclaimer: My opinions only, not anyone else’s. Nothing official here. I shouldn’t have to say this, but past history suggests I should. P.S. I’m not an expert on DSLs and Dynamic Languages ;)

Read More

ASP.NET MVC Preview of a Preview

aspnetmvc suggest edit

UPDATE: Just to prove that this is a preview of a preview, we had a signing problem with the initial pre-built VSI download. If you tried building from source, everything should’ve been ok. We apologize for that. Even though this is meant to be a rough preview, we do want to have a high quality bar in that you should be able to try out the code. So if you run into that problem, please do download the VSI again.

Read More

You've Been Haacked In Chinese

If ever someone was undeserving of having others spend their valuable time translating his blog, it would be me. But hey, some people from the http://blog.joycode.com/ site went ahead and did it anyway. I must admit that I’m very flattered that anyone would put the effort in.

Read More

Upcoming Changes In Routing

Made a few corrections on having default.aspx in the root due to a minor bug we just found. Isn’t preview code so much fun?

Read More

Unit Test Project Structure Poll

code tdd suggest edit

When I build applications, I personally like to have my unit tests in a separate class library project than the application I am testing. That’s just how I roll.

Read More

My First IronRuby Unit Test Spec For ASP.NET MVC

Way down the road, it would be nice to be able to build ASP.NET MVC applications using a DLR language such as IronRuby. However, enabling DLR language support isn’t free.

Read More