Hi
I would like to fluently configure the NHibernateIntegration facility,
but can't find a way to tell the facility where to find my
hibernate.cfg.xml file.
Any ideas?
public static IWindsorContainer RegisterComponents(IWindsorContainer
container)
{
container
Currently there is no easy way, it is on my to do list tho.
You can use container.Kernel.ConfigurationStore.AddFacilityConfiguration( )
method to do it. This will be what the fluent interface is going to do.
Tuna Toksöz
Eternal sunshine of the open source mind.
Hi All,
Just wanted to say that having followed the instructions in How to
build.txt I was able to build successfully.
I too received BUILD SUCCEEDED - 2 non-fatal error(s), 0 warning(s)
. Can't quite tell what the 2 non-fatal errors were. Any easy way to
log NAnt's output to file?
Thanks to
This will pipe it to a file:
nant build.log
From memory VS2002/2003 created the AssemblyInfo.cs files in the root, only
come VS2005 they move it in the template. Castle has kept the convention
back from early .NET days.
On Wed, Jun 24, 2009 at 9:34 PM, Uri Goldstein
Here an update from myself: when I drop the assemblies of Castle
1.0.3, then it works like a charm... I must have done something wrong
On 24 jun, 11:59, Locusta locust...@gmail.com wrote:
Hi
We are using Castle Windsor 2.0, when we call container.ResolveT();
for an implementation, the error
Thanks for the feedback
Looking at the WCF Facility I can see how the logging facility was
initialized using the
container.Kernel.ConfigurationStore.AddFacilityConfiguration( )
method.
And I can see your pain for implementing the same for the
NHibernateIntegration facililty.
For now I'll use
If anyone encounters this problem, the solution that worked for me was
to create my own ServiceHostFactory (which inherits
DefaultServiceHostFactory) and add a new ServiceMetadataBehavior
instance per host it creates, instead of registering a single
ServiceMetadataBehavior instance on the kernel
How was the ServiceMetadataBehavior added when it was mixing the wsdl?
On Wed, Jun 24, 2009 at 8:08 AM, Bergius berg...@gmail.com wrote:
If anyone encounters this problem, the solution that worked for me was
to create my own ServiceHostFactory (which inherits
DefaultServiceHostFactory) and
Like this (based on examples such as the WcfIntegration demo):
var smb = new ServiceMetadataBehavior { HttpsGetEnabled = true };
kernel.Register( Component.ForIServiceBehavior().Instance( smb ) );
Maybe I could've solved it with ImplementedBy and component
parameters?
On Jun 24, 3:14 pm, Craig
Can you try registering it as a transient and see if that resolves your
issue
Kernel.Register(
Component.ForServiceMetadataBehavior().Lifestyle.Transient )
On Wed, Jun 24, 2009 at 8:31 AM, Bergius berg...@gmail.com wrote:
Like this (based on examples such as the WcfIntegration demo):
var smb
I'll give it a shot. How would I go about setting the HttpsGetEnabled
property, as Parameters only work with string properties (if I'm not
mistaken)?
On Jun 24, 3:39 pm, Craig Neuwirt cneuw...@gmail.com wrote:
Can you try registering it as a transient and see if that resolves your
issue
When using fluent config, you rarely need to use parameters since that is
geared for config stuff.Use this
kernel.Register( Component.ForServiceMetadataBehavior()
.Lifestyle.Transient
.DependsOn(new { HttpGetEnabled = true })
On Wed, Jun 24, 2009 at 8:50 AM, Bergius berg...@gmail.com
cool
On Wed, Jun 24, 2009 at 9:08 AM, Bergius berg...@gmail.com wrote:
Oh, that's nice. Did not know you could do that.
Component.ForServiceMetadataBehavior().DependsOn(new
{ HttpGetEnabled = true })
did the trick. Apparently no need for Lifestyle.Transient (it looks
like WcfFacility
Oh, that's nice. Did not know you could do that.
Component.ForServiceMetadataBehavior().DependsOn(new
{ HttpGetEnabled = true })
did the trick. Apparently no need for Lifestyle.Transient (it looks
like WcfFacility takes care of that for any IServiceBehavior
component).
Thank you for this much
Debugging shows, my Json() method is called on the rescue, but never the
Rescue(...) method.
Watching the friendly log I get...
2009-06-24 11:50:07,944 [9] FATAL Fex.Web.Site.MVC.Controllers.TestRescues -
Failed to process rescue view. View name
Castle.MonoRail.Framework.MonoRailException:
Ah, so it seems, once you define a method in the rescue attribute, the
Rescue(...) is not called anymore. Seems by design, I just wonder if this is
was one would expect - I certainly did not.
2009/6/24 Jan Limpens jan.limp...@gmail.com
Debugging shows, my Json() method is called on the rescue,
did just stumble accross this:
http://www.orbitone.com/en/blog/archive/2009/06/23/adding-fluent-nhibernate-support-for-castle-windsor%E2%80%99s-nhibernate-integration.aspx
not sure if it's any help~?
On Wed, Jun 24, 2009 at 1:17 PM, Paladin_zadirk...@gmail.com wrote:
Thanks for the feedback
Using Fluent NH is just one step to fluency. Still, the facility would need
some api around the configuration.
Tuna Toksöz
Eternal sunshine of the open source mind.
http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike
On Wed, Jun 24, 2009 at 6:51 PM, Wayne
BTW, you can easily integrate FNH by implementing IConfigurationBuilder.
Tuna Toksöz
Eternal sunshine of the open source mind.
http://devlicio.us/blogs/tuna_toksoz
http://tunatoksoz.com
http://twitter.com/tehlike
On Wed, Jun 24, 2009 at 9:25 PM, Tuna Toksoz tehl...@gmail.com wrote:
Using
Good morning,
I have a question regarding object relations and trying to display
information on a datagrid.
To give a little background on how the objects are currently setup, I
am dealing with three different classes. Assignment,
AssignmentEmployee, and the Employee class.
Essentially we
That is the expected behavior.Invoking a method using Invoke will mean that
you get back to the interceptor.
The workaround you specified is how this should work.
On Thu, Jun 25, 2009 at 2:55 AM, Belvasis belvasis...@googlemail.comwrote:
Hi,
I have the following problem:
I want to
21 matches
Mail list logo