Blog
Blog posts on .NET, Azure, and more.
Building ASP.NET Core Minimal API in VB.NET
September 22, 2022 by Anuraj
AspNetCore MinimalApi VBNet
This post is about how to build ASP.NET Core Minimal API in VB.NET. Long back I wrote a blog post about Building ASP.NET Core web apps with VB.NET. Today Maurice asked whether we can build ASP.NET Core Minimal APIs in VB.NET. So I thought I will wrote a blog post about it.
Implementing Google Web Risk API in ASPNET Core
September 19, 2022 by Anuraj
AspNetCore GoogleCloud WebRisk Security
This post is about how to implement Google Web Risk API in ASP.NET Core with C#. Google Web Risk is a Google Cloud service that lets client applications check URLs against Google’s constantly updated lists of unsafe web resources. It is an enterprize version of the Google Safe Browsing API. When I tried to implement this API in our application. Unfortunately I couldn’t find in C# or .NET Sample. The documentation site contains only Java sample. So I thought of posting it.
Streaming Videos from Azure Blob Storage
September 01, 2022 by Anuraj
Azure Storage Account
This post is about how to stream videos from Azure Blob storage. Recently some one asked on tweet - about how to stream videos from azure storage account. Since in one of my project I was also loading videos from azure blob, I thought I will explore it a little bit. In the project I am displaying the video in <video> tag. So without downloading the full video files, users won’t be able to play it. And even if users are not playing the video, it will always download the full video. Here is the network tab - with 6 video files with 25 MB.
Custom Model Binding in ASP.NET Core Minimal APIs
August 29, 2022 by Anuraj
AspNetCore MinimalApi
This post is about how to use custom model binding in ASP.NET Core Minimal APIs. By default ASP.NET Core Minimal APIs don’t support the FromBody attribute. This will become a challenge when we try to upload files to Web API with Minimal APIs. Here is some code for implementing File Upload in Minimal Web API.
Create Containerized Build Agents with Azure DevOps Pipelines
August 20, 2022 by Anuraj
Azure DevOps
This post is about how to create containerized build agents with azure devops pipeline. Few days back I wrote a blog post on creating Azure Virtual Machine as Azure DevOps pipeline build agent. In this post we will be discussing about how to use Docker container as build agent. We can use this build agents for .NET Core and .NET Framework or any other languages / platforms. For this demo I am creating a build agent for a ASP.NET Core project.
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