How is ASP.NET multithreaded?

前端 未结 4 1120
天涯浪人
天涯浪人 2020-11-29 19:52

I\'ve been told that ASP.NET is multithreaded by default in IIS. How is this threading achieved?

Does the server farm send different requests to different cores?

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-29 20:10

    IIS makes use of the multiple cores automatically (although you can turn it off if you so choose).

    The advantage to adding threads to ASP.NET code is so that you can control your own application's inner workings and not be forced to rely on IIS to make all the decisions for you.

提交回复
热议问题