DocsASP.NET and Classic ASP

ASP.NET and Classic ASP

Host ASP.NET Framework 4.x, ASP.NET Core and Classic ASP sites with Zopanel for Windows, set ASP.NET options per site, and publish with Web Deploy.

Zopanel hosts the three Microsoft web stacks on IIS: ASP.NET Framework 4.x, ASP.NET Core, and Classic ASP. Each site runs in its own application pool under its own identity.

Status at a glance

Stack How it runs Status
ASP.NET Framework 4.x IIS integrated pipeline, per-site pool available
Classic ASP IIS ASP feature, per site available
ASP.NET Core 10 Kestrel as a Windows service behind IIS/ARR, framework-dependent or self-contained available
ASP.NET Core in-process IIS Hosting Bundle (ANCM) experimental
Web Deploy publishing Web Management Service, per-site IIS Manager user limited

ASP.NET Framework 4.x

The recommended set installs ASP.NET 4.8. Create a site and choose ASP.NET as the runtime, then upload the application (file manager, FTPS, Web Deploy or a release zip).

On Server 2019, target .NET Framework 4.7.2 in your projects.

The ASP.NET tab sets, per site:

  • debug compilation on or off;
  • customErrors mode;
  • session state settings;
  • machineKey (for apps that share authentication cookies or view state across servers).

The Site process tab sets the pipeline mode, the .NET CLR version, 32-bit applications, idle time-out and recycling.

Known limit: the first request to an ASP.NET site can fail while another site is writing the server's root web.config. Reload; report it if it repeats.

ASP.NET Core

ASP.NET Core apps run as their own service (Kestrel) behind IIS, which handles the domain, TLS and the WAF and forwards requests through ARR. Both framework-dependent apps (the .NET runtime comes from the catalog) and self-contained apps work.

  1. Create a site and choose .NET as the runtime.
  2. Deploy the published output (dotnet publish) as a zip, or from Git.
  3. Set environment variables and secrets under Environment variables in the Application tab. Secrets are write-only: the panel never shows them again.

The app runs inside a Windows Job Object with the plan's CPU and memory limits and is restarted with backoff if it crashes. Deploys keep the last 5 releases, run a health check, and you can roll back to a previous release.

In-process hosting through the ASP.NET Core Hosting Bundle (ANCM) is experimental: the bundle installs from the catalog and the hosting model is selectable in the ASP.NET tab, but no app has been run that way on Windows in our tests yet. Use the Kestrel service model for customers.

Classic ASP

Choose Classic ASP as the runtime. The panel turns on the IIS ASP feature for that site only.

Web Deploy

Web Deploy lets developers publish from Visual Studio:

  1. Install Web Deploy from Runtimes on the server.
  2. Turn it on in the server's settings: this starts the Web Management Service (WMSvc) and opens port 8172 with the "Zopanel Web Deploy" firewall rule.
  3. In the site's settings, create the Web Deploy user and download the .publishsettings file for Visual Studio.

The user is an IIS Manager user limited to that site; no Windows account is created. Status: limited (a fix for fresh Server 2022 installs is not yet re-checked on Windows).

Databases for .NET apps

SQL Server 2022 Express, MariaDB, MySQL 8.4 and PostgreSQL can all be created per site. Connection strings are shown once with the password; see Databases.


← PHP on IIS Node.js, Python, Java and Go apps →