Introducing MonoRail HotSwap(ayende.com)

submitted by D_GuidiD_Guidi(280) 4 years, 7 months ago

I hate aimless bitching, and this post annoyed me enough to decide to do something about it. The basic problem is that making any change at all to an ASP.Net application requires an AppDomain load / unload, which takes a lot of time. This means that a quick change and browser refresh are not possible, you are trying to minimize those waits as much as possible, and that hurts the feedback cycle.

1 comment |category: |Views: 9

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by MalkirMalkir(96) 4 years, 7 months ago 0

I don't know anything about Windsor so I can't comment as to whether this would help, but to get around the annoying rebuild aspect of monorail I just put my controllers in App_Code/Controllers and setup my web.config like so.

<monoRail>
<controllers>
<assembly>App_Code/Controllers</assembly>
</controllers>
<viewEngine viewPathRoot="views" customEngine="Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine, Castle.MonoRail.Framework.Views.NVelocity" />
</monoRail>

Just save the controller and it auto compiles for you the next time the site is accessed.

Reply

information Login or create an account to comment on this story