diff --git a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/App_Start/MobileServiceInitializer.cs b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/App_Start/MobileServiceInitializer.cs index 0445eaf..19be974 100644 --- a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/App_Start/MobileServiceInitializer.cs +++ b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/App_Start/MobileServiceInitializer.cs @@ -19,7 +19,7 @@ The mobile app code collates chart data based on orders in the last 6 weeks. If we do not re-calculate the dates, then the mobile app will eventually show no data, because the dates will eventually be greater than 6 weeks in the past. In addition, a scheduled job will need to be run weekly to refresh the data, incrementing the order dates forward by one week. That is, if one wants the mobile app to always present data in its UI. */ - DateTime inceptionDate = DateTime.SpecifyKind(new DateTime(2015, 12, 6, 0, 0, 0), DateTimeKind.Utc); // The DateTime at which these orders were originally generated, in UTC. + DateTime inceptionDate = DateTime.SpecifyKind(new DateTime(2017, 1, 15, 0, 0, 0), DateTimeKind.Utc); // The DateTime at which these orders were originally generated, in UTC. DateTime now = DateTime.UtcNow; diff --git a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/Controllers/BaseController.cs b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/Controllers/BaseController.cs index 10b68b4..39851e8 100644 --- a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/Controllers/BaseController.cs +++ b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/Controllers/BaseController.cs @@ -8,7 +8,6 @@ namespace XamarinCRMAppService.Controllers { - [MobileAppController] public abstract class BaseController : TableController where T : BaseModel { protected override void Initialize(HttpControllerContext controllerContext) diff --git a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/Web.config b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/Web.config index 80a3d6e..a715f29 100644 --- a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/Web.config +++ b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/Web.config @@ -7,7 +7,7 @@
- + @@ -19,20 +19,24 @@ in the portal. --> - - - + - - + @@ -54,7 +58,7 @@ - + @@ -62,11 +66,11 @@ - + - + @@ -84,6 +88,14 @@ + + + + + + + + diff --git a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/XamarinCRMAppService.csproj b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/XamarinCRMAppService.csproj index 16a3f88..26fcedd 100644 --- a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/XamarinCRMAppService.csproj +++ b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/XamarinCRMAppService.csproj @@ -13,7 +13,7 @@ Properties XamarinCRMAppService XamarinCRMAppService - v4.5.2 + v4.6 false true @@ -22,6 +22,7 @@ /subscriptions/7a972a30-db8e-475a-926c-ed4c85595128/resourcegroups/XamarinSampleAppsGroup/providers/microsoft.insights/components/XamarinCrmMobileAppService + true @@ -41,8 +42,8 @@ 4 - - ..\packages\AutoMapper.4.1.1\lib\net45\AutoMapper.dll + + ..\packages\AutoMapper.5.2.0\lib\net45\AutoMapper.dll True @@ -81,44 +82,48 @@ ..\packages\Microsoft.ApplicationInsights.1.2.3\lib\net45\Microsoft.ApplicationInsights.dll True - - ..\packages\Microsoft.Azure.Mobile.Server.1.0.119.0\lib\net45\Microsoft.Azure.Mobile.Server.dll + + ..\packages\Microsoft.Azure.Mobile.Server.2.0.0\lib\net46\Microsoft.Azure.Mobile.Server.dll True - - ..\packages\Microsoft.Azure.Mobile.Server.Authentication.1.0.119.0\lib\net45\Microsoft.Azure.Mobile.Server.Authentication.dll + + ..\packages\Microsoft.Azure.Mobile.Server.Authentication.2.0.0\lib\net46\Microsoft.Azure.Mobile.Server.Authentication.dll True - - ..\packages\Microsoft.Azure.Mobile.Server.CrossDomain.1.0.119.0\lib\net45\Microsoft.Azure.Mobile.Server.CrossDomain.dll + + ..\packages\Microsoft.Azure.Mobile.Server.CrossDomain.2.0.0\lib\net46\Microsoft.Azure.Mobile.Server.CrossDomain.dll True - - ..\packages\Microsoft.Azure.Mobile.Server.Entity.1.0.119.0\lib\net45\Microsoft.Azure.Mobile.Server.Entity.dll + + ..\packages\Microsoft.Azure.Mobile.Server.Entity.2.0.0\lib\net46\Microsoft.Azure.Mobile.Server.Entity.dll True - - ..\packages\Microsoft.Azure.Mobile.Server.Home.1.0.119.0\lib\net45\Microsoft.Azure.Mobile.Server.Home.dll + + ..\packages\Microsoft.Azure.Mobile.Server.Home.2.0.0\lib\net46\Microsoft.Azure.Mobile.Server.Home.dll True - - ..\packages\Microsoft.Azure.Mobile.Server.Notifications.1.0.119.0\lib\net45\Microsoft.Azure.Mobile.Server.Notifications.dll + + ..\packages\Microsoft.Azure.Mobile.Server.Notifications.2.0.0\lib\net46\Microsoft.Azure.Mobile.Server.Notifications.dll True - - ..\packages\Microsoft.Azure.Mobile.Server.Quickstart.1.0.119.0\lib\net45\Microsoft.Azure.Mobile.Server.Quickstart.dll + + ..\packages\Microsoft.Azure.Mobile.Server.Quickstart.2.0.0\lib\net46\Microsoft.Azure.Mobile.Server.Quickstart.dll True - - ..\packages\Microsoft.Azure.Mobile.Server.Tables.1.0.119.0\lib\net45\Microsoft.Azure.Mobile.Server.Tables.dll + + ..\packages\Microsoft.Azure.Mobile.Server.Tables.2.0.0\lib\net46\Microsoft.Azure.Mobile.Server.Tables.dll True - ..\packages\Microsoft.Azure.NotificationHubs.1.0.3\lib\net45-full\Microsoft.Azure.NotificationHubs.dll + ..\packages\Microsoft.Azure.NotificationHubs.1.0.7\lib\net45-full\Microsoft.Azure.NotificationHubs.dll True - - ..\packages\Microsoft.Data.Edm.5.7.0\lib\net40\Microsoft.Data.Edm.dll + + ..\packages\Microsoft.Data.Edm.5.8.1\lib\net40\Microsoft.Data.Edm.dll + True + + + ..\packages\Microsoft.Data.OData.5.8.1\lib\net40\Microsoft.Data.OData.dll True @@ -134,19 +139,20 @@ True - ..\packages\Microsoft.WindowsAzure.ConfigurationManager.3.1.0\lib\net40\Microsoft.WindowsAzure.Configuration.dll + ..\packages\Microsoft.WindowsAzure.ConfigurationManager.3.2.3\lib\net40\Microsoft.WindowsAzure.Configuration.dll True - - ..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll + + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True ..\packages\Owin.1.0\lib\net40\Owin.dll True - - ..\packages\System.IdentityModel.Tokens.Jwt.4.0.2.206221351\lib\net45\System.IdentityModel.Tokens.Jwt.dll + + + ..\packages\System.IdentityModel.Tokens.Jwt.4.0.3.308261200\lib\net45\System.IdentityModel.Tokens.Jwt.dll True @@ -155,14 +161,15 @@ - - ..\packages\System.Spatial.5.7.0\lib\net40\System.Spatial.dll + + ..\packages\System.Spatial.5.8.1\lib\net40\System.Spatial.dll True ..\packages\Microsoft.AspNet.Cors.5.2.3\lib\net45\System.Web.Cors.dll True + ..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll True @@ -174,22 +181,19 @@ - - ..\packages\Microsoft.AspNet.WebApi.Cors.5.2.3\lib\net45\System.Web.Http.Cors.dll True - - ..\packages\Microsoft.AspNet.WebApi.OData.5.5.1\lib\net45\System.Web.Http.OData.dll + + ..\packages\Microsoft.AspNet.WebApi.OData.5.7.0\lib\net45\System.Web.Http.OData.dll True ..\packages\Microsoft.AspNet.WebApi.Owin.5.2.3\lib\net45\System.Web.Http.Owin.dll True - @@ -200,6 +204,7 @@ + diff --git a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/packages.config b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/packages.config index bc87c7c..cbeaf2e 100644 --- a/src/DataService/XamarinCRMAppService/XamarinCRMAppService/packages.config +++ b/src/DataService/XamarinCRMAppService/XamarinCRMAppService/packages.config @@ -1,6 +1,6 @@  - + @@ -14,25 +14,25 @@ - + - - - - - - - - - - - + + + + + + + + + + + - - + + - - + + \ No newline at end of file