Change schema name in Entity Framework Core

This post is about how to change schema name in EF Core. By default when we are running EF Core migrations, EF Core will create tables in the default dbo schema. We can change it with fluent API and using attributes. In the fluent API, we can configure the schema...


Add Unit Tests To Your Azure Functions

This post is about how to add unit tests your azure functions. Like ASP.NET Core apps and Web APIs, we can add unit tests for Azure Functions as well. I am using Visual Studio and C#. I am creating the function in .NET as well. First I am creating an...


Building ASP.NET Core Minimal API in VB.NET

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...


Implementing Google Web Risk API in ASPNET Core

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....


Streaming Videos from Azure Blob Storage

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...


Custom Model Binding in ASP.NET Core Minimal APIs

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...


Create Containerized Build Agents with Azure DevOps Pipelines

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...


API Versioning with ASP.NET Core 6.0 Minimal APIs

This post is about how to implement api versioning in ASP.NET Core 6.0 Minimal APIs. Earlier Minimal APIs versioning was not supported. Recently ASP.NET Core team introduced versioning in ASP.NET Core Minimal APIs. To implement it, first we need to create a Web API with Minimal API - we need...