Sự khác biệt giữa <**system.web**> và <**system.webServe**r> là gì?
Sự khác biệt giữa <**system.web**> và <**system.webServe**r> là gì?
Hai phần cấu hình trong web.config cho hai pipeline IIS:
<system.web> |
<system.webServer> |
|
|---|---|---|
| Thuộc về | ASP.NET (runtime .NET) | IIS 7+ (web server) |
| Dùng cho | Classic pipeline và cấu hình ASP.NET chung (compilation, authentication, sessionState, customErrors, httpRuntime) | Integrated pipeline: modules, handlers, rewrite, httpErrors, staticContent, security, defaultDocument |
| Module/ Handler | <httpModules>, <httpHandlers> |
<modules>, <handlers> |
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.