-
I know this isn't related to my Pylons series and worry not there is no interruption in that, but I'm giving a couple of talks on Virtual Alt.Net . The first one I've done before and you may have heard it at Alamo Coders, the second one is all new and it'll give me opportunity to clean...
-
So I assumed that much like MonoRail, ASP.NET MVC would have created, at the very least, abstractions on top of HttpContext. Although HttpContext is an absolute beast of a god class, creating an abstraction is possible. Let’s look at MonoRail’s approach: public interface IRailsEngineContext...
-
Recent forays back into "classic" ASP.NET (i.e. not MVC) have me completely convinced that ASP.NET is inherently unmaintainable. Not partially convinced, not on the fence, but completely convinced that the presentation layer of ASP.NET cannot be maintained in any reasonable manner. I remember...
-
The Single Responsibility Principle This post is about the first letter in Uncle Bob's SOLID acronym, Single Responsibility Principle , and a continuation of The Los Techies Pablo's Topic of the Month - March: SOLID Principles . Sean has already posted on this, but I'd like to "contribute"...
-
Some of my background information first: 2 years classic ASP (ASP 3.0) 5 years ASP.NET 1-2 months MonoRail 10 minutes ASP.NET MVC ~45 seconds Ruby on Rails That's the sum of my experience with different web application frameworks. Obviously it's weighted towards ASP.NET WebForms. Having completed...
-
When developing with MonoRail , one of the common operations is to redirect to other controllers and actions. Originally, I looked at the BaseControllerTester to help test, but it required a little too much knowledge of the inner workings of MonoRail for my taste. Instead, I'll use a common Legacy Code...
-
Update: Zip file links have been updated due to the first one being corrupt! Well it was bound to happen at some point. My first screencast . It's a quick walkthrough on how you can get a baseline MonoRail solution up and running. Yeah, I know. Everyone's talking about MS MVC these days, and...
-
Last night, my fellow LosTechies geek Jason , wanted me to check out something he was trying to do in a MonoRail controller test. For some background and the original source code he was working with, see his Castle forum post . So here was the partial test he was working with: [Test] public void Should_have_error_summary_message_when_required_name_is_not_filled...
-
According to the recent check-in on MonoRail (build 586), they are setting the foundation to having routing just like ASP.NET MVC. Very cool. http://builds.castleproject.org/cruise/ViewSpecific.castle?name=CastleProject&log=log20071017002115Lbuild.586.xml&detail=Summary UPDATE: Colin gives more...
-
(Because I often get tired of writing my verbose comments in a 300x300 text box...) Colin seems to find himself in a pretty good spot . The wonderful world of Greenfield development. But of course with this comes...decisions. MVC or Web Forms? ActiveRecord or PI (persistent ignorant)? .NET or Ruby? ...
-
If you want a great into to MonoRail, check out Colin's screencasts . I will possibly be re-writing my validation post.
-
This post was decided upon after watching Hammet 's screencast on using attribute-based validation in MonoRail. * NOTE : I do not agree with embedding validation into the domain model. I would prefer a service handle this, but I'm utilizing the validation that is in the framework. I've been...
-
Ayende (pronounced A-yend (no eh at the end) - verified in this post after hearing Colin pronounce it) posted on an idea he has - MonoRail HotSwap and Colin Ramsay did a screencast of MonoRail HotSwap . I know that the AppDomain having to reset because a code change occurred can be annoying sometimes...
-
...whoever keeps His word, truly the love of God is perfected in him. By this we know that we are in Him. -- 1 John 2:5 Well I decided it was finally time I took a look at NBehave as another one of those tools to have in my toolbox. NBehave's primary use seems to be in the domain model for implementing...
-
UNIT TESTING After the past 2 1/2 posts I've migrated my unit tests to use the BaseControllerTest abstract class that originated from the Eleutian guys, but is now a part of the Castle MonoRail trunk download . Here is my ExampleControllerTests class: 1: using Castle.MonoRail.TestSupport; 2: using...