liveBook · Manning

System.Web.dll

As explained in ASP.NET Core in Action, 3e

System.Web.dll is the .NET Framework assembly that supplies the core ASP.NET Web Forms and classic ASP.NET web infrastructure.

System.Web.dll is the .NET Framework assembly that provides the core infrastructure for classic ASP.NET web applications, including ASP.NET Web Forms and ASP.NET MVC. It is preinstalled with Windows and supplies the framework code used to build these applications. section 2.2

Its long production history makes it dependable, but its architecture also sets important boundaries:

  • Supports a mature, battle-tested ASP.NET platform with extensive features and familiarity among Windows web developers. section 2.2
  • Binds classic ASP.NET to .NET Framework and the Windows-based Internet Information Services (IIS) host. section 2.2
  • Limits platform evolution because changes to the shared assembly are far-reaching and slow to release. section 2.2
  • Receives no new features or updates now that .NET Framework is considered complete. section 2.2

ASP.NET Web Forms is especially dependent on this assembly and IIS, so moving it directly to ASP.NET Core is effectively a rewrite rather than a framework switch. A gradual path may use Blazor Server for page-by-page migration or introduce web API concepts while reducing reliance on constructs such as ViewState. section 2.4.3

Evaluating a legacy Web Forms application

A Windows-hosted Web Forms application can continue using its established System.Web.dll infrastructure, but a move to ASP.NET Core requires weighing the rewrite effort against cross-platform deployment, modular features, and performance goals. Blazor Server or incremental web API adoption may provide intermediate migration steps. section 2.4.3 section 2.2

Figure 2.2 The relationships among ASP.NET Core, ASP.NET, .NET Core/.NET 5+, and .NET Framework. ASP.NET Core runs on .NET Core and .NET 5+, so it can run cross-platform. Conversely, ASP.NET runs on .NET Framework only, so it’s tied to the Windows OS.
CH02_F02_Lock3

Use the relationship diagram to distinguish classic ASP.NET on .NET Framework from ASP.NET Core on .NET Core and .NET 5+. section 2.2

How ASP.NET Core in Action, 3e covers it

How deep it goes
Explains its platform role, operational benefits, architectural limits, and migration consequences without detailing assembly internals.
Examples
Uses classic ASP.NET MVC, Windows-hosted Web Forms, ViewState reduction, and gradual Blazor Server migration as examples.
What you can do after
Evaluate whether a classic ASP.NET application should remain on .NET Framework or move toward ASP.NET Core.
How it connects
Connects ASP.NET, ASP.NET MVC, Web Forms, .NET Framework, IIS, ASP.NET Core, Blazor Server, and web APIs.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of ASP.NET Core in Action, 3e. The section links point to the parts of the book it draws on.