Injecting UrlHelper in ASP.NET Core MVC
Explains how to inject and use UrlHelper in ASP.NET Core MVC to generate dynamic hypermedia links in API responses.
Explains how to inject and use UrlHelper in ASP.NET Core MVC to generate dynamic hypermedia links in API responses.
A tutorial on using the new @inject directive to perform dependency injection directly into views in ASP.NET Core 2.0 MVC.
Explains three methods for unit testing C# code that uses HttpClient, including wrapping it with an interface for mocking.
Key considerations for migrating from ASP.NET to ASP.NET Core 2, covering Dependency Injection, project files, and Razor Pages.
Stitcher CMS alpha 5 released, adding plugin support and PHP 7 compatibility as the final alpha before the beta phase.
Explains Stitcher's plugin system built on Composer autoloading and Symfony's service container, with a practical example.
A technical guide on integrating Google Guice dependency injection with Hazelcast's distributed ExecutorService for stateful tasks in Java.
Explains how to use Swift protocol composition to simplify dependency injection and reduce boilerplate in iOS projects.
A guide to using dependency injection with static methods and classes in Swift to improve testability of legacy code.
A guide on overriding built-in ASP.NET Core services like logging for custom implementations, using dependency injection.
A comprehensive guide to dependency injection in ASP.NET Core, covering service lifetimes, registration, and best practices for testable code.
An experiment implementing Angular's dependency injection mechanism in React, exploring how DI concepts work across frameworks.
A tutorial on creating a simple Web API using .NET Core and the NancyFX framework, highlighting its simplicity and features.
A step-by-step tutorial on creating a .NET Core console application using Entity Framework Core with SQLite.
Explores the 'Functional Core, Reactive Shell' software architecture pattern, contrasting it with spaghetti and lasagna code to improve testability.
A guide to implementing a custom 'resolve' feature for the deprecated Angular 2 router to preload data before component rendering.
Explains how to implement tenant-specific dependency injection scopes in ASP.NET Core for multi-tenant applications.
Explains how to use Swift protocols to abstract third-party dependencies like NSHTTPCookieStorage, improving code testability and isolation.
Explains how to use FakeItEasy's auto-initialization feature to automatically inject fake dependencies in unit tests, reducing boilerplate code.
Explains how to implement explicit dependencies in Swift for better code readability and testability, comparing it to Objective-C.