Editéieren

System.Web Namespace

For .NET Core and .NET 5+, this namespace contains the HttpUtility class.

For .NET Framework, this namespace contains classes and interfaces that enable browser-server communication. These classes include the HttpRequest class, which provides extensive information about the current HTTP request; the HttpResponse class, which manages HTTP output to the client; and the HttpServerUtility class, which provides access to server-side utilities and processes. System.Web also includes classes for cookie manipulation, file transfer, exception information, and output cache control in .NET Framework.

Classes

Name Description
AspNetHostingPermission

Controls access permissions in ASP.NET hosted environments. This class cannot be inherited.

AspNetHostingPermissionAttribute

Allows security actions for AspNetHostingPermission to be applied to code using declarative security. This class cannot be inherited.

HttpUtility

Provides methods for encoding and decoding URLs when processing Web requests. This class cannot be inherited.

Interfaces

Name Description
IHtmlString

Represents an HTML-encoded string that should not be encoded again.

Enums

Name Description
AspNetHostingPermissionLevel

Specifies the trust level that is granted to an ASP.NET Web application.