Questions tagged [facilities]

12 questions
107
votes
7 answers

Variable Explorer in Jupyter Notebook

Is there a variable explorer in Jupyter (IPython) like in Spyder? It is very uncomfortable having to print the list of variables all the time each time I run through the test code. Has this feature been implemented yet? If so, how to enable it?
Ébe Isaac
  • 11,563
  • 17
  • 64
  • 97
4
votes
2 answers

Castle WcfFacility - Service Behaviors

How do I use the Castle WcfFacility and have it use the standard Wcf config file settings? If I register like so: container.Register( AllTypes.Pick() .FromAssemblyNamed("{ServicesAssembly}") // <-- service assembly here .If(type =>…
Eben Roux
  • 12,983
  • 2
  • 27
  • 48
2
votes
1 answer

Registeting interceptors after Component registration in Castle

I have a facility which needs to register an interceptor and then register this interceptor against a subset of the components already registerd in the container Castle Kernel. The facility lives in a separatee assembly and it is meant to be used…
angrifel
  • 724
  • 2
  • 6
  • 19
2
votes
2 answers

Asp MVC problem configuring application with Windsor and NHibernate

Im having issues configuring application using windsor, facilities and nhibernate. Im getting this exception: ObjectDisposedException: Session is closed Shouldnt windsor take care of instantiating session per request and opening it when I have…
Eduard
  • 3,176
  • 3
  • 21
  • 31
2
votes
1 answer

Injecting Correct ISessionFactory Into IRepository Using Castle Windsor and NHibernate Facility

I have three SQL Server databases that a single application retrieves data from. I am using NHibernate to retrieve data from the different databases. I have things set up so that each database has its own repository and class mappings in its own…
1
vote
1 answer

Getting response from Castle Wcf facility async call

Say I have a call like so: _actService.BeginWcfCall(x => x.SaveAct(new SaveActRequest { Act = act …
user156888
1
vote
1 answer

castle nh facility - 2 databases / 2 models / 2 factories

I have asked this on the castle list as i'm using the nh facility but it just dawned on me to ask it here too :) sorry for the cross posting. I'm using the nh facility to configure the following setup: i have 1 database which stores generic report…
1
vote
1 answer

Castle Windsor, hook continer release in order to call explicit components release

I run this at the application Start Up public class ConfigurationFacility : AbstractFacility { private readonly List configuredComponents = new List(); protected override void Init() { Kernel.ComponentRegistered +=…
ruslander
  • 3,815
  • 4
  • 32
  • 34
0
votes
1 answer

Create a class proxy within a castle windsor facility

I'm trying to create a facility that will add some interceptor to the registered class based on the class attribute. This is my facility: public class MyFacility : AbstractFacility { protected override void Init() { …
Gigitsu
  • 593
  • 6
  • 19
0
votes
1 answer

Windsor Facility Error

Everytime I try to add a facility to my Windsor container instance, I see the following exception: Derived method 'Dispose' in type 'Castle.Facilities.WcfIntegration.WcfFacility' from assembly 'Castle.Facilities.WcfIntegration, Version=2.5.0.0,…
Sam
  • 770
  • 4
  • 15
0
votes
1 answer

Castles WCF Facility Async Call

i am currently working on the wcf facility of castle. Very good work i must add. I have following issue. I want to call my service async and the bind the result on the ui thread to a bindingsource. client.BeginWcfCall(p=>p.GetClients,??? ); when the…
Mantzas
  • 2,463
  • 3
  • 25
  • 35
0
votes
3 answers

Getting Nhibernate Facility and Update/Save event listeners working

I really can't get this working so i'm hoping someone here can help :) here is my castle.config:
user156888