One of the surprises I had when I moved many of my sites from a domain hoster to an Azure Web App was that the platform only provided web services and that I had lost my SMTP services. That meant I was not able to send or receive emails from my private domains. I rushed […]
Read More →Troubleshooting Web App deployment issues when using Git / GitHub
I setup a Web App to test deployments from GitHub. Once the Web App was created I linked it to GitHub by selecting the “Integrate source control” link on the main page of for the website and selected GitHub. Following the wizard I was able to make the link between the 2. The details are […]
Read More →Create an Azure Web App failover solution on a budget
When you choose a region to place your Web App into, it is placed onto a stamp or scale unit. The scale unit is an isolated entity within the region or datacenter. This entity encapsulates and protects the Web Apps contained within it from service interruptions that may happen in other scale units. When you […]
Read More →Using Entity Framework and Web API, I get a 500 Internal Server Error or a Hang
I was working on some code that used Entity Framework and an ASP.NET WebAPI as the interface for accessing the data. With my experience so far, when I publish my WebAPI and then access it, the result is a JSON formatted file that I can open or save via a message popup similar to that […]
Read More →ASP.NET WebAPI results in a 405 Method Not Allowed HTTP response
I was working on an IoT project where my device was calling a WebAPI. I had two methods, one had the signature shown in Listing 1 and the other in Listing 2. UPDATE 6-JUN-2016, check here for some exception handling tips. Listing 1, GET employees [Route(“api/TC/{custId}”)] public IQueryable<EmployeeDTO> GetEmployees(string custId) { var db = […]
Read More →Helloworld WebJob on Microsoft Azure – Web App
I watched this Channel9 Video here and decided to reproduce it in writing. The steps required to create this sample HelloWorld WebJob for hosting with a Web App are: Create a Web Site and Console Application Include the Console App into the Web Site Deploy the Web Site to a Web App Execute the WebJob […]
Read More →Creating a Wi-Fi connection to my Lumia 640XL, with the Gadgeteer
My first Gadgeteer project I wrote about here used an Ethernet connection. However, this limited the mobility of my device and therefore wanted to configure the device to connect to a Wi-Fi network. I must mention that another coolness factor with this Wi-Fi project was I used the Wi-Fi internet sharing capability on my Microsoft […]
Read More →Troubleshoot a Web API Self Host performance problem
If you have not tried creating a Self-Hosted Web API, you might give it a shot, here is a good, getting started example. Once it gets into production, if you are looking for ways to troubleshoot a slow performing self-hosted Web API, searching for a W3WP process to take a memory dump of or applying […]
Read More →Passing Client IP to a server in the Web Farm using Application Request Router
When you setup a Web Farm using Application Request Router (ARR) the value for the c-ip written to the IIS log is the IP address of the ARR server and not the client or user IP address. Click on the Server Farm from within the IIS management console, then click on the Proxy link. As […]
Read More →Connection Timeout (Timeout Expired) on Azure Web App Site / Azure SQL
I not only support Azure Web Apps, formerly Azure Websites, but I use it too. I had a site that was getting the exception shown in Figure 1. The error was “Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in […]
Read More →