I've tried several iterations, and something isn't right. If I type the endpoint in a browser, I get a Json result. Swagger shows the API returning stuff. No luck with the DropDownList yet.
Here is my current markup on the client:
<div>
<kendo-datasource name="data" type="DataSourceTagHelperType.WebApi" server-operation="true">
<transport>
<read url="https://localhost:7225/api/SievePack" action="get" datatype="jsonp"/>
</transport>
<schema>
<model id="SieveSetId">
<fields>
<field name="SieveSetId" type="number" />
<field name="SieveSetName" type="number" />
</fields>
</model>
</schema>
</kendo-datasource>
<script>
data.read();
</script>
<kendo-dropdownlist name="sets"
datatextfield="SieveSetName"
datavaluefield="SieveSetId"
datasource="data">
</kendo-dropdownlist>
</div>
I have the API solution running when I launch the client.
Do I need to do something in another part of my application? From what I've been reading, this should work..
Thanks!