I am creating a web application with asp.net core that has a lot of pure HTML pages without any functionality.
How do I add these pages to the application? Should I create an action method for each page?
I don't believe this should be marked as duplicate as it is tagged with asp.net-core. The duplicate answer is for ASP.NET MVC from 4 years ago and may not apply.
Create a folder within Views folder where you are going to place your html pages, PlainHTML for example. Then when you run your application you can go to ~/PlainHTML/View.html
asp.net-core. The duplicate answer is for ASP.NET MVC from 4 years ago and may not apply.