Contents tagged with MonoRail
-
Enabling Windsor Integration in MonoRail
I recently wanted to take on old MonoRail application and update it to use Windsor for dependency injection (DI). The application stated as a sort of prototype and slowing grew into a decent sized application. There's a couple of places that I want to add some unit tests and I could really benefit from DI. So I sat down to hook Windsor into the application.
-
Ajax Survey
From BradA: Simone Chiaretta is doing another Ajax survey to see how things have changed since his last survey a couple of years ago. I just filled it out (you should too!). The survey can be found here.
-
OutputDebugStringAppender in a web app?
I spent a couple of hours yesterday trying to get log4net to log to an OutputDebugStringAppender with no success. At first, I thought I had a configuration error in log4net so I added a file appender and that works fine. It's a Monorail application that uses ActiveRecord for database access. There's a couple of spots where I wanted to check out the SQL being generated by ActiveRecord (NHibernate). I did all my set up for log4net and even got it logging to a FileAppender. But I wanted to log the SQL to an OutputDebugStringAppender.
-
MonoRail Integrations
Andy Pike has recently done some really cool MonoRail integrations:
-
Ordering Form Collection Parameters For MonoRail using jQuery
Mike Nichols wrote a neat jQuery plugin to automatically order a list of items (like <TR>'s or <UL>'s). This plays very nicely with MonoRail's SmartDispatcherController and DataBind attribute:
-
MonoRail Contracts
Hammet posted a couple of images he created that showed the main contracts used by MonoRail. Pretty cool.
-
Displaying an image from a database in MonoRail
Sometimes, it's just too easy!
-
Playing around with ASP.NET MVC
As I'm a big fan of Castle Project's MonoRail, I often get asked my opinion of the ASP.NET MVC stuff Microsoft is working on. And I always have the same answer -- I've seen some demos but haven't actually played around with it. So I took some time tonight and installed it.
-
ActiveRecord + HQL and an "IN" clause
Late last year as I was using MonoRail and ActiveRecord for a simple web application. I was helping my local church find volunteers with various skills to teach some basic computer courses to the the church staff. I wanted to keep track of the volunteers along with the skills they had. I used this as another opportunity to learn more about MonoRail and ActiveRecord.
-
Using JSON with MonoRail
As a sort of follow-up to my AJAX and MonoRail post, I've put together a small project showing how you can easily use JSON with MonoRail. I planned on posting a blog entry and the code tonight but instead, I decided to spend some time working on the AJAX and JSON section of the MonoRail Users Guide. It's my way of saying "Thanks!" to the Castle team for putting together (and supporting!) such a wonderful project.