我目前正在使用VWD 2010 Express,並且有興趣更詳細地探索WCF REST,但我無法找到「ADO.NET實體數據模型」模板或任何有關如何安裝它的信息。這是否也被稱爲ODATA實體框架?我想要使用SQL Express數據庫和後來的MySQL數據庫創建WCF REST服務。ODATA EF for VWD 2010 Express在哪裏?
我搜索了在線模板網站,但沒有看到它那裏。
順便說一句,我現在最感興趣的是VB模板。
另外,假設ODATA EF可以與MySQL數據庫一起工作是否準確?是否有專門針對MySQL的備用模板?
* UPDATE * 按照伊恩·邁克爾威廉的建議下,我嘗試安裝WcfDataServices.exe。在日誌文件中的安裝失敗,此:
[0A34:08FC][2012-10-29T19:02:14]: Caching bundle from: 'C:\DOCUME~1\Bob\LOCALS~1\Temp\{e0328255-3f36-4c55-b959-379ddaeee93f}\.be\WcfDataServices.exe' to: 'C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\{e0328255-3f36-4c55-b959-379ddaeee93f}\WcfDataServices.exe'
[0A34:08FC][2012-10-29T19:02:15]: Registering bundle dependency provider: {e0328255-3f36-4c55-b959-379ddaeee93f}, version: 5.0.50831.0
[0A34:0BF8][2012-10-29T19:02:16]: Error 0x80092009: Failed to get authenticode certificate embedded in: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:16]: Error 0x80092009: Failed to verify signature of payload: wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:16]: Failed to verify payload: wcf_dataservices at path: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices, error: 0x80092009. Deleting file.
[0A34:0BF8][2012-10-29T19:02:16]: Error 0x80092009: Failed to cache payload: wcf_dataservices
[03AC:043C][2012-10-29T19:02:16]: Failed to cache payload: wcf_dataservices from working path: C:\DOCUME~1\Bob\LOCALS~1\Temp\{e0328255-3f36-4c55-b959-379ddaeee93f}\wcf_dataservices, error: 0x80092009.
[03AC:043C][2012-10-29T19:02:16]: Application requested retry of payload: wcf_dataservices, encountered error: 0x80092009. Retrying...
[0A34:0BF8][2012-10-29T19:02:17]: Error 0x80092009: Failed to get authenticode certificate embedded in: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:17]: Error 0x80092009: Failed to verify signature of payload: wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:17]: Failed to verify payload: wcf_dataservices at path: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices, error: 0x80092009. Deleting file.
[0A34:0BF8][2012-10-29T19:02:17]: Error 0x80092009: Failed to cache payload: wcf_dataservices
[03AC:043C][2012-10-29T19:02:17]: Failed to cache payload: wcf_dataservices from working path: C:\DOCUME~1\Bob\LOCALS~1\Temp\{e0328255-3f36-4c55-b959-379ddaeee93f}\wcf_dataservices, error: 0x80092009.
[03AC:043C][2012-10-29T19:02:17]: Application requested retry of payload: wcf_dataservices, encountered error: 0x80092009. Retrying...
[0A34:0BF8][2012-10-29T19:02:18]: Error 0x80092009: Failed to get authenticode certificate embedded in: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:18]: Error 0x80092009: Failed to verify signature of payload: wcf_dataservices
[0A34:0BF8][2012-10-29T19:02:18]: Failed to verify payload: wcf_dataservices at path: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\.unverified\wcf_dataservices, error: 0x80092009. Deleting file.
[0A34:0BF8][2012-10-29T19:02:18]: Error 0x80092009: Failed to cache payload: wcf_dataservices
[03AC:043C][2012-10-29T19:02:18]: Failed to cache payload: wcf_dataservices from working path: C:\DOCUME~1\Bob\LOCALS~1\Temp\{e0328255-3f36-4c55-b959-379ddaeee93f}\wcf_dataservices, error: 0x80092009.
[03AC:043C][2012-10-29T19:02:18]: Error 0x80092009: Failed to cache packages.
[03AC:0E64][2012-10-29T19:02:18]: Error 0x80092009: Failed while waiting for cache thread to complete before executing.
[0A34:08FC][2012-10-29T19:02:18]: Removing bundle dependency provider: {e0328255-3f36-4c55-b959-379ddaeee93f}
[0A34:08FC][2012-10-29T19:02:18]: Removing cached bundle: {e0328255-3f36-4c55-b959-379ddaeee93f}, from path: C:\Documents and Settings\All Users.WINDOWS\Application Data\Package Cache\{e0328255-3f36-4c55-b959-379ddaeee93f}\
[03AC:0E64][2012-10-29T19:02:18]: Apply complete, result: 0x80092009 restart: No
謝謝馬克。我絕對可以等待,並從上到下閱讀您的博客。我讀了另一篇博客[在30分鐘內爲StackOverflow創建了一個包含XML和JSON的OData API](http://www.hanselman.com/blog/CreatingAnODataAPIForStackOverflowIncludingXMLAndJSONIn30Minutes.aspx)和另一篇文章(這很好)[設計和構建指南REST風格的Web服務與WCF 3.5](http://msdn.microsoft.com/en-us/library/dd203052.aspx),除了它使用WCF 3.5,我不確定在WCF 4.0中更改了什麼。但我喜歡我所看到/閱讀的內容,並渴望學習更多關於此的內容。 – rwkiii
我的託管服務提供商是GoDaddy,我對可以創建的MSSQL數據庫數量有限。只剩下1個,我正在保留它。我還剩下不少MySQL數據庫,所以我現在寧願玩MySQL。我想知道使用WCF REST和數據庫並返回XML,JSON,TEXT,HTML格式的響應的所有信息。我也對使用WCF的RSS/ATOM訂閱源以及WCF服務中的HMAC認證感興趣。我創建了幾個非常簡單的WCF服務以及ASP。使用它們的.NET客戶端,但它們非常簡單,並且不會讓我感受到ADO.NET/ODBC。 – rwkiii