c# - 在 asp.net mvc 中使用异步 Controller 有什么好处?

标签 c# asp.net-mvc

<分区>

在我的 ASP.NET MVC 网站中使用异步 Controller 有哪些优势? 请用简单的术语解释;我不是 .NET 专家

最佳答案

我认为文档用非常简单的术语说明了这一点:http://msdn.microsoft.com/en-us/library/ee728598.aspx

The AsyncController class enables you to write asynchronous action methods. You can use asynchronous action methods for long-running, non-CPU bound requests. This avoids blocking the Web server from performing work while the request is being processed.

工作网址:Using Asynchronous Methods in ASP.NET MVC 4

关于c# - 在 asp.net mvc 中使用异步 Controller 有什么好处?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11040825/

相关文章:

c# - FindAndModify 在哪里适合 CQRS?

c# - 图像与位图图像与位图

c# - 如何使用 Open XML 密码保护 Excel 文档

asp.net-mvc - IIS7,SQL 2008和ASP.NET MVC安全性

asp.net-mvc - 如何以及在何处在 Azure 上定义环境变量

javascript - 在超链接中调用 Javascript 方法

c# - 如何将 ADO.NET 数据集传递给 View

c# - Unity中生成 "ramp"对象的算法

C# 装饰器——接口(interface)还是抽象类?

asp.net - session 过期事件?