Could we use the CoreApplication Properties to manage the lifetime of an object that refuses to be marshaled?

· Raymond Chen · Nov. 28, 2026, 3 a.m.
Summary
The blog post discusses how to manage non-marshalable objects in programming using CoreApplication.Properties, detailing the issues encountered with agile references and suggesting a workaround involving marshalable wrappers. It highlights the unnecessary complexity introduced by CoreApplication.Properties when managing object lifetimes.