我的 ASP.NET 网站中的 aspnet_client 文件夹是什么? [英] What is the aspnet_client folder in my ASP.NET website?

查看:15
本文介绍了我的 ASP.NET 网站中的 aspnet_client 文件夹是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承了一个网站,并在网站根目录中看到了该文件夹.我正在尝试清除旧垃圾,想知道是否可以删除它.

I inherited a website and see that folder in the web root. I'm trying to clean out the old crap, and wondering if I can delete it.

这个文件夹是干什么用的?是自动生成的吗?是缓存吗?是什么创造了它?

What is this folder used by? Is it auto generated? Is it a cache? What creates it?

推荐答案

由 ASPNET_regiis/c 命令生成.我使用的大多数网站最终都将它包含在发行版中,因为系统管理员总是忘记安装它.它包含 .NET1.x 所需的客户端 JavaScript 库,用于在客户端处理回发事件模型.

It is generated by the ASPNET_regiis /c command. Most websites I use have ended up including this in the distribution because the sys admins always forgot to install it. It contains the client side JavaScript libraries required by .NET1.x to handle the postback eventing model on the client side.

如果您升级到使用不同处理程序处理脚本的 .NET 2(或者如果您准备重新创建它),您可以删除它.但首先检查作者没有在那里添加其他文件作为有时我看到它用于额外的东西.

You can delete it if you have upgraded to .NET 2 which uses a different handler for the scripts (or if you are prepared to recreate it.) But check first that there aren't additional files added there by the author as sometimes I have seen it used for extra stuff.

这篇关于我的 ASP.NET 网站中的 aspnet_client 文件夹是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆