# pdf-viewer-default

> PDF viewer rendering a remote document path with a CDN resource URL for the client-side viewer library.

**Framework:** aspnet-core  **Component:** PdfViewer  **Variant:** default

## Get this item

**If you are an agent, fetch the JSON.** Source is inlined, so one request is enough and no tooling is required:

```
GET https://ai.syncfusion.com/r/aspnet-core/pdf-viewer-default.json
```

**Install Package(s)**

```bash
dotnet add package Syncfusion.AspNetCore.PdfViewer
```

**Notes**

- Syncfusion release: 2026 Volume 3 (v35.1.37)
- The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md

## Source files

### src/components/pdf-viewer-default/pdf-viewer.cshtml

```cshtml
@page
@namespace aspnet_core.PdfViewer.Default
@using Syncfusion.EJ2

    <div class="control-section">
        <ejs-pdfviewer
            id="pdfviewer"
            documentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
            resourceUrl="https://cdn.syncfusion.com/ej2/35.1.37/dist/ej2-pdfviewer-lib"
            style="height:641px;">
        </ejs-pdfviewer>
    </div> 

```
