# System.Web.WebPages.Deployment

**Kind:** Service

**Source:** `Pams/Core/Pams.Security/Pams.Security.csproj` (line 1)

**Part of:** [Pams](subsystem-pams)

NuGet package dependency

`System.Web.WebPages.Deployment` is a NuGet package dependency declared by the `Pams.Security` project. It supports deployment-related behavior for legacy ASP.NET Web Pages components that may be referenced by the security project.

## Diagram

```mermaid
sequenceDiagram
    participant Developer
    participant NuGet
    participant PamsSecurity as Pams.Security
    participant WebPagesDeployment as System.Web.WebPages.Deployment

    Developer->>NuGet: Restore project dependencies
    NuGet->>PamsSecurity: Resolve package reference
    PamsSecurity->>WebPagesDeployment: Load deployment dependency
    WebPagesDeployment-->>PamsSecurity: Deployment assemblies available
```

## Usage

```typescript
import { execFileSync } from "node:child_process";

const projectFile = "Pams/Core/Pams.Security/Pams.Security.csproj";

execFileSync("nuget", [
  "restore",
  projectFile
], {
  stdio: "inherit"
});
```

## AI Coding Instructions

- Keep `System.Web.WebPages.Deployment` aligned with the legacy NuGet dependency format used by `Pams.Security`.
- Restore NuGet packages before building code that references assemblies from this package.
- Do not replace or remove this dependency without checking ASP.NET Web Pages deployment behavior.
- Check package version changes against the target framework configured in `Pams.Security.csproj`.
