Questions tagged [castle]

Castle is an open source project for .net that aspires to simplify the development of enterprise and web applications.

Castle is an open source project for .net that aspires to simplify the development of enterprise and web applications. Offering a set of tools (working together or independently) and integration with others open source projects, Castle helps you get more done with less code and in less time.

Castle subprojects include:

Other smaller projects also exist, notably

383 questions
0
votes
1 answer

A modern process for compiling Castle Windsor for Partial Trust

This issue has been beaten to death on this site and elsewhere. In spite of that, every single thread I've read regarding compiling Castle.Windsor for partial trust (including the AllowPartiallyTrustedCallersAttribute) has failed. In the nature of…
Jesse Hallam
  • 6,794
  • 8
  • 48
  • 70
0
votes
1 answer

Are there alternative ways to register helpers with controllers in MonoRail?

In MonoRail controllers can be adorned with the Helper attribute to make helpers available in views. Is there another way to register helpers, perhaps via configuration file or dependency injection, with controllers? I'm keen on avoiding creating a…
Jonathon Watney
  • 20,248
  • 9
  • 38
  • 40
0
votes
2 answers

use a minifier and bundler with castle under .net 4

I have tried both squshit and rejuicer to try and combine and minify some css and js from within a view. So far no luck. What I have done is in a filter I put #region using using System; using Castle.MonoRail.Framework; using…
Quantum
  • 1,456
  • 3
  • 26
  • 54
0
votes
1 answer

How can I change the connection being used by Castle ActiveRecord

I have an application build using ActiveRecord for which there is a new requirement to allow the user to select a database they wish to operate at various times in the course of the running of the application. The database connection is set up in…
lswr
0
votes
2 answers

Castle Windsor Generic Typed Factory

On Kozmic's blog (dated 2009), he recommends a Generic Factory to retrieve objects from container. Well, this seems like a pseudo service locator to me. So I want to ask the opinion from experts here. public interface IGenericFactory { T…
user1178376
  • 928
  • 2
  • 10
  • 24
-1
votes
1 answer

How can I named dynamically a component in Windsor?

I need to named dynamically when Resolve methods called like below. My registration: container.Register(Component.For() .ImplementedBy() …
oguzh4n
  • 682
  • 1
  • 10
  • 29
-1
votes
1 answer

register windows form in castle.windsor

I'm using telerik in windows form, so i want to register windows forms in castle.windsor, but windows form inherited from Telerik.WinControls.UI.RadForm i cant register this forms. when my form inherited from "Form" then i don't use from telerik,…
-2
votes
1 answer

Where can I get material for learning Castle?

Where can I get material for learning Castle? And How To Use DynamicProxy for Castle?
1 2 3
25
26