Checking the Status of an Azure Web App Swap using PowerShell
This past week I was working with a customer who wanted to check the status of a swap with an Azure Web App using TFS. One option would be to use the Swap deployment task and the other would be to query the status using PowerShell. In order to do so we query the Activity…
Using Azure Alert with a Function App and Azure SDK
Update: Added the code and folder structure to GitHub: https://github.com/jcbrooks92/AzureSDKFunctionAppVMCreationAlert I was helping a customer out the other day who wanted to configure a Azure Function App to pull the private IP of a newly created Azure VM to use for their backend tasks on premises. They had setup an Azure Alert which can be…
End to End SSL with Application Gateway and Azure Web Apps (10/2017)
Fourth Update 7/2018: You no longer need to use Application Gateway to front your application to be PCI 3.0 compliant. You can enable the respective TLS version you would like your app to respond to directly in the Azure Portal for your web application. Third Update: After some discussions it is probably not recommended to…
Troubleshooting Msdeploy issues using Fiddler
This past week I was troubleshooting an issue with Msdeploy and needed Fiddler to proxy MsDeploy. I eventually figured out how to get this working. In the msdeploy.exe.config ( “C:\Program Files\IIS\Microsoft Web Deploy V3”) add the piece that is in bold below. <configuration> <startup useLegacyV2RuntimeActivationPolicy=”true” > <supportedRuntime version=”v4.0″ sku=”.NETFramework,Version=v4.0″ /> <supportedRuntime version=”v2.0.50727″ /> </startup> <system.net>…
Heartbeat Sensor Code
/* ProtoSnap LilyPad Development Platform Example Code by: Pete Lewis SparkFun Electronics date: 8/24/11 license: Creative Commons Attribution-Share-alike v3.0 CC BY-SA 3.0 http://creativecommons.org/licenses/by-sa/3.0/ This is example code for the Protosnap LilyPad Development Platform It’ll do a quick startup sequence, flashing all LEDs, then it’ll go int the loop. In the loop it’ll check for button…
Azure Bot Framework App with SmartThings Integration
Overview I have been working on integrating my SmartThings app with an Azure Bot Framework App so I can use Skype, Webchat, or FB Messenger to control the lights in my apartment. Azure bot framework provides the architecture needed to easily create a chat bot that can support a number of different channels such as…
Arduino LilyPad Getting Started
For a recent project I purchased an Arduino LilyPad. I’ve worked with Arduinos in the past and figured getting started would be pretty straight forward. After a good two hours of troubleshooting the board, downloading different drivers, mulitple Google searches, installing a bunch of possible fixes I was no where and gave in to reaching…
SmartThings API Creating a Custom App: Testing out the API with Postman (Part 3)
Continuation of my experience with creating a SmartThings custom app to make API calls to (See Part 2 on configuring the app here). This part took me sometime to get all the correct parameters so I figured I’d provide a walk through of where to get all the information required to make your first call…
SmartThings API Creating a Custom App: Creating your first custom app (Part 2)
This is a continuation of my experiences with the SmartThings Hub and custom apps, specifically using the Cree light bulb (see Part 1 for initial setup). The next step in my project was learning how to configure a custom SmartThings app to make API calls into for either my own custom app or possible Bot…
SmartThings API Creating a Custom App: Devices and Initial Setup (Part 1)
My most recent project came about when I invested in a SmartThings hub by Samsung and a couple Cree smart light bulbs. I decided on the SmartThings hub because it had some pretty good reviews and seem to be compatible with broad range of smart home accessories ranging in price. I chose the Cree light…