Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
481 views
in Technique[技术] by (71.8m points)

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

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...