C # Advanced Programming, 11th Edition - Chapter XX

navigation

CHAPTER Dependency Injection

Dependency injection concept 439 20.1

20.1.1 not use dependency injection service 440

20.1.2 dependency injection 441

20.2 .NET Core DI container 442

Lifecycle services 443 20.3

20.3.1 singleton and 445 temporary service

20.3.2 Use Scoped Services 446

20.3.3 Use Custom Factory 448

20.4 use the option to initialize Services 449

20.5 using the configuration file 450

452 20.6 create a platform independence

20.6.1 .NET standard library 452

20.6.2 WPF application 453

20.6.3 UWP applications 454

20.6.4 Xamarin application 455

20.7 other DI container 456

20.8 Summary 457

Guess you like

Origin www.cnblogs.com/zenronphy/p/ProfessionalCSharp7Chapter20.html