Change is good, it is better than the alternative. There have been a lot of changes over the past few years when it comes to ASP.NET. One change, or should I call it a new product is Blazor Apps. I won’t go into what this is and how it works because there is already plenty […]
Read More →Search Results for: Web API
API Management APIM 404 Azure App Service Azure Function
There is perhaps another way to do this, but I wasn’t able to find any documentation about configuring an Azure App Service or Azure Function here. After I created the APIM and API hosted on App Service I received a HTTP/1.1 404 Not Found when I tried testing it from the APIM portal. Figure 1, […]
Read More →How to find apiVersion used for REST API or ARM templates
I wrote a few articles that discuss how and or why you would need to know the apiVerion api-version when calling Azure REST APIs or making a deployment with an Azure Resource Manager (ARM) template. Azure Function 400 Bad Request How to disable/enable HTTP/2, Azure App Service Using Postman to call Azure REST APIs Make […]
Read More →How to securely connect to Azure from C# and run REST APIs
Three things that got me here. First, I learned about creating a Service Principle in Azure and that the credentials for that those can be used to login to Azure, for a given Tenant/Directory ID. See here “Create an Azure service principal with Azure PowerShell”, also here if you want to see how to create […]
Read More →A route named ‘*’ is already in the route collection, Azure Web App
I was deploying an ASP.NET Web API to an Azure App Service Web App and I got this error: Server Error in ‘/’ Application. A route named ‘HelpPage_Default’ is already in the route collection. Route names must be unique. Parameter name: name Description: An unhandled exception occurred during the execution of the current web request. […]
Read More →Using Postman to call Azure REST APIs
I had a need to call an Azure REST API and thought I would document that here. Here are the steps required: Get the Postman app Get your Bearer Token for authentication Configure Postman for calling the Azure Rest API Get the Postman app In this instance I used Chrome and installed the app. Once […]
Read More →Enable Failed Request Tracing for an Azure App Service Web App
When you are experiencing slow performance on your Azure App Service #Microsoft a start is to look at the IIS logs, specifically at the time-taken column. This will confirm that indeed there are some slow requests and identify better how slow they are. If you want to take it one step further, you can enable […]
Read More →How to deploy a .NET Core console application to Azure, WebJob
Check out some of my other articles I wrote in regards to ASP.NET Core and .Net Core How to call an async method from a console app main method How to deploy a .NET Core console application to Azure, WebJob .NET Core application, where is my EXE, how to publish Create a VNET and access […]
Read More →Create a VNET and access an Azure VM hosted within it from an App Services Web App
There are 2 kinds of VNETs at the moment, they are VNETv1 (ASM), also referred to as ‘Classic virtual networks’ and VNETv2 (ARM), aka ‘Resource Manager virtual networks’. The binding between a VNETv1 and a Web App can be achieved within the AUX portal here, while the same needs to be performed using PowerShell for […]
Read More →How to deploy an ASP.NET Core 1.1 application to an Azure App Services Web App using Visual Studio 2017
If you received a 404 after deploying your ASP.NET Core 1.1 application, see the end of this article in section “404 when accessing ASP.NET Core 1.1” do find out a solution and the reason. The deployment of an ASP.NET Core 1.1 Web API or Web Application is achievable following these steps: Create the Solution / […]
Read More →