MicroContainerFramework

A dependency injection container for .NET Micro Framework
Download

MicroContainerFramework Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Ms-PL
  • Publisher Name:
  • Szymon Pobiega
  • Operating Systems:
  • Windows All
  • File Size:
  • 407 KB

MicroContainerFramework Tags


MicroContainerFramework Description

MicroContainerFramework was designed to be a dependency injection container for .NET Micro Framework. .NET Micro Framework is a version of .NET targeting microcontrollers such as ARM-9. Because such devices have a very limited memory, .NET MF is a small subset of original framework. One of the missing funtionalities is dynamic compilation. On the other hand, because of limited computational power, .NET MF applications should be optimized for performance which means there should be no place, for example, for relective invocations. MicroContainerFramework deals with llimitations of .NET MF and devices it targets by wiring up the container during build process. It can be done because container is configured in code. This code is loaded and executed during PostSharp build process producing list of type mappings. This list is validated for abmbiguity and completeness, which means that resolution errors are reported during compilation. Next, methods which build mapped types are generated and injected to (also) generated container class. As last step, the container configuration method is replaced witch simple code constructing generated container class instance.


MicroContainerFramework Related Software