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
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.
I updated the template to have the correct assembly references so it
should work now out of the box. Sorry about that.
The news is
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:
In my last
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.
NEW UPDATE: There is no longer need for this custom ActionResult because
ASP.NET MVC now includes one in the box.
A while back I wrote a routing
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.
I did another interview with those wild and crazy guys,
My first time (show 261) being on .NET Rocks was back in August of
when I talked about Subtext, Open Source, and my blog.
File this one away for the next time your boss comes in and
In my last
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
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 ;)
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.
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
went ahead and did it
anyway. I must
admit that I’m very flattered that anyone would put the effort in.
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?
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
Way down the road, it would be nice to be able to build ASP.NET MVC
applications using a
language such as IronRuby.
However, enabling DLR language support isn’t free.