本文介绍了prevent的aspnet_client文件夹添加到.NET网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是的,其他的问题在这里潜入原因。我知道为什么被添加的文件夹。
但是,我还没有看到这个问题的回答:

Yes, other questions here dive into the why. I know why the folder is added.But I haven't seen this question answered:

我如何确保的aspnet_client永远不会加入到我的.NET网站,EVER?

How do I make sure the aspnet_client is never added to my .net sites, EVER?

推荐答案

查看上的。还有,你应该能够使用在事后清理的电子和EA命令行开关。

Check out the MSDN documentation on the ASP.NET IIS Registration Tool (Aspnet_regiis.exe). There's an e and ea command line switch you should be able to use to clean it up after the fact.

您可以使用到的Aspnet_regiis.exe安装和删除系统客户端脚本,如脚本客户端验证。使用-c选项来安装客户端脚本与该工具关联的ASP.NET版本。 (脚本安装在每个IIS站点目录的aspnet_client子目录中。)要删除客户端脚本只是与该工具关联的ASP.NET版本,请使用-e选项。 要删除客户端脚本为所有已安装的ASP.NET版本,请使用-ea选项。

(着重号。)

不幸的是,即使是.NET 4的安装程序会将此目录,因此清理将继续是必要的。

Unfortunately, even the .NET 4 installer adds this directory, so clean-up will continue to be required.

这篇关于prevent的aspnet_client文件夹添加到.NET网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 08:52