Azure Function: How to disable a specific ENDPOINT via C#

Azure Function: How to disable via C# Yesterday I needed to stop a specific endpoint of my Azure Functions. We can do this operation in many different ways. In this post I show how to implement via C#. I copy and paste the Azure function code from my previous “italian” post Azure Function: Trigger al caricamento su Blob Storage and I change the code with a new attribute. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 using System.

Azure App Service Static Web Apps

Static Web Apps (Preview) Thursday 21st May - Some day ago I received a tweet notification on twitter about “Introducing App Service Static Web Apps”. but after a quick reading I felt very confused. Modern web apps are increasingly adopting static front-end design patterns with client-side processing powered by JavaScript. This paradigm requires us to think differently about how we deploy and host web apps that don’t rely on web servers and consequently require a new structure of supporting cloud resources.

Making HTTPS Request with Node.js and get JSON result

Making HTTPS requests is very important for the application. I never work with NodeJS before this experience with Alexa: call an API on Azure from Alexa Developer Console with nodejs editor on the portal and get the JSON result. In this post, you can read how to perform a GET Request with my ‘function httpGet’ (async/await) https.request 1 var https = require('https'); function httpGet 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 function httpGet(typeOfFilter) { return new Promise(((resolve, reject) => { var options = { host: '00000000000000000000000000000000.

Azure Storage Account: Hosting SSL Custom domain static sites

Azure Storage Account: Hosting SSL Custom domain static sites With Storage Account it’s possible to host a static website on Cloud Azure. You only need steps: Azure Storage Account First step is creating a Storage Account - GPv2 on Azure. This is very easy and quick, and once finished you only have to provide the https functionality/security, so the website’s custom domain will be pointed to the CDN endpoint. Static website In left column choose Static website .

ExcelDataReader – No data is available for encoding 1252

During the last month, I had to convert an xlsx file to csv in a netcore Azure Function, and I discovered how it should have been simple! In theory, I only have to read the file with ExcelDataReader and after write the file as text. It should have been an easy thing to do, but suddenly I recognized that some file worked and other not. What was the error? A message “NotSupportedException: No data is available for encoding 1252” appeared.