castle-windsor Questions
2
Solved
Using Castle Windsor, I have a component configured with the transient lifestyle:
<component id="publish.mapping.default"
service="IMyService, MyAssembly"
type="MyServiceImplementation, Myass...
Complaisance asked 23/2, 2009 at 17:45
5
Solved
I think the answer to this question is so obivous that noone has bothered writing about this, but its late and I really can't get my head around this.
I've been reading into IoC containers (Windso...
Leroi asked 14/12, 2008 at 23:52
1
Solved
When resolving a component which the Windsor container cannot find, an exception is thrown.
StructureMap has a TryGetInstance method, which returns null of it can't find the requested component.
...
Calci asked 24/2, 2009 at 16:25
3
Solved
I am fairly new at using the ASP.NET MVC framework and was hoping that I could find some help about best-practises when caching various parts of my MVC web application. I know that stack overflow u...
Elfredaelfrida asked 9/2, 2009 at 1:25
3
How can I pass a null constuctor argument using Castle Windsor? I thought the following would work
<parameters>
<repository>null</repository>
<message>null</message>...
Deutschland asked 11/12, 2008 at 18:26
1
Solved
I would like to have Windsor inject multiple implementations of a service to a constructor.
My scenario is that I have multiple search providers that implement a common interface. I would like to ...
Rexanna asked 4/1, 2009 at 9:33
1
Solved
Is it possible to pass a list constructor parameter when resolving a type? I want to use a programmatic configuration if possible. I've been playing around with the Parameters method as shown below...
Accomplice asked 15/12, 2008 at 16:12
1
Is it possible to link containers together in StructureMap like it is in WindsorContainer.AddChildContainer()?
I want to achieve having 3 container levels;
- 1 page request level
- 1 session level...
Forewoman asked 3/12, 2008 at 12:48
3
Solved
How can you get castle Windsor to choose the right implantation of a interface at run time when you have multiple implementations in the container.
For example lets say i have a simple interface c...
Splay asked 24/11, 2008 at 9:59
4
Solved
A lot of people in the .NET space have picked up Castle Windsor and are implementing it in their projects, and for the past year I've been struggling to figure out why IoC containers seem to be tre...
Jenn asked 19/11, 2008 at 19:40
1
Solved
I have a class that implements multiple interfaces.
I would like to register these interfaces via XML.
All I've found is documentation for the new Fluent Interface.
Is this option supported via XM...
Nonsectarian asked 8/11, 2008 at 2:12
5
Solved
When I use the default model binding to bind form parameters to a complex object which is a parameter to an action, the framework remembers the values passed to the first request, meaning that any ...
Smuts asked 26/10, 2008 at 19:4
1
Are there any tutorials or sample programs out there on using AOP, Castle, and logging in a .Net application? I have found pieces out there but I am looking for something more to help me form a mor...
Desuetude asked 26/10, 2008 at 22:54
1
Solved
As the subject says, really! What do they do?
Scopolamine asked 13/10, 2008 at 11:16
3
Solved
I have an object that implements IDisposable that is registered with the Windsor Container and I would like to dispose of it so it's Dispose method is called and next time Resolve is called it fetc...
Skive asked 17/9, 2008 at 16:44
2
Solved
I've been using some basic AOP style solutions for cross-cutting concerns like security, logging, validation, etc. My solution has revolved around Castle Windsor and DynamicProxy because I can appl...
Brian asked 15/9, 2008 at 13:21
1
Solved
In the Windsor IOC container is it possible to register a type that I've already got an instance for, instead of having the container create it?
Urethrectomy asked 18/9, 2008 at 8:38
1
Solved
I know how to tell Castle Windsor to resolve a reference from a factory's method using XML, but can I do it programmatically via the Container.AddComponent() interface? If not is there any other wa...
Ogdan asked 15/9, 2008 at 16:3
© 2022 - 2024 — McMap. All rights reserved.