Questions tagged [castle-monorail]

Castle MonoRail is a MVC web framework for .NET

Castle MonoRail is an MVC web framework for .NET.

133 questions
48
votes
3 answers

Service Layers and Repositories

I've been using MVC frameworks for a short while now and I really like how the concerns are separated out. I've got into a bad habit of letting the controllers do quite a bit of work. So I'm really looking for some advice. When I first started…
27
votes
4 answers

Asp.Net MVC vs Castle MonoRail

I've some experiences on build application with Asp.Net, but now MVC frameworks become more popular. I would like to try building new multilingual web application using with Asp.Net MVC or Castle MonoRail but I don't know which one is good for me. I…
Vorleak Chy
  • 649
  • 9
  • 13
18
votes
3 answers

How to set different Timeouts for different URLs in ASP.NET

I want different connection limits for some URLs in my application. Some URLs accept file uploads and need to have a large Connection Timeout. All other URLs need a much smaller timeout to prevent denial of service and not waste resources. Currently…
Gareth Farrington
  • 1,661
  • 1
  • 18
  • 24
9
votes
5 answers

From Monorail to ASP.Net MVC

The last time I took on a non-trivial .Net/C# application I used Castle Monorail and, on the whole, enjoyed the experience. Early-access/preview releases of .Net MVC were not yet available. Many "Microsoft shops" will now find the "official"…
Cheekysoft
  • 35,194
  • 20
  • 73
  • 86
6
votes
3 answers

How can I format a javascript date to be serialized by jQuery

I am trying to set a javascript date so that it can be submitted via JSON to a .NET type, but when attempting to do this, jQuery sets the date to a full string, what format does it have to be in to be converted to a .NET type? var regDate =…
Sean Chambers
  • 8,572
  • 7
  • 41
  • 55
6
votes
3 answers

Castle MonoRail Routing with IIS 7?

I’m trying to make the routing module works with default action or controller, but it doesn’t. I always face with 404 page not found. Did I forget to do something? I really like routing in ASP.NET MVC feature, but I’m not sure I could do the same in…
6
votes
2 answers

Unity: Build up a dictionary

I'm converting a Castle/Monorails application into a Unity/Asp.NET MVC one, I'm stuck in trying to converting this component configuration:
kentaromiura
  • 6,459
  • 2
  • 21
  • 15
6
votes
2 answers

Looking for a modern comparison between ASP.NET MVC and MonoRail

I'm coming from Ruby on Rails, and I need to create a C# web application. Currently I'm looking at ASP.NET MVC and MonoRail. Most of the comparisons I find are from 2008-2009, when ASP.NET MVC was still new, and most of the points against MVC was…
Idan Arye
  • 12,402
  • 5
  • 49
  • 68
5
votes
2 answers

Problem with NVelocity, foreach and two Lists

is there an easy way to solve the following problem. Let's say I fetch a IList with some books in my controller from my model. Now I want to enrich the output and fetch a preview from Amazon with another model from an outside framework and get…
4
votes
2 answers

Is there an equivalent to Monorail view components for the ASP.Net MVC Framework?

I make heavy use of View Components in some of the larger applications I've built in Monorail - What is the equivalent approach in ASP.Net MVC for a view component, that can support sections etc.?
Bittercoder
  • 11,753
  • 10
  • 58
  • 76
4
votes
3 answers

Where to get the source code of castle project

The castle project is open source. I am wondering where to get its source code. I cannot find it.
user496949
  • 83,087
  • 147
  • 309
  • 426
4
votes
2 answers

Gzip compression using IIS6.0 for files without an extension

Has anyone managed to activate Gzip compression on a website in IIS6 ? We're using Castle Monorail (it's very nice btw) and as a result have clean RESTful URLs with no extensions..... ..... and there's the rub -> as far as we can see we need…
penderi
  • 8,673
  • 5
  • 45
  • 62
4
votes
2 answers

How do you get the User's IP Address in Castle MVC (Monorail)?

In a controller action of a CastleMVC application, how can I get the user's IP Address? I think in asp.net mvc it would be Request.ServerVariables["REMOTE_ADDR"], but I can't find an equivalent in Castle. (I am aware of potential proxy issue's etc,…
Brenton Alker
  • 8,947
  • 3
  • 36
  • 37
4
votes
5 answers

Is MonoRail ready for productive usage?

Right now I'm not sure...
3
votes
2 answers

Is there an equivalent of Java's Spring MVC style url mapping for C#/.NET?

I am looking for the C# equivalent of Spring MVC's url mapping using annotations, i.e in Java I can write: @Controller @RequestMapping("/some-friendly-url/") class MyController { @RequestMapping(value = "/{type}/more-seo-stuff/{color}", method =…
Amir Abiri
  • 8,847
  • 11
  • 41
  • 57
1
2 3
8 9