martinf / dynamo.ioc Goto Github PK
View Code? Open in Web Editor NEWAnother IOC container - but faster!
Home Page: http://martinf.github.io/Dynamo.IoC
Another IOC container - but faster!
Home Page: http://martinf.github.io/Dynamo.IoC
Hello Martin,
When do you expect to release the new version of Dynamo IoC on NuGet?
If you want I can submit a pull- request for the package descriptor and a small build process.
Let met know..
Regards,
Bert
If container is initialized with CompileMode.Dynamic the used memory is continuously growing.
With CompileMode.Delegate this does not happen.
You should be able to reproduce with this sample code:
class Program
{
static void Main(string[] args)
{
while (true)
{
var container = new IocContainer(defaultCompileMode: CompileMode.Dynamic);
container.Register<ITransient, Transient>();
container.Compile();
container.Dispose();
}
}
}
public interface ITransient
{
void DoSomething();
}
public class Transient : ITransient
{
public void DoSomething()
{
Console.WriteLine("Hello");
}
}
Hello Martin,
In version 3 of Dynamo you switched from .NET v4.0 to v4.5 as your target framework. My current codebase is running on v4.0.
When I upgraded to 3.0.0.1 I got the following error:
Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
This error is caused by the fact that the ExtensionAttribute is moved from the System.Core to mscorlib assembly. See http://stackoverflow.com/a/11265032.
I have forked this project and changed the target framework back to v4.0, compiled it and include that assembly in my project, which fixed the problem for me.
So I was wondering if you plan to use v4.5 specific APIs? If not, we could add new projects targeting the v4.0 specifically. Via NuGet we can distribute runtime specific versions, see http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#Framework_Names.
Regards,
Bert
Not sure if it was an accident, but the source has not been pushed.
I noticed the web site is no more. Is this project still active?
I believe the beta label is a turn off. Any open issues warranting the beta status?
I couldn't find a license file anywhere...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.