2
的MVC項目是用寫在VisualStudio的2013年, 我嘗試添加下面的代碼片段如何使用JSON-LD在VisualStudio的項目
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Vehicle",
...
}
我也引用json-ld.net在解決方案 問題是,'@'符號導致VS2013報告錯誤,並且它不會在IIS7.5上運行。所以我顯然錯過了一些東西。任何幫助表示讚賞