Using Razor Pages @RenderSection does not seem to be available on a Razor Page, I get "RenderSection does not exist in the current context"
I have a number of Razor pages where I am trying to use a partial page on the partial page the is some accompanying css and Javascript I would like injected into the css and script section
If I just define the sections on the partial page nothing gets rendered, so after some searching it seems that on the page using the partial you need to add RenderSection in the various sections.
Any help would be appreciated.