简体   繁体   English

创建表控制器时Azure App Service Mobile App .Net后端问题

[英]Azure App Service Mobile App .Net Backend issue while creating Table Controller

I have created a Azure App Service Mobile App backend using .Net and downloaded the service application. 我使用.Net创建了一个Azure App Service Mobile App后端并下载了服务应用程序。 It have built it and able to publish back to Azure and it is working fine by creating TodoList table. 它构建了它并能够发布回Azure,它通过创建TodoList表工作正常。

But when I add a new Data Object and Table Controller and publish back to Azure the service gives me "Internal Server Error 500" when i run my client application. 但是当我添加一个新的数据对象和表控制器并发布回Azure时,当我运行我的客户端应用程序时,该服务会给我“内部服务器错误500”。 The service is published successfully. 该服务已成功发布。 Am using a Cordova client app and running using Google Android Emulator from VS 2015. 我使用的是Cordova客户端应用程序,并使用VS 2015中的Google Android Emulator运行。

Entity: 实体:

public class Article : EntityData
{
    public string ArticleName { get; set; }
    public decimal Price { get; set; }
    public string Group { get; set; }
    public byte[] ArticleImage { get; set; }
}

Did any body come across this issue? 有没有人遇到过这个问题?

我在这里遗漏了两件事 - 生成数据迁移脚本并从_MigrationHistory表中删除数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM