asp.net - ASP.NET 4 中仍然需要 App_Browsers 文件夹吗?

标签 asp.net asp.net-4.0 asp.net-4.5

ASP.NET 4 站点/应用程序中仍然需要 App_Browsers 文件夹吗?

多年来,我的网站中一直使用此文件,仅包含一个 w3cvalidator.browser 文件,以使网站在 W3C 验证器中进行验证。

既然微软非常支持标准,这肯定是多余的吗?我今天进行了搜索,但只能找到已有多年历史的页面。

最佳答案

仍然使用App_Browsers文件夹。根据MSDN :

Contains browser definitions (.browser files) that ASP.NET uses to identify individual browsers and determine their capabilities.

该系统仍然存在,并且也可以用于为移动设备生成不同的输出,因此仍然有用。

关于asp.net - ASP.NET 4 中仍然需要 App_Browsers 文件夹吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24011726/

相关文章:

c# - 通过存储到变量中来减少 SQL 查询?

javascript - 使用asp.net创建的js或jquery读取cookie

iis-7.5 - 带有 IIS 7.5 的 ServiceStack

c# - 向 System.Drawings.Color 添加颜色选项

c# - 在 ASP.NET 中调用 PLSQL 过程

c# - 从模板生成动态 PDF

asp.net - Html 编码代码表达式

c# - 如何更改 CreateUserWizard 控件的布局?

asp.net - “Microsoft.AspNet.Web.Optimization”与 'Microsoft.AspNet.Web.Optimization.WebForms'

asp.net - 点网核 "keepalive"