Welcome Guest, you are in: Login

Castle Project


Navigation (Windsor)

Search the wiki


This documentation is a work in progress.

Let us know if some information is not clear, inaccurate or missing. Also feel free to update the wiki yourself.

[MOVED] Castle Windsor

Page discussion for [MOVED] Castle Windsor
asp.net web forms?!2013/02/17 20:50 by patrocle

Is it possible to create a sample for asp.net forms similar with what you have for MVC and Silverlight?!

Also there many people that have some old asp.net forms and want to have also MVC in a hybrid solution. Is it possible to solve this with Castle Windsor?!

Thanks, Patrocle
Re: asp.net web forms?!2013/02/17 20:51 by Krzysztof Koźmic
Sure it is.

We just need someone to contribute such sample
Castle Windsor and db4o2013/07/22 01:52 by Nâmio Evangelista
Where can I get good examples about using Castle Windsor with db4o?
Re: Castle Windsor and db4o2013/07/22 02:07 by Krzysztof Koźmic

this is a documentation discussion page.

We use google group https://groups.google.com/forum/#!forum/castle-project-users or StackOverflow.com for usage questions.

I think you have better chance of getting a good answer if you ask there.

cheers, Krzysztof
Interceptors and ASP.NET MVC Controllers2014/03/10 15:33 by MTV

I am very new to Castle Dynamic Proxy. I am looking at using Interceptors for my ASP.NET MVC Controllers.

Is it possible to register it for all Controllers rather than explicitely specifying it for each controller? I am using Structure Map for my DI

Thank you
Castle Windsor can't Proxy/Intercept a WinForm with AllowDrop = true2014/06/19 17:08 by abramo
I'm using VS2013, castle windsor v 3.3, winform project in C#,.NET Framework 4.0.

If i mark the class of a form with the attribute

and the form have the property AllowDrop = true

at runtime will raise a ComponentActivatorException

{"ComponentActivator: could not proxy FormTest"}

inner exception:

Can not create proxy for type System.Windows.Forms.ISupportOleDropSource because it is not accessible. Make it public, or internal and mark your assembly with [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")] attribute, because assembly System.Windows.Forms is strong-named."

if I set AllowDrop = false all work fine.

There is some workaround?

ScrewTurn Wiki version Some of the icons created by FamFamFam.