這個問題已經被問過很多次了,但我仍然在努力尋找一個可行的解決方案。 請考慮下面的代碼: SmtpClient mailClient = new SmtpClient("outlook.office365.com");
MailMessage msgMail = new MailMessage();
msgMail.From = new MailAddress("[email p
我想完成以下任務: class SearchController : AsyncController
{
public ActionResult Index(string query)
{
if(!isCached(query))
{
// here I want to asynchronously invoke the Search a