Simple Service Locator

An easy-to-use Inversion of Control library
Download

Simple Service Locator Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Steven van Deursen
  • Operating Systems:
  • Windows All
  • File Size:
  • 21 KB

Simple Service Locator Tags


Simple Service Locator Description

The Simple Service Locator was developed to be 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. The goal of Simple Service Locator is to provide .NET application developers with a inversion of control (IoC) framework that is truly easy to use, while allowing developers to replace it with a more feature-rich IoC framework when needed. The Simple Service Locator is an implementation of the Common Service Locator library. The Common Service Locator is a shared interface for inversion of control and dependency injection which application and framework developers can reference. Using Common Service Locator allows an application to indirectly access the capabilities without relying on hard references. The Simple Service Locator is simply an implementation of the interface provided by the Common Service Locator which allows developers to replace it when needed. For a lot of projects, using a full blown inversion of control framework can be overkill, especially when you are not yet familiar with a particular IoC framework. The Simple Service Locator solves this problem by supplying a simple implementation with a limited set of features. For example, complex file- and attribute-based configuration methods have been abandoned, favoring simple code-based configuration instead. This is enough for many applications, requiring only that configuration be performed at the start of the program. In time if more advanced functionality is required, another more feature-rich implementation of the Common Service Locator interface may be used instead.


Simple Service Locator Related Software