Dependency Injection Principles, Practices, and Patterns

Cover of Dependency Injection Principles, Practices, and Patterns

EPUB · English

Price and availability

EPUB eBookUS store

$79.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Manning
Published
6 March 2019
ISBN
9781638357100
Subjects
Windows & variants, .Net programming, Microsoft (Windows) operating systems, .NET programming

About this book

SummaryDependency Injection Principles, Practices, and Patterns teaches you to use DI to reduce hard-coded dependencies between application components. You'll start by learning what DI is and what types of applications will benefit from it. Then, you'll work through concrete scenarios using C# and the .NET framework to implement DI in your own projects. As you dive into the thoroughly-explained examples, you'll develop a foundation you can apply to any of the many DI libraries for .NET and .NET Core.About the TechnologyDependency Injection (DI) is a great way to reduce tight coupling between software components. Instead of hard-coding dependencies, such as specifying a database driver, you make those connections through a third party. Central to application frameworks like ASP.NET Core, DI enables you to better manage changes and other complexity in your software.About the BookDependency Injection Principles, Practices, and Patterns is a revised and expanded edition of the bestselling classic Dependency Injection in .NET. It teaches you DI from the ground up, featuring relevant examples, patterns, and anti-patterns for creating loosely coupled, well-structured applications. The well-annotated code and diagrams use C# examples to illustrate principles that work flawlessly with modern object-oriented languages and DI libraries.What's InsideRefactoring existing code into loosely coupled codeDI techniques that work with statically typed OO languagesIntegration with common .NET frameworksUpdated examples illustrating DI in .NET CoreAbout the ReaderFor intermediate OO developers.About the AuthorsMark Seemann is a programmer, software architect, and speaker who has been working with software since 1995, including six years with Microsoft. Steven van Deursen is a seasoned .NET developer and architect, and the author and maintainer of the Simple Injector DI library.Table of ContentsPART 1 Putting Dependency Injection on the mapThe basics of Dependency Injection: What, why, and howWriting tightly coupled code Writing loosely coupled codePART 2 CatalogDI patternsDI anti-patternsCode smellsPART 3 Pure DIApplication compositionObject lifetimeInterceptionAspect-Oriented Programming by designTool-based Aspect-Oriented ProgrammingPART 4 DI ContainersDI Container introductionThe Autofac DI ContainerThe Simple Injector DI ContainerThe Microsoft.Extensions.DependencyInjection DI Container

Bibliographic data © Gardners Books Ltd.