我对MVC、SPA和所有这些都是新手。我关注这个视频:
http://channel9.msdn.com/Events/TechDays/TechDays-2012-Belgium/199
当它处理结果时,我被困在了那一刻。
@{Html.UpshotContext().DataSource<DataServicesController>(x => x.GetDeliveriesForToday());}这到底是做什么的,如果GetDeliveriesForToday接受一个参数,我应该做什么?
var dataSource = upshot.dataSources.DeliveriesForToday;其次,什么是dataSources?VS2011智能感知找不到它。最后,DeliveriesForToday是从哪里来的?我唯一能找到的就是GetDeliveriesForToday函数。这是否意味着结果会以某种方式自动剥离Get
发布于 2012-05-11 13:34:05
这篇文章回答了我的一些问题:
http://bartjolling.blogspot.com/2012/02/building-single-page-apps-with-aspnet.html
https://stackoverflow.com/questions/10522097
复制相似问题