kephas

How does Kephas integrate with ASP.NET Core?

为君一笑 提交于 2020-01-16 00:41:52
问题 So much I could understand, Kephas does not provide its own DI container, but it builds adapters on existing ones (Kephas has its own dependecy injection container. Why another framework, why not use an existing one?). Existing adapters are for System.Composition (MEF2) and, as I learned recently, for Autofac (starting with version 6.5.0, Cannot use constructors in open generic services with Kephas). However, ASP.NET comes with its own implementation of a DI container. In this regard, is it

Cannot use constructors in open generic services with Kephas

走远了吗. 提交于 2020-01-15 09:21:11
问题 Somehow I cannot get to make it work having a service exported as open generic with an implementation with a constructor. I tried to add the [CompositionConstructor] attribute to it to no avail. It throws something like: System.Composition.Hosting.CompositionFailedException : No importing constructor was found on type 'MyType'. Any ideas? 回答1: Unfortunately this is a bug in the System.Composition library (check here https://github.com/dotnet/corefx/issues/40094). As I can see, this bug is

Does anyone know about Kephas?

天涯浪子 提交于 2019-12-08 17:52:28
I stumbled upon a framework promising a powerful and flexible infrastructure, named Kephas, and I am currently evaluating it for an existing application to get it updated to the latest technologies. I just browsed the documentation and the samples and I can see the potential for new applications, but what about existing ones? Is it possible to implement an incremental strategy and not rewrite it from scratch? Does anyone know about it, what was the experience? Sure it can be done incrementally, provided the application uses the .NET framework with a version higher than 4.5 (as a matter of fact

Does anyone know about Kephas?

[亡魂溺海] 提交于 2019-12-08 04:37:57
问题 I stumbled upon a framework promising a powerful and flexible infrastructure, named Kephas, and I am currently evaluating it for an existing application to get it updated to the latest technologies. I just browsed the documentation and the samples and I can see the potential for new applications, but what about existing ones? Is it possible to implement an incremental strategy and not rewrite it from scratch? Does anyone know about it, what was the experience? 回答1: Sure it can be done