Configuring ASP.NET (Windows)

ASP.NET is a flexible set of tools and web development technologies that allows you to employ a number of applications based on ASP.NET framework. Plesk supports 1.1.x, 2.0.x and 4.0.x versions of the .NET framework and allows configuring most of its settings. Most ASP.NET configuration settings that commonly need to be customized in order for ASP.NET applications to function in a desirable way can be edited through Plesk.

To configure the server-wide ASP.NET settings:

  1. Go to Tools & Settings > ASP.NET Settings (in the Applications group). The settings for different versions of ASP.NET are located under the corresponding tabs.


    ASP_Net

  2. Set up the strings that determine database connection data for ASP.NET applications which use databases. This option is available only for ASP.NET 2.0.x.

    When you open the ASP.NET configuration page for the first time, sample connection parameters with common constructions are displayed. You can delete them and specify your own strings.

  3. Set up custom error messages that will be returned by ASP.NET applications in the Custom Error Settings field:
  4. Configure compilation settings in the Compilation and Debugging field:
  5. Configure encoding settings for ASP.NET applications in the Globalization Settings section:
  6. Set a code access security trust level for ASP.NET applications in the Code Access Security field.

    CAS trust level is a set of restrictions applied to an app. For example, the Low level restricts app’s network capabilities (like sending mail) while the Full trust level removes any restrictions.

  7. Set client session parameters in the Session Settings field:
  8. Click OK to apply all changes.

Note: Plesk supports separate configurations for different versions of the .NET framework (1.1.x, 2.0.x and 4.0.x).