Easy tables – How can I manipulate and See My Data Efficiently

Overview The Easy tables feature of Node.js backend Azure Mobile Apps is a great way to do your initial development.  Once you get a few hundred rows of data however the browser based interface simply does not work well.  This is when you should move to an alternative.  This also allows you to run SQL…

0

Image files do not deploy when I add them to ASP.Net project

Overview You might notice that when you add files like images (.png .bmp) to your project that these are not updating to your Web App (Azure Web App or on premise). Cause This is by design and because of how Visual Studio treats these resources.  These types of resources can be bound as resources in…

0

Force HTTPS for Azure Web App

Overview Sometimes you need or want to force HTTPS for Azure App Services (Azure Web App, Azure Mobile App, Azure Function App, etc…).  In the past you could do this with a web.config change. Solution You can now simply do this as follows: Go to the Custom Domains section of you app and set HTTPS…

0

Switching from dropbox to github–Expected a ‘Git’ repository but found a ‘None’ repository

Overview If you have dropbox selected for a deployment option and want to switch to github you may get the error message:  Expected a ‘Git’ repository but found a ‘None’ repository at path ‘D:\\home\\site\\wwwroot’. Fix To switch to Github you need to remove the Application Setting (in Application Settings of the Azure portal)  SCM_NO_REPOSITORY.  Click…

0

Install Visual Studio Code on Ubuntu 16.04 LTS

Overview I had trouble getting Visual Studio Code to install by simple clicking on the package from https://code.visualstudio.com.  Whether I tried do download or use Ubuntu Software to install this I got an error: status code 400: Bad Request. Solution Download the .deb package from the Visual Studio Code site, then right click on the…

0

Easily Create a SAS to Download a File from Azure Storage–Using Azure Storage Explorer

Overview In this scenario, you want to provide your customer with a secured URL to download a file from Azure Storage.  You can do this programmatically of course but another option is to use the Azure Storage Explorer to create a Shared Access Signature (SAS) for your customer.  Then provide the URL necessary with the…

0

Azure Web Apps for Containers–Simple Walkthrough of Node.JS app deployment

Overview This is a super simple walkthrough to show how to use Git and push your app to Azure Web Apps for Containers.  It will not persist your Git repo but is a super quick way to show how this is done and perhaps help you if you are having troubles getting your app configured!…

0

ASP.Net–Do not use Task .Result in main context

Overview You can guarantee you will deadlock if you have a call similar to this in your code, where CallHttp is a an AsyncTask that awaits a result: public class DeadlockController : ApiController { public string Get() { string ret = “”; // deadlock ret = Utilities.CallHttp().Result; return ret; } Cause and Symptoms The reason…

1

Azure App Service Authentication – Using a Blob Storage for Token Cache

Chris had this note in his blog App Service Token Store “As an alternative, you can provision an Azure Blob Storage container and configure your web app with a SaS URL (with read/write/list access) pointing to that blob container. This SaS URL can then be saved to the WEBSITE_AUTH_TOKEN_CONTAINER_SASURL app setting. When this app setting…

0

Walkthrough–Add Azure Web App to Visual Studio Team Services

Overview In this walkthrough I will show  you how to use Visual Studio Team Services with an existing Azure App Service project (specifically an Azure Web App).  We will add a task to update/create the project database from a DACPAC file and enable CI (Continuous Integration). Sign up for Visual Studio Team Services  Go to:…

0