services.AddSingleton();We leveraged this existing dependency injection structure to properly set up the AOT DLL build. By defining a custom IoC container and injecting it with the concrete implementations required for offline play we were able to minimize the amount of refactoring necessary to make everything work. For the previous telemetry client example, we simply inject a no-op implementation in the serverless code.
Что думаешь? Оцени!
,这一点在safew官方版本下载中也有详细论述
Subscribe to unlock this article
Apple 确认将于三月发布多款新品10