Get Free Shipping on orders over $79
Dependency Injection in .NET Core - Mark Seemann

Dependency Injection in .NET Core

By: Mark Seemann, Steven van Deursen

Paperback | 15 May 2019 | Edition Number 2

At a Glance

Paperback


$130.75

or 4 interest-free payments of $32.69 with

 or 

Ships in 10 to 15 business days

Summary

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.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

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.

About the Book

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

About the Reader

For intermediate OO developers.

About the Authors

Mark 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 Contents

    PART 1 Putting Dependency Injection on the map

  1. The basics of Dependency Injection: What, why, and how
  2. Writing tightly coupled code
  3. Writing loosely coupled code
  4. PART 2 Catalog

  5. DI patterns
  6. DI anti-patterns
  7. Code smells
  8. PART 3 Pure DI

  9. Application composition
  10. Object lifetime
  11. Interception
  12. Aspect-Oriented Programming by design
  13. Tool-based Aspect-Oriented Programming
  14. PART 4 DI Containers

  15. DI Container introduction
  16. The Autofac DI Container
  17. The Simple Injector DI Container
  18. The Microsoft.Extensions.DependencyInjection DI Container

More in Microsoft (Windows) Operating Systems

Microsoft Power BI Step by Step - Jose Escalante
Linux All-In-One For Dummies : For Dummies (Computer/Tech) - Richard Blum
Windows 11 All-in-One For Dummies, 2nd Edition : For Dummies - Ciprian Adrian Rusen
Windows 11 For Dummies, 2nd Edition : Windows 11 For Dummies - Alan Simpson
Troubleshooting PCs For Dummies : For Dummies (Computer/Tech) - Dan  Gookin
DNS and BIND 5e : OREILLY - Cricket Liu

RRP $114.00

$55.75

51%
OFF
Windows 10 For Dummies : 4th edition - Andy Rathbone

RRP $41.95

$33.75

20%
OFF
Windows 10 Inside Out : 4th Edition - Ed Bott

RRP $103.95

$73.75

29%
OFF
Windows 10 Portable Genius : Portable Genius - Paul McFedries

RRP $36.25

$14.99

59%
OFF
Learning Visual Basic .NET : LEARNING - Jesse Liberty

RRP $66.75

$34.99

48%
OFF
DNS & Bind Cookbook : Cookbook - Cricket Liu

RRP $76.00

$39.75

48%
OFF
VB NET Language Pocket Reference : Pocket Reference (O'Reilly) - Steven Roman
Outlook Pocket Guide : Pocket References Ser. - Walter Glenn

RRP $18.99

$12.75

33%
OFF
Classic Shell Scripting : OREILLY - Arnold Robbins

RRP $95.00

$47.75

50%
OFF
NUnit Pocket Reference : Pocket Reference (O'Reilly) - Bill Hamilton
Writing Word Macros : O'Reilly Ser. - Steven Roman

RRP $95.00

$47.75

50%
OFF
Windows 11 All-in-One For Dummies : For Dummies (Computer/Tech) - Ciprian Adrian Rusen