Rank: Advanced Member
Groups: Authorized User, Developers Joined: 7/1/2022(UTC) Posts: 71
Thanks: 5 times Was thanked: 1 time(s) in 1 post(s)
|
Hello, I'm working on migrating all my custom code from AC gold to AC9 (now .7).
I've done a lot of development in Core now and am accustomed to the async Task/await pattern.
I thought I'd try making my custom action in one of the controllers async Task, and it builds just fine.
Then ASP complains:
The asynchronous action method 'MyRecordings' returns a Task, which cannot be executed synchronously.
Is there something else I should change to properly enable this, or is AC9 not yet async/await friendly?
Thanks, Charles
p.s. I thought I posted this in the wrong section earlier, then deleted it, only to find out this seems to be the right section. Apologies!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close