Simple Service Locator v0.10

Rating: No reviews yet
Downloads: 419
Change Set: 61481
Released: Sep 25, 2010
Updated: Sep 25, 2010 by dot_NET_Junkie
Dev status: Beta Help Icon

Recommended Download

Application SimpleServiceLocator Runtime Library v0.10.zip
application, 24K, uploaded Sep 25, 2010 - 194 downloads

Other Available Downloads

Application SimpleServiceLocator Silverlight Runtime Library v0.10.zip
application, 23K, uploaded Sep 25, 2010 - 96 downloads
Source Code SimpleServiceLocator Source Code v0.10.zip
source code, 92K, uploaded Sep 25, 2010 - 129 downloads

Release Notes

The Simple Service Locator is an easy-to-use Inversion of Control library that is a complete implementation of the Common Service Locator interface. It solely supports code-based configuration and is an ideal starting point for developers unfamiliar with larger IoC / DI libraries

New features in this release
  • A new RegisterByKey<T>(string, Func<T>) method is added that allows registration of concrete keyed instances using a Func<T> delegate.
  • A new RegisterSingleByKey<T>(string, Func<T>) method is added to allow registration of keyed singletons using a Func<T> delegate. The container will ensure that the delegate is called atmost once per key.
  • A new RegisterSingleByKey<T>(Func<string, T>) method is added to allow registration of keyed singletons using a Func<string, T> delegate. The container will ensure that the delegate is called atmost once per key.

Breaking changes
  • All RegisterXXX methods now contain a where T : class type constraint to prevent registration of value types. Registration of structures can result in strange behavior and is not considered 'simple'.

This is the fifth beta release. Beta means that we think you can use the library in your production environment but future versions may have breaking changes. The Simple Service Locator project is still in development and we like your feedback.

Reviews for this release

No reviews yet for this release.