For some reason this line of code.
<a href="/API/@Html.DisplayFor(modelItem => item.site_url)">@Html.DisplayFor(modelItem => item.api_name)</a>
is throwing the error.
Compiler Error Message: CS1963: An expression tree may not contain a dynamic operation
Web search has been no help I can’t seem to figure out whats wrong with the code.
The page is not strongly typed.
As the error states, you can’t use dynamic models with type-safe editor helpers.
You should use typed models instead. (using
@model SomeType)