When setting up a Razor Pages Application the file structure is as follows:
The main folders are:
Location of all 'static' files such as client side Javascript, images and CSS files. May also include HTML files that don't require any .net server side logic
Location of the pages/views and their associated model pages. Each view page .cshtml file has an associated .cshtml.cs file that contains the logic for the page
The Shared folder contains the default layout inside _Layout.cshtml as well as partial pages to make page management easier and more modular.
My default the starter template makes use of the Bootstrap CSS Framework via a full path link in _Layout.cshtml.
As a developer you can choose to make more folders inside Pages to help structure your content.
Other core files are:
As the name implies used for application settings. Is used to store database connection strings.
The main gateway to the application that holds the c# Main method. This calls Startup.cs
Configures the application using Dependency Injection and controls the order of the middleware methods to be run. Slightly different default set ups from Core 2 to Core 3
Makes use of app.UseMvc();
Makes use of endpoints.MapRazorPages();