A great tool, when starting learning Elixir, is Elixir’s Interactive Shell (IEx), which allows you to type any Elixir expression and get its result. To start using IEx, open a terminal of your choice and type iex (or iex.bat if you are on Windows), which stands for Interactive Elixir. By default, colors are not enabled and iex looks like what you see below: It turns out…
One thing you should always keep in mind is backing up your precious work. Bad things may happen sooner or later, so better be prepared for the “unexpected”, than sorry. In a recent talk with a friend, I found out that he wasn’t aware of how easy it is to backup a web app hosted in Azure App Service; so why not write a…
Visual Studio 2017 is now available to download, and one interesting feature thereof is connected services, which enable connections between your app and any service on-premises or in the cloud. In this post we are going to demonstrate how easy it is to connect your asp.net core web app to Application Insights. “Connected Services” is the new “Add Connected Service” or “Add Service Reference” feature…
To keep things tidy, in case you have multiple subscriptions associated with your Azure account, it’s a good practice to name them in a way that makes sense to you. For example, if you have an msdn subscription, the default name in Azure Portal is “Visual Studio Enterprise“, or if you have applied for a Visual Studio Dev Essentials program, the default name is “Developer Program…
Azure App service provides an easy way to track your web app’s availability / health and to get details on when and why your app wasn’t available. This kind of info is available through the web app’s blade, when selecting Diagnose and solve problems A new page appears with details on: app’s availability; requests per 5 minutes; and when and why your app…
There are times when you might want to move an app from one App Service plan to another. This can be done easily through Azure Portal, provided that the app service plans comply with the restrictions below, namely that they are: in the same resource group, and in the same geographical region. Let’s assume that you have a web app called web-app-demo-1 and three different…
IEx is Elixir’s interactive shell, where you can type any Elixir expressions and get its result. One issue you might come across when trying to use iex in Powershell, through a command e.g. iex -S mix, you might get the following error: Invoke-Expression : A parameter cannot be found that matches parameter name 'S'. At line:1 char:5 + iex -S mix + ~~…
Some really easy ways to improve performance in your asp.net core web application are: response caching, which adds cache-related headers to responses, to reduce the number of requests a client makes to your web server; compressing response using gzip to reduce its size. You may start with the default asp.net core web application, apply the above steps and check the result. Setup…
Application Insights is an extensible Application Performance Management (APM) service for web developers. It provides rich performance monitoring, powerful alerting, and easy-to-consume dashboards to help ensure your applications are available and performing as you expect. One of the powerful characteristics of Application Insights is that it provides an extensible API where you can customize the behavior of the standard telemetry modules the way…
Azure App Service can be integrated with a plethora of services like BitBucket, GitHub, Dropbox, OneDrive, Visual Studio Team Services, local or any external git repository, while it enables a continuous deployment workflow, where Azure pulls in the most recent updates from a project published to one of these services. One of the most common options is to configure continuous deployment…