How to attach external stylesheet with open asp page
3 answers
Take a look at Overview of ASP.NET Core Pages , this might be what you are looking for.
ASP.NET Core Pages enable you to create a consistent layout for the pages in your application. One master page defines the look and feel and the default behavior you want for all pages (or a group of pages) in your application. You can then create separate content pages that contain the content that you want to display. When users request content pages, they are merged from the master page for display, combining the master page layout with content from the content page.
+1
a source to share