Knowledgebase

What is the aspnet_client Folder?

ASP.net developers should be aware of the aspnet_client folder in their web space. This folder is related to ASP.net runtime validation and has its own importance. This folder is automatically created when you enable the ASP.net extension on your site. The aspnet_client folder contains the client-side code used by some of the ASP.NET Web Form controls (namely validation, SmartNavigation). The scripts contained in this folder get called by web pages that utilize controls that need these scripts. If you use a control that uses one of the scripts in this folder and the script can¢t be found, then that control will not be able to do its client-side job.

 

The aspnet_client folder should be considered as the ASP.NET runtime component not your ASP.NET application. The scripts in the folder might change in the new version. This is why Publish Site tool will delete it first and then ASP.net will recreate it. If you had a web application developed in an older version, then published it to a web site with a newer version of ASP.NET, the aspnet_client should have the scripts from the same version of ASP.NET. So it is a good practice to let ASP.NET maitain this folder.


Was this answer helpful?

 Print this Article

Also Read

I get error when conneting to MS SQL 2008 server

If you get this error: The server principal " " is not able to access the database " " under the...

How to send email from your asp.net code?

' Visual Basic Sample - Sending SMTP Authenticated E-mail ' Please replace yourdomain.com in...

Conection String to MS SQL 2008 DB - example

In order to connect to SQL Server 2008 from Management Studio, Enterprise Manager, Query...

MS SQL 2008 and MySQL server addresses

MSSQL 2008 server addresses are: sql2008.aspnethosting.co.uk sql2008r2.aspnethosting.co.uk...

How to enable remote IIS management for my site?

Login to your hosting control panel here http://cp.aspnethosting.co.uk then click on Web - Web...