I think my problem is somewhat simple hopefully. Using ASP.NET Core MVC and Visual Studio.
I have a database that will store cshtml. I will be reading this into the model property at the top of the index.cshtml file.
For certain sections, I need to display this cshtml as it would render, if I just had it in the cshtml file to begin with.
Using this works, MOSTLY --> @Html.Raw(Model.htmlcontent)
However, all of the @Model.Property bits are showing up like that, instead of actually inserting the value like I want.
Is there another method like Html.Raw that can do this, or a good approach for this?
Thank you