Skip to content

Microsoft.AspNetCore.All

reference
1 min readUpdated

Kind: Service

Source: Pams/Web/Pams.WebApp/Pams.WebApp.csproj (line 1)

Part of: Pams

NuGet package dependency

Microsoft.AspNetCore.All is a NuGet package reference in Pams.WebApp.csproj for the ASP.NET Core shared framework. It makes ASP.NET Core web framework assemblies available to the Pams web application at build and runtime.

Diagram

mermaid
sequenceDiagram
    participant Browser
    participant PamsWebApp as Pams.WebApp
    participant AspNetCore as Microsoft.AspNetCore.All

    Browser->>PamsWebApp: Send HTTP request
    PamsWebApp->>AspNetCore: Run ASP.NET Core middleware and endpoints
    AspNetCore-->>PamsWebApp: Produce HTTP response
    PamsWebApp-->>Browser: Return response

Usage

typescript
async function loadPamsPage(): Promise<string> {
  const response = await fetch("/");

  if (!response.ok) {
    throw new Error(`Request failed: ${response.status}`);
  }

  return response.text();
}

loadPamsPage().then((html) => {
  document.body.innerHTML = html;
});

AI Coding Instructions

  • Keep the Microsoft.AspNetCore.All package reference aligned with the ASP.NET Core target framework configured in Pams.WebApp.csproj.
  • Treat this dependency as server-side infrastructure; browser code interacts with routes exposed by Pams.WebApp.
  • Add application middleware, routing, and endpoint configuration in the ASP.NET Core startup path rather than in package configuration.
  • Check framework compatibility before changing or removing this package reference.

Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Injected or called by (1)

  • Pams.WebAppPams/Web/Pams.WebApp/Pams.WebApp.csproj:1

Was this page helpful?

Download as PDF