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 →Tags: Azure App Service
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 →The decoupling of software solutions using some Azure products and features
I am a fan of decoupling the different components of a transaction to the point where is makes sense. What does decoupling mean? When I first started coding and building IT solutions, I can’t say the idea of decoupling existed at all. When I created an order entry system using Active Server Pages (ASP) and […]
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 →Resource move validation failed. Cannot move Azure App Service
The scenarios in which you can and cannot move an Azure App Service are nicely documented here “App Service limitations”. I also wrote an article about this as well here “Moving an Azure App Service”. It is possible to move your Azure App Service between subscriptions and resource groups. Like I have stated many times […]
Read More →How to optimize Azure App Service AlwaysOn, cold start, warm up request
When you enable AlwaysOn it means that the application pool will not be shutdown after the idle timeout threshold is breached. I wrote about this threshold here and here. The point here is that after a cold start of your application, AlwaysOn will send a request to the ROOT of your application. Whatever file is […]
Read More →Redis Cache on Azure App Service is slow
I worked on this issue and wanted to write it down because I love it when I can execute the WinDbg commands in my “Must use, must know WinDbg commands, my most used” article and find the reason for the problem. I executed !sos.threadpool and did see that the CPUs were pretty high, as seen […]
Read More →Named Pipes and Azure App Services
According to this “Operating system functionality on Azure App Service” and my interpretation, it means if you attempt to use named pipes (*)(*) for anything other than inter-process communications (*) that it will not work. I was coding some stuff and was getting these errors: SqlException: A network-related or instance-specific error occurred while establishing a […]
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 →