Build and run Angular application in a Docker container

This post is about building and running an Angular application in a Docker container. In this post I will be using nginx as a web server to host and run the angular application. First I am creating an Angular application using ng new --skip-tests command. Next I am creating a...


Creating JSON Web Tokens using dotnet user-jwts tool

This post is about creating JSON Web Tokens in development with dotnet user-jwts CLI tool. This tool introduced last year - recently I saw some demo using this tool and it was awesome. So I explored it and started using it in projects. The dotnet user-jwts command line tool can...


Creating Containers in .NET 7 with the .NET CLI

This post is about the new feature in .NET 7 - creating a container using dotnet CLI. In .NET 7.0 there is a feature which helps to publish docker container from dotnet CLI. We will also explore how to deploy the image to Azure Container Registry. And finally we will...


Integrate logging in a ASP.NET Core application using Serilog and Seq

This post is about how to integrate logging in a asp.net core application using Serilog and Seq. Serilog is a logging framework for .NET. Seq is the intelligent search, analysis, and alerting server built specifically for modern structured log data. We can use Seq for free if you’re developing solo...


Generating Code Coverage Reports in .NET Core

This post is about how to enable code coverage for .NET Core and how to get the code coverage report. I already wrote few blog posts related to enabling code coverage in .NET Core and ASP.NET Core. In this blog post I am exploring the dotnet tool dotnet coverage and...


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