Posts

Showing posts from June, 2016

How to update device Installation's tags in Azure Mobile App Service .NET backend

It mentions that how to add Tags to Installation in this sample article https://blogs.msdn.microsoft.com/writingdata_services/2016/01/22/adding-push-notification-tags-from-an-azure-mobile-apps-client/ . But I need to update my tags in device installation not just adding new tags, and so I comment out the line of code "await hubClient.PatchInstallationAsync(Id, updates);", and then add following codes in my custom API controller in .NET backend.                // Verify that the tags are a valid JSON array.                 var tags = JArray.Parse(message);                 List<string> validTags = new List<string>();                 foreach (string tag in tags)                 {                                        validTags.Add(tag);                                      }                                   // Add the requested tag to the installation.                 var installation = await hubClient.GetInstallationAsync(Id);                 inst

A real time Notification App to engage the business promotion with customer in a personalized, cost effective and interactive way

Image
Today’s reality is that the average person is: Bombarded with hundreds of emails  Time-poor has not got the time to read emailed advertising materials As a business marketer, your  email promotional activity needs to produce positive results. Your online promotional strategies need to break through the cyber-clutter to become more profitable and more successful. This is why I come up with an App idea to engage the business promotion with customer in a more personalized, cost effective and interactive way by using interactive notification message and Facebook chat-bots. Below are the screenshot of notification message on desktop and chat-bots. I worked with Madhan K from Qantas in "AngelHack Sydney 2016" event recently to make a Notification App provides subscription services to customers to subscribe and receive the push notification of latest promotion from a most popular business around the customer area based on the real time number of Optus mobile users on th

Retrieve other table 's data within a TableController - Azure Mobile App Service .NET backend

I created a custom Table controller called "TaskItemController" in Azure Mobile App Service .NET backend and needs to retrieve data from other tables. I using the code "context.TodoItems.SqlQuery" to retrieve data from "TodoItems" table. The variable "context" is initialized in method "Initialize(HttpControllerContext controllerContext)" within table controller. The following is a sample code to retrieve data from other table "TodoItems". // POST tables/TaskItem  public async Task<IHttpActionResult> PostTaskItem(TaskItem item) {          var query = context.TodoItems.SqlQuery("Select * from TaskItems where Id='" + item.TaskId + "'").FirstOrDefault<TaskItem>();           //Get data column's value         var taskName=query.TaskName; }

How to fix error "SQL Server Reporting Services Shared Service cannot load the TERADATA extension"

I saw this Even viewer error "S QL Server Reporting Services Shared Service cannot load the TERADATA extension ". I fixed them by using following Powershell script. //Run below powershell script $ssrs = Get-SPRSServiceApplication foreach ($app in $ssrs)  {         Write-host -ForegroundColor "yellow" Service App Name $app.Name $ssrs.id         Get-SPRSExtension -identity $app -ExtensionType “Data” | select name,extensiontype | Format-Table -AutoSize            Remove-SPRSExtension -Name "TERADATA" -ExtensionType "Data" -Identity $app } This post is part of my project "Implement the Business Intelligence On Premises SharePoint 2013 Portal ".