Blog

Blog posts on .NET, Azure, and more.

Securing Your Web API Using Azure Active Directory

December 03, 2020 by Anuraj

Azure WebApi AspNetCore

This post is about securing your asp.net core web api applications using Azure Active Directory. First let’s create an Azure Active Directory application which helps you to protect the application.

OpenAPI and Versioning for ASP.NET Core Web API

December 01, 2020 by Anuraj

OpenAPI AspNetCore

This post is about how to enable and use Open API for ASP.NET Core Web API with versioning enabled. I have created a Web API project in ASP.NET Core 5.0, so Open API is enabled by default. Next I am adding the Microsoft.AspNetCore.Mvc.Versioning package to enable versioning support. And I am enabling version support using the following code in Startup.cs - ConfigureServices method.

How to add Open API support for Azure Functions

November 26, 2020 by Anuraj

Azure OpenAPI Serverless

This post is about documenting Azure Functions using Open API. Similar to ASP.NET Core, Open API support for Azure Functions is also simple and straight forward.

How to create a QR Code generator with Azure Functions

November 25, 2020 by Anuraj

Azure QRCode Serverless

This post is about creating a QR Code generator using Azure Functions. A QR code (abbreviated from Quick Response code) is a type of matrix barcode (or two-dimensional barcode) first designed in 1994 for the automotive industry in Japan. QR codes often contain data for a locator, identifier, or tracker that points to a website or application. I will be using a library - QRCoder to generate the QR Code for a URL. So first I have created a function with Http Trigger.

What is new in ASP.NET Core 5.0 Web API

November 20, 2020 by Anuraj

Azure aspnetcore dotnetcore

This post is about Web API application in ASP.NET Core 5.0 - What are the new features, how to create web api using dotnet CLI and Visual Studio. Finally deploying ASP.NET Core 5.0 Web API to Azure App service

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub