What is the aspnet_client folder in my ASP.NET website?

后端 未结 3 1255
迷失自我
迷失自我 2020-12-21 04:58

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

相关标签:
3条回答
  • 2020-12-21 05:20

    This folder is among other stuff used to store default Themes for all the applications of the server (.skin files).

    0 讨论(0)
  • 2020-12-21 05:21

    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.

    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.

    0 讨论(0)
  • 2020-12-21 05:25

    That folder is used to store auto-generated validation scripts when you add client side validation to your server controls.

    0 讨论(0)
提交回复
热议问题