Using Products in Azure API Management

In this post, we will look at using Products in API Management. Products let you “group APIs, define terms of use, and runtime policies”. To use products, go to APIM and select Products: We see 2 products – Starter and Unlimited: If we open Starter, we see this product has a rate limit of 5 calls per 60 seconds: The Unlimited policy does not contain this: Let’s create a new … Continue reading Using Products in Azure API Management

Using Postman to Hit an API Management Endpoint with Subscription

In our previous posts, we created an App Service and an API Management in Azure. Let’s now use Postman to send a request to the Azure API Management endpoint. Go to the APIM and select the API. Under Settings, copy the Base URL: Now, in our case, we have /api/Customers to get all customers: So our URL is https://crmdevapim.azure-api.net/api/customers. Let’s open Postman and create this request. Click Send: We get a … Continue reading Using Postman to Hit an API Management Endpoint with Subscription

Backend service URL is not defined in Azure App Service

In this post, we will look at the error “Backend service URL is not defined” when making a request to an ASP.NET Web API through API Management. I have a .NET Core Web Api with Swashbuckle / Swagger. The Web Api is published to an Azure App Service, and an Azure API Management has this API loaded. We can run a test message using the APIM: We get a 500 … Continue reading Backend service URL is not defined in Azure App Service

Adding Swagger OpenAPI to an ASP.NET Web API

In this post, we will add Swagger OpenAPI to an ASP.NET Web API project. Swagger OpenAPI is a way to document the capabilities of your API. We can do this in .NET by adding the Swashbuckle NuGet package. Let’s continue with our Web Api project we created earlier. We will open the project in Visual Studio and add the Swashbuckle.AspNetCore package: Click OK: Now open Startup.cs and go to ConfigureServices: We … Continue reading Adding Swagger OpenAPI to an ASP.NET Web API

How to Add API Management (APIM) to an Azure App Service

In this post, we will look at how to add Azure API Management (APIM) to an Azure App Service. We will follow on from our previous post where we created an Azure App Service. There are a couple of ways to create an APIM. First, browse out to your App Service. We will use the one we created earlier using ASP.NET Core. Under API, select API Management: Click Create New: … Continue reading How to Add API Management (APIM) to an Azure App Service

How to Check the Status of Azure Services and Regions

Microsoft publishes the status of its different Azure services and regions online. Let’s look at a couple of places to check. To check the status of Azure, go to: https://azure.microsoft.com/en-us/status/ From here, select your region and scroll to the type of service you would like a status on: To see a history of statuses, click on Status History: Another place to check is https://status.dev.azure.com/: Click to see Status History:  

How to Change the Theme in Azure Portal

To change the theme in Azure Portal, log into the portal at https://portal.azure.com and select the Settings icon in the top right: Here you will see the options to choose a theme, and the high contrast theme settings: Selecting a theme will change it right away:

Recognize Your Customers with Face Recognition, Cloud AI, and Dynamics 365

Artificial Intelligence has been influencing how we live for some time. And now more than ever, the tech giants have been competing to win businesses and developers with their AI services. Microsoft is one of these, and through it’s Azure cloud it has been democratizing the power of various AI capabilities for businesses and developers to take advantage of. In previous posts I have blogged about using voice recognition technology … Continue reading Recognize Your Customers with Face Recognition, Cloud AI, and Dynamics 365

Creating an Azure Virtual Machine

Log into https://portal.azure.com/ and select Virtual Machines. Click Add: And Create Virtual Machine: There are several machine images to choose from. We will select Windows Server: And then the build – Windows Server 2016 Datacenter: Click Create: Enter information such as the machine name, disk type (premium SSD or standard HHD), username and password: Select the compute type: And now the Settings: Select the inbound ports: We will select RDP: Note … Continue reading Creating an Azure Virtual Machine

Understanding Azure App Services

Azure App Services are a cloud platform that allows you to build, deploy and scale applications such as web, mobile (push notifications, offline sync), APIs and Logic Apps. Applications can run on Windows and Linux, and can be written in languages such as .NET, .NET Core, Node.js, Python, Java, Docker and more. App Services are basically a platform as a service. Let’s deploy a web app on Azure App Services. … Continue reading Understanding Azure App Services