Tuesday, November 23, 2021

Mocking API Responses in Azure API Management Portal

A mock API imitates a real API call by providing a realistic JSON or XML response to the requester. Mock APIs can be designed on a developer’s computer or in the cloud. Responses of mock API can be static or dynamic, which simulates the data the real API world send as a response. Mock APIs are very useful for parallel development when APIs are still being developed and developers want to test expected behaviors simultaneously. Mock APIs can save a lot of time as API calls can help programmers use valuable unit tests and make it easier to identify problems.

More

Sunday, June 20, 2021

Create & Publish an Azure Function in Visual Studio 2019

A mock API imitates a real API call by providing a realistic JSON or XML response to the requester. Mock APIs can be designed on a developer’s computer or in the cloud. Responses of mock API can be static or dynamic, which simulates the data the real API world send as a response. Mock APIs are very useful for parallel development when APIs are still being developed and developers want to test expected behaviors simultaneously. Mock APIs can save a lot of time as API calls can help programmers use valuable unit tests and make it easier to identify problems.

More

Build & Deploy an ASP.NET Core App to Azure App Service

Microsoft Azure has multiple services for hosting HTTP-based web applications. Visual Studio developers can directly publish web applications to the cloud. Azure supports a wide range of programming languages like .NET Core, .NET, Java, Ruby, Node.js, PHP, Python, and more. Applications hosted on Azure App Service can run and scale seamlessly in both Windows and Linux-based environments. In this article, I will create a .NET Core app and deploy it in Azure App Service using Visual Studio.

More

Thursday, April 04, 2019

Capturing an Image from a Webcam Using .NET

Webcams are an easy and cost-effective way to take images from a video stream. In this modern era of smartphones, everyone has a camera which could be used by Web applications to capture live pictures. It's a widely used feature in the business world. In this article, I'm going to show you how to capture a simple image and display in a Web page. We are going to use the "jQuery-webcam" JavaScript library for capturing image from a Webcam. You also can store it in a folder and database.

Benefits of the Microsoft Azure Cosmos DB

Microsoft Azure Cosmos DB is an abstraction level over data stores like Azure DocumentDB and Table Storages, which is a globally distributed multi-model database service. The benefit of Cosmos DB is that it provides low latency reads and writes, even when they still implement a single write node and multiple read nodes in their geo-replication feature. Developers can quickly create and query documents, key/value, and graph databases using Azure Cosmos DB.

Using .NET to Access Blob Storage with Microsoft Azure

The Azure Blob storage solution is used to store unstructured physical objects in Microsoft Cloud. It's optimized for storing massive amounts of unstructured data, such as text or binary data which could be accessed by using HTTP and HTTPS protocols from anywhere an Internet connection is available. In this article, I will provide you a step-by-step demonstration on how to create a Blob storage solution from Azure Portal and create and download files from Blob storage programmatically from C# code.
More 

Using JsonResult Types in ASP.NET MVC

The JSON format is an open standard format. It's a very familiar and commonly used concept. It's a data interchange medium and is very lightweight. Developers use different JSON types for data transformation. JsonResult is an ActionResult type in MVC. It helps to send the content in JavaScript Object Notation (JSON) format. In this article, I will explain how to access the data from a JsonResult object and display it in a browser with an example.

Mocking API Responses in Azure API Management Portal

A mock API imitates a real API call by providing a realistic JSON or XML response to the requester. Mock APIs can be designed on a developer...