iT邦幫忙

0

WEBAPI實作問題請教

  • 分享至 

  • xImage

您好:
我參考
https://coolmandiary.blogspot.com/2020/03/day2aspnet-wep-apimodelcontrollerjquery.html

但結果卻發生錯誤(我啟動VS 上的IIS,他自動呈現index.html 或 針對index.html右鍵 瀏覽)
如下圖
請問這該如何除錯?
謝謝!

https://ithelp.ithome.com.tw/upload/images/20220227/20104095GGHgp55x4P.pnghttps://ithelp.ithome.com.tw/upload/images/20220227/201040956aZdCl9Yc5.pnghttps://ithelp.ithome.com.tw/upload/images/20220227/20104095Ef38fGa2lV.png

noway iT邦研究生 3 級 ‧ 2022-02-27 16:59:21 檢舉
不好意思,找到問題了,手動作業,Global 沒有將
GlobalConfiguration.Configure(WebApiConfig.Register); 加進去
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答