RuntimeBinderException: Cannot implicitly convert type

Question: How do you resolve the error that says "RuntimeBindingException: Cannot implicitly convert type 'System.Runtime.CompilerServices.ConfiguredTaskAwaitable<System.Collections.Generic.List<ClassName>>' to 'System.Collections.IEnumerable'

Answer: There is a chance that you are calling an Async Function in your Controller without Waiting for Results. Just add an "await" in front of the function call from your Controller.



Edit this Article
RuntimeBinderException: Cannot implicitly convert type AspNet 6 ebook e-book .NET 6 published
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

Your Session is Ending
Login to Continue

© 2021 - ErnesTech - Privacy