I get sql deadlock error came using webapi post method. how to handle multiple request at a time . RRS feed

  • Question

  • User-2025101118 posted
     'public void mypostfunction()
            //call Webapi post method here
          --using this code to sent multiple request a time. 
       'for (int i=0; i< count; i++)
                new Thread(() =>
                    Thread.CurrentThread.IsBackground = true;
      --Webapi Route Method
        public async Task<HttpResponseMessage> Examplepost(Getvaues value)
    Monday, April 9, 2018 12:30 PM

All replies