Manage pages

Create a new page

  1. To add a new page, click on the + button next to the project name in the Explorer
  2. Select New Page… from the dropdown.
  3. In the new page dialog select a page type and click Next Choose page type
  4. Enter page Name and configure the page. Configuration options vary accross different page types.
    • Common configuration options:
      • Overwrite existing file - select whether to overwrite a file that already exist in the application. Changes made to this file will be lost.
      • Include in main navigation - select whether to add the page to the navigation UI of the application.
      • Use partial classes (.razor.cs) - decide if partial classes should be used to separate the code from the UI.
  5. Click Finish to create your new page

The page is added to the Pages directory.


Pages can be added to arbitrary locations. Right-click on the desired folder in the Explorer and select New Page … from the context menu.

Reveal in File Explorer / Finder

To explore pages with File Explorer (Windows) or Finder (macOS), right-click on the desired page and select Reveal in Explorer… (Windows) / Reveal in Finder… (macOS).

Delete a page

To delete a page:

  1. Right-click on the page in the Explorer and select Delete from the context menu.
  2. Confirm file delete

Choose page type