Can dependency injection slow down navigation?

Platform: .NET MAUI| Category: Navigation

Yes, resolving a lot of services or expensive services synchronously at navigation time slows rendering. Use Lazy<T>, Func<T>, or factories to defer expensive resolves until you need them.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.