The expected latency when downloading anything from a server to a client should increase as the size of the file increases. Simply, the bigger the file the longer it takes to download. There is a common step when writing an API that returns a JSON formatted file, which is the deserialization of the data content […]
Read More →Category: Functions
Azure Function keys, keys and more keys, regenerated and synced
A very important point you must understand when it comes to working with Azure Functions is that that product is tightly bound to an Azure Storage account. You see, Azure Functions is a compute offering, when you provision that you are getting some CPU, some memory and a host to run the code on. The […]
Read More →Securing an Azure App Service or Azure Function PaaS
A common topic I would like to call out which I see in regards to security has to do with endpoints. I kind of want to call those endpoints “potentially vulnerable attack vectors”. I am a bit nervous writing “vulnerable” because the endpoints I mention here are secure, which is why I also called out […]
Read More →FAILED TO INITIALIZE RUN FROM PACKAGE.txt
I was doing some deployments to an Azure Function and found this text file in my d:\home\site\wwwroot directory. This can happen if you are trying to run an Azure Function from package, which is discussed here. Real fast, the way you get this to happen is by making a deployment, then after the deployment is […]
Read More →VNET connection between Azure Function or App Service stops working – Service Association Links
I have this Azure Function that is integrated with an Azure Virtual Network, using Regional integration as shown in Figure 1. Where Regional VNET Integration is ARM based and the resources are located in the same Azure region. The other type of VNET integration is uses the classic integration method or if you need to […]
Read More →WEBSITE_VNET_ROUTE_ALL and Azure Functions
This would apply to Azure App Services too. This is an interesting feature. To me it resembles or provides the ability to force tunnel. The implementations of forced tunneling I have seen have typically been configured using route tables. Where the route table is a matrix of IP addresses (see Figure 6) that instructs TCP […]
Read More →Azure Functions Labs – Information and setup instructions
I started my learning of Azure Functions, I.e. Service-less computing by writing this .NET Core Console application which calls the following Azure Functions each with a different trigger type. I hosted the console application on GitHub here. You will need the .NET Core runtime installed on your work station to run the console app, check […]
Read More →Where are my Azure Functions, disappeared
Which way did he go George, which way did he go? (*) When you create an Azure Function App, a requirement to complete the operation is the selection or creation of an Azure Storage Account where the content (code, json, etc…), required to run the Azure Functions are to be stored. Make sure the Storage […]
Read More →Why does my Azure Function sometimes stop being triggered
Azure is so awesome because the features it provides are so very dynamic and flexible. The platform provides a starting point for the fruition of ideas, ideas only limited by ones imagination. With its dynamic nature and the flexibility it delivers to consumers, sometimes you just need a note to get your ideas optimally flowing […]
Read More →System.Diagnostics.Trace Application Logging Log Stream on Azure App Service Function App
Here is what I wanted to do. Add some code like this to my ASP.NET application. using System.Diagnostics; … System.Diagnostics.Trace.WriteLine(“System.Diagnostics.Trace.WriteLine() in the Page_Load method”); Trace.Write(“Trace.Write() in the Page_Load method”); System.Diagnostics.Trace.TraceError(“System.Diagnostics.Trace.TraceError() in the Page_Load method”); System.Diagnostics.Trace.TraceWarning(“System.Diagnostics.Trace.TraceWarning() in the Page_Load method”); System.Diagnostics.Trace .TraceInformation(“System.Diagnostics.Trace.TraceInformation() in the Page_Load method”); Then I wanted to write those logs out to […]
Read More →