 |
ASP.NET process recycling
|
Total Hit (1927) |
Application recycling is a great feature that lets you configure an application so that ASP.NET automatically shuts it down and restarts it after a given period or a given number of client requests, or when it consumes more memory than the specified threshold. This feature is a lifesaver if the appl
....Read More |
Rating
 |
|
 |
Centralize ASP.NET settings in one file
|
Total Hit (1914) |
Although ASP.NET lets you distribute web.config files over all the application's subdirectories, it surely doesn't force you to do so. You can keep all the application settings in its main web.config file, while enforcing different settings on a directory-by-directory base, if you want. The key to t
....Read More |
Rating
 |
|
 |
Change script timeout through ASP.NET configuration files
|
Total Hit (4666) |
The httpRuntime tag in ASP.NET configuration files lets you determine several behaviors of ASP.NET at the machine or site, including the global value for script timeout. Here's the complete syntax for this tag:
«Code LangId=4»
<httpRuntime executionTimeout="seconds"
maxRequestLengt
....Read More |
Rating
 |
|
 |
Prevent unauthorized changes to ASP.NET configuration files
|
Total Hit (1922) |
Some ASP.NET settings are so critical that the system administrator should prevent them from being changed by individual applications. This ability is especially crucial for servers that host multiple applications written by different developers. In this case, the administrator can prevent undesired
....Read More |
Rating
 |
|
 |
Reduce Server Too Busy errors with the httpRuntime tag
|
Total Hit (3019) |
The httpRuntime tag in ASP.NET configuration files lets you determine several features of ASP.NET at the machine or site level, including the how ASP.NET uses multi-threading. Here's the complete syntax for this tag:
«Code LangId=4»
<httpRuntime executionTimeout="seconds"
maxReques
....Read More |
Rating
 |
|
 |
Registering ASP.NET on IIS after installing the .NET Framework
|
Total Hit (2078) |
If you install the .NET Framework on a system that has IIS already installed, IIS is automatically configured to handle requests to ASP.NET pages, and to redirect the execution to the ASP.NET runtime. However, it may happen that you installed the framework on a Windows 2000 Professional system where
....Read More |
Rating
 |
|
 |
Use custom error pages in ASP.NET
|
Total Hit (2012) |
The tag in ASP.NET configuration files affects how error pages are managed in an ASP.NET application and whether developers can redirect users to their custom error pages when an exception is thrown. The syntax for this tag is:
<customErrors mode="On|Off|RemoteOnly" defaultRedirect="url">
<e
....Read More |
Rating
 |
|
|
|
 |
Configuring Exceptions Using Web.config
|
Total Hit (866) |
An article on handling exceptions using custom handlers, by a custom configuration section, making it independent from the using application.
|
Rating
 |
|
|
|
|
 |
ASP Configuration Files
|
Total Hit (877) |
ASP.NET/ IIS applications use an optional XML-based configuration file named web.config, to maintain application configuration settings. This extends and/ or changes any settings in the system wide configuration file, machine.config.
|
Rating
 |
|
 |
Store Your Database Connection String in Web.Config
|
Total Hit (805) |
Here we present an example of how to store a database connection string in the application's Web.Config file. Web.Config is a part of every asp.net application and provides a nice, central location for storing information that may be needed in many of your web pages. This first bit of code is just a
....Read More |
Rating
 |
|
 |
Configuration File Format
|
Total Hit (798) |
ASP.NET configuration files are XML-based text files--each named web.config--that can appear in any directory on an ASP.NET Web application server. Each web.config file applies configuration settings to the directory it is located in and to all virtual child directories beneath it. Settings in child
....Read More |
Rating
 |
|
 |
Retrieving Configuration
|
Total Hit (861) |
ASP.NET allows developers to access configuration settings from within an application either by exposing configuration settings directly (as strongly typed properties) or by using general configuration APIs. The following sample shows a page that accesses the <browserCaps> configuration section usin
....Read More |
Rating
 |
|