Skip to main content

Posts

Showing posts from August, 2019

Ways to debug NodeJS Function Apps in Azure

Azure Functions is a server less compute service that enables you to run code on-demand without having to explicitly provision or manage infrastructure. Azure functions can be used to run piece of code in response to a variety of events/triggers. This include HTTP trigger, Queue triggers, time triggers, etc. Here is the list of all supported triggers in Azure functions. Azure Functions live console This is the live console which gets opened when you click on any of the functions.Whenever the request is made to the function, the logging statements are printed to this live console. The problem with this console is that, its not reliable. It does not give the print statements always. Also when the functions fails with some internal server error, the logs are not printed properly even up to the point before failure. This logs are good for happy path scenarios. Azure Functions Kudu console Its the advance console for azure functions.With KUDU, you can get acess to log files, en...

Building Installer for mac using packages (Implementation level details)

So now that you have a code ready, next question is how you are going to ship it as a product to end users. The easiest and user friendly solution, is to build the Installer for your product! Building an installer has many advantages, like: User don't have to be worried about the installation steps (the user has to just follow laymen's instructions to get ready to use the product). It eliminates human errors. Makes the product easy to install and use. So now that we have idea of WHY  we need Installers, let see what  packages  offer us to build installers for mac.  Packages is a tool developed for mac. Packages can be either flat or bundle. As per my observations, flat packages cannot be inspected to view the contents of the package. But there are ways to extract the contents for viewing purpose using  pkgutil  utility. In case of Bundle packages, user can view the contents of the bundle directly. Its like a directory. Packages...