As you can see in Windsor wiki
There is a class named FromAssembly to help me with installers. But i'm unable to find it anywhere in Castle.*
I'm using .NET 4
It's an old question, but I just ran into the same problem. Took a little while to find FromAssembly (I should get ReSharper). Finally found it!
using Castle.Windsor.Installer;
You can download the source code and do a crtrl-f on the solution:
http://github.com/castleproject/Castle.InversionOfControl
You will need a git client tool, Follow the instructions on the TortoiseGIT site to get one up and running if you dont have one already.
Related
I was trying to build a simple auth mechanism using madvoc and interceptors but it seems that the tutorial at
http://jodd.org/doc/example/auth-with-interceptors.html
is a little bit outdated.
I think that the tag was removed and I was not able to find the substituent.
How should we use the form in general and what is the recommended auth mechanism?
P.S. - I`m using latest jodd version.
The shortest answer is to check module jodd-joy. Look at the package jodd.joy.auth. It contains latest AuthTag, AuthAction that may be used, etc. This module contains some helpers for build an web-app even faster.
I will update this answer later, with more info - actually, I will try to update the website, too. But in general, the idea behind the auth is not much changed;)
Is there a recommended way to extend the nut interface of bolt cms?
I would like to implement an extension for bolt which is best triggered from commandline but couldn't found any kind of documentation about this matter.
My current idea is to just edit the app/nut file and load my own BaseCommand subclass but before that I would like to know if there is another intended way
Yes, there is. Well, there will be...
Currently it is committed to master and will be in Bolt 2.0. You can see the draft documentation that I wrote that explains the process... Really simple :-)
Does anyone know if there is a media formatter out there to support the jsonapi.org spec (application/vnd.api+json).
If not has anyone started (or looking at starting) a project to implement this?
For the record, as of today the answer seems to be no. Best I could find was this guy: http://www.emadibrahim.com/2014/04/09/emberjs-and-asp-net-web-api-and-json-serialization/ and that only tackles a tiny part of the problem.
I've been trying this for a while…unfortunately I tried to make something that was really smart and would automagically handle a data model from Entity Framework with almost no work. I was getting close to thinking about releasing it...and then I found out they changed a bunch of stuff in EF 6 (all models are supposed to be POCOs and the context is now a DbContext instead of an ObjectContext) and I'm probably going to have to essentially start over…which is why I started looking again to see if someone else was doing it and found your question.
Let me know if you're still looking for this, and I'll keep you updated.
UPDATE
I've just published a codeplex project that aims to provide exactly what I've described above. It's called JSONAPI.NET and while it's very early, it already does quite a bit. Documentation is sparse, and I don't have NuGet packages yet…but take a look everyone and see if it's useful for you. Feedback is encouraged! You can contact me from the project page in the link.
Where I can find some working code or any instruction to DirectCanvas from AppMobi.com?
There is some sample code on Git a link but I can't understand how can I Run it?
Everything right now is targeted towards ImpactJS. There are sample apps when you purchase the GameProXDK and documentation is found at http://www.appmobi.com/documentation/gamingAPI.html
We are currently working on samples for NON- ImpactJS code. The main thing is that you have two Webviews, one the canvas calls are executed in, the other is your app. The documentation talks about that and details how to make calls between the two.
http://forums.appmobi.com has a thread about getting it running standalone with a sample bundle to use.
Has anbody actually tried using directCanvas seriously? I cannot find a single blog post about somebody actually using it. The whole experience is really bad with this crazy java XDK tool/thingamagica. Took me 20mins to get CocoonJS running.
I am following example by José F. Romaniello on session management with NHibernate. It's a very good article, however I'm struggling with it having very little experience with NHibernate, Windsor and MVC.
I am trying to re-create NHibernateInstaller, however encountering the following error: Component Castle.TypedFactory.DefaultInterfaceFactoryComponentSelector could not be resolved. Make sure you didn't misspell the name, and that component is registered.
In the sample project provided this error does not crop up, even though the installer is identical and Google does not come up with any results (which is very unusual). What causes this and how can it be avoided?
it seems a problem with the TypedFactoryFacility... are you doing this?
kernel.AddFacility<TypedFactoryFacility>();
before running all the installers?
uncomment the following code in Bootstrapper.cs file.
container.AddFacility();
This happened to me when I created my own implementation of ITypedFactoryComponentSelector, but forgot to register the selector itself.
There was no indication this was the actual problem (and the kernel debug information assured me the components can be resolved) - but registering it fixed the issue.
Hope this helps someone :-)