Tuesday, 15 July 2014

c# - Anybody knows is it possible to setup Castle Windsor with CallbackContracts -


I am working on WCF services with Castle Windsor and I can register after setting up the container like this: IWindsorContainer Container = New Windsor Container (); Container.edability and lieutenant; WCFFILITY & GT (.) Contact (Component.For & lt; IActivityLogsRepository & gt; (). Activity Logs for Repository & gt; (), Component. & Lt; IActivityLogsService & gt; (.) Activity Activity from Implementation & gt; Named ("Company.Service Implementation. Activity Logs Service"),

But my problem begins with the use of the callback contract as told here

I found this from the Castle document

and I did something like

  for the component. T; Ansal Service & gt; (). Implemented; Sample Services & gt; (.) Lifestyle.prevection session (),   

My server is config file < Pre> gt; & gt; basicHttpBinding & gt; & lt; binding name = "big HttpBinding" closeTimeout = "00:10:00" openTimeout = "00:10:00" sendTimeout = " 00:10:00 Maxbfarceases = "2147483647" Maxbuffarpool Size = "2147483647" Max Rieseva Messageism = "2147483647" & gt; Reader Quotes Maxdep = "2147483647" Maxstring Lantant = "2147483647" MaxArray Lang = "2147483647" MaxBytesPerRead = "2147483647" Maximum Name Tablescapes Camel = "2147483647" /> & Lt; / Binding & gt; & Lt; / BasicHttpBinding & gt; & Lt; NetTcpBinding & gt; & Lt; Compulsive name = "big net TCP binding" maxBufferPoolSize = "5242880" MaxbufrSissices = "5242880" MaxReserveSystemSystem = "5242880" / & gt; & Lt; / NetTcpBinding & gt; & Lt; / Binding & gt; & Lt; Services & gt; & Lt; Service behaviorConfiguration = "LargeBehavior" name = "MyCompany.ServiceImplementation.SampleService" & gt; & Lt; Endpoint address = "net.tcp: // local host: 808 / MyCompany.WcfServices / SampleService.svc" binding = "netTcpBinding" bindingConfiguration = "large netting padding" name = "net TCP" contract = "Compression of service. "/> & Lt; Endpoint address = "mex" binding = "maxcp binding" binding configuration = "" name = "max" contract = "imetadataexchange" /> & Lt; Host & gt; & Lt; BaseAddresses & gt; & Lt; BaseAddress = "net.tcp: // localhost: 808 / maquomani.ccf services /" /> Add & lt; / BaseAddresses & gt; & Lt; / Host & gt;

Does anyone know if Setup Castle Windsor facility is possible with this callback, and if so, how is it possible to get it?

Thanks < / P>

I do not think (99% fixed) it is currently supported.

No comments:

Post a Comment