Blog

Blog posts on .NET, Azure, and more.

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

409 Conflict: Could not write to local resource web.config due to error Access to the path is denied.

November 17, 2020 by Anuraj

Azure AppService Kudu

This post is about how to fix the issue with 409 Conflict: Could not write to local resource ‘D:\home\site\wwwroot\web.config’ due to error ‘Access to the path is denied.’ when working with Azure App Service.

How to add a Startup class to Azure Functions

November 15, 2020 by Anuraj

Azure Functions Serverless

This blog post is about adding a Startup class to Azure Functions. So why we need a startup class for Azure function? For example if you’re building an Azure Function which talks to SQL Server Database or calling an external API, instead of creating the instance of Database Connection or HTTP Client directly in the code it is always recommended to us Dependency Injection, and inject the external dependencies to the functions. As Azure Functions running on top .NET Core, we can use the .NET Core dependency injection techniques.

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