Blog
Blog posts on .NET, Azure, and more.
Creating JSON Web Tokens using dotnet user-jwts tool
November 21, 2022 by Anuraj
AspNetCore DotNetCore DotNet
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 create and manage app specific local JSON Web Tokens (JWTs).
Creating Containers in .NET 7 with the .NET CLI
November 20, 2022 by Anuraj
AspNetCore Docker Container Azure
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 explore about enabling CI / CD with GitHub Actions.
Integrate logging in a ASP.NET Core application using Serilog and Seq
November 20, 2022 by Anuraj
DotNetCore AspNetCore Logging Serilog 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 and requires a license if you’re building professionally. For more details visit seq pricing page
Generating Code Coverage Reports in .NET Core
October 19, 2022 by Anuraj
DotNetCore AspNetCore DotNet UnitTesting
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 how to use this tool to collect code coverage and generate code code coverage report using the reportgenerator tool. I will also explains how we can be integrated to GitHub actions.
Change schema name in Entity Framework Core
October 18, 2022 by Anuraj
dotnet dotnetcore efcore
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.
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