Dependency Injection Principles, Practices, and Patterns



Bookstore > Books > Dependency Injection Principles, Practices, and Patterns

Price$41.64 - $45.99
Rating
AuthorsSteven van Deursen, Mark Seemann
PublisherManning
Published2019
Pages552
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-10161729473X
ISBN-139781617294730
EBook Hardcover Paperback

Dependency 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.

Dependency 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.

Dependency 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 inside

Refactoring existing code into loosely coupled code; DI techniques that work with statically typed OO languages; Integration with common .NET frameworks; Updated examples illustrating DI in .NET Core.




5 5 733

Similar Books


Unit Testing Principles, Practices, and Patterns

Unit Testing Principles, Practices, and Patterns

by Vladimir Khorikov

Unit Testing Principles, Patterns and Practices shows you how to refine your existing unit tests by implementing modern best practices. You'll learn to spot which tests are performing, which need refactoring, and which need to be deleted entirely! Upgrade your testing suite with new testing styles, good patterns, and reliable automat...

Price:  $39.99  |  Publisher:  Manning  |  Release:  2020

Dependency Injection with AngularJS

Dependency Injection with AngularJS

by Alex Knol

Dependency injection facilitates better testing by allowing us to mock dependencies in testing environments so that we only test one thing at a time. It also enables us to write more maintainable code by decoupling our objects from their implementations. The motivation for using it in AngularJS is to make it easier to transparently load m...

Price:  $17.99  |  Publisher:  Packt Publishing  |  Release:  2013

Mastering Ninject for Dependency Injection

Mastering Ninject for Dependency Injection

by Daniel Baharestani

Dependency injection is an approach to creating loosely coupled applications. Maintainability, testability, and extensibility are just a few advantages of loose coupling. Ninject is a software library which automates almost everything that we need in order to implement a dependency injection pattern.Mastering Ninject for Dependency Inject...

Price:  $19.99  |  Publisher:  Packt Publishing  |  Release:  2013

Java Program Design

Java Program Design

by Edward Sciore

Get a grounding in polymorphism and other fundamental aspects of object-oriented program design and implementation, and learn a subset of design patterns that any practicing Java professional simply must know in today's job climate.Java Program Design presents program design principles to help practicing programmers up their game and...

Price:  $36.94  |  Publisher:  Apress  |  Release:  2019

Microservice Architecture

Microservice Architecture

by Irakli Nadareishvili, Ronnie Mitra, Matt McLarty, Mike Amundsen

Microservices can have a positive impact on your enterprise - just ask Amazon and Netflix - but you can fall into many traps if you don't approach them in the right way. This practical guide covers the entire microservices landscape, including the principles, technologies, and methodologies of this unique, modular style of system bui...

Price:  $29.99  |  Publisher:  O'Reilly Media  |  Release:  2016

Fluent C

Fluent C

by Christopher Preschern

Expert advice on C programming is hard to find. While much help is available for object-oriented programming languages, there's surprisingly little for the C language. With this hands-on guide, beginners and experienced C programmers alike will find guidance about design decisions, including how to apply them bit by bit to running co...

Price:  $44.98  |  Publisher:  O'Reilly Media  |  Release:  2022

Infrastructure as Code

Infrastructure as Code

by Kief Morris

Virtualization, cloud, containers, server automation, and software-defined networking are meant to simplify IT operations. But many organizations adopting these technologies have found that it only leads to a faster-growing sprawl of unmanageable systems. This is where infrastructure as code can help. With this practical guide, author Kie...

Price:  $38.49  |  Publisher:  O'Reilly Media  |  Release:  2016

Beginning SOLID Principles and Design Patterns for ASP.NET Developers

Beginning SOLID Principles and Design Patterns for ASP.NET Developers

by Bipin Joshi

This book teaches you all the essential knowledge required to learn and apply time-proven SOLID principles of object-oriented design and important design patterns in ASP.NET 5 applications. You will learn to write server-side as well as client-side code that makes use of proven practices and patterns.SOLID is an acronym used to describe f...

Price:  $24.49  |  Publisher:  Apress  |  Release:  2016