Dependency Injection in .NET

De Semantic MediaWiki - Sandbox

Author(s): Mark Seemann

Year (published): 2011-10-03T00:00:00.000-0700

Pages: 375

Abstract: Dependency Injection in .NET is a comprehensive guide than introduces DI and provides an in-depth look at applying DI practices to .NET apps. In it, you will also learn to integrate DI together with such technologies as Windows Communication Foundation, ASP.NET MVC, Windows Presentation Foundation and other core .NET components.

Introduction[modifier le wikicode]

Dependency Injection (DI) is a software design technique emphasizing Separation of Concerns, Modularity, Extensibility and Testability. Applied well, it enables programmers to successfully deal with complexity in software and add new features to existing apps with greater ease. DI is the key to writing modular software and producing flexible and maintainable code bases. While well-known among Java developers and other practitioners of object-oriented design, DI is only now gaining momentum in the .NET community. The Unity container released by Microsoft patterns & practices and the new Microsoft Extensibility Framework (MEF) make DI more relevant than ever for .NET developers. Dependency Injection in .NET is a comprehensive guide than introduces DI and provides an in-depth look at applying DI practices to .NET apps. In it, you will also learn to integrate DI together with such technologies as Windows Communication Foundation, ASP.NET MVC, Windows Presentation Foundation and other core .NET components. Building on your existing knowledge of C# and the .NET platform, this book will be most beneficial for readers who have already built at least a few software solutions of intermediate complexity. Most examples are in plain C# without use of any particular DI framework. Later, the book introduces several well-known DI frameworks, such as StructureMap, Windsor and Spring.NET. For each framework, it presents examples of its particular usage, as well as examines how the framework relates to the common patterns presented earlier in the book. WHAT'S INSIDE

  • A thorough introduction to DI principles applied to .NET development
  • Numerous C#-based examples
  • A comprehensive catalog of Patterns and Anti-Patterns
  • Understand the importance of loose coupling
  • Learn DI Containers including StructureMap, Windsor, Spring.NET and the Microsoft Extensibility Framework
  • Identify and avoid common traps

Data from https://github.com/bvaughn/infinite-list-reflow-examples/blob/master/books.json

... davantage au sujet de « Dependency Injection in .NET »
Dependency Injection in .NET is a compreheDependency Injection in .NET is a comprehensive guide than introduces DI and provides an in-depth look at applying DI practices to .NET apps. In it, you will also learn to integrate DI together with such technologies as Windows Communication Foundation, ASP.NET MVC, Windows Presentation Foundation and other core .NET components.Foundation and other core .NET components. +
Dependency Injection in .NET +
375 +
07:00:00, 3 octobre 2011 +
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.