-
4 votesanswersviews
使用Asp.Net发送SendAsync电子邮件,但Page仍在等待?
我不想_____12070_想到在ASP.NET 3.5中使用SendAsync . 但是在调试之后,我发现主线程 still 等待 . Main: Call send email function... mailSend: Configuring.... mailSend: setting up incorrect port.... mailSend: Attempt now to send..... -
1 votesanswersviews
WebAPI返回200,但SendAsync调用显示500
我在POST和GET上都有一个调用WebAPI异步的MVC应用程序 . 在本地运行WebAPI和MVC应用程序时,WebAPI响应显示成功,但SendAsync请求返回500.此外,Fiddler不显示API调用 . 我怀疑它与如何处理异步请求有关,但我不确定我缺少什么 . MVC Controller调用API: public Model UploadFile(Model formCollect...