2
Answers

how or where async function in a web api controller can help me?

hi,

I just made one web API with core 9 with entity framework and all actions, i found that all the methods are made with a sync.

 

q1) so my question is where or how it can help me , because in my case i call my controllers action methods from java script in JavaScript i can can it in async or synchronous way, question came to my mind do i need async in the action methods of controller.

q2) and if i am not beneficial in above case then where i would be?

yours sincerely

Answers (2)