“The criterion of truth is that it works even if nobody is prepared to acknowledge it.” ~ Ludwig Von Mises


Handle Navigation Between IRoutableViewModels via Service Injection Without Circular Dependencies in AvaloniaUI (ReactiveUI)

Tyler Hasty


This post addresses the following problem:

  • How to handle routing between IRoutableViewModels by relying on constructor injection and the service container without creating circular dependencies

Note: I do not claim expertise on any of the topics and technologies herein discussed; however,the proceeding solution appears to have solved this problem for my application.