Improving EF Core performance with Compiled Queries
This post is about improving EF Core performance with Compiled queries. From EF Core 2.0 onwards, EF Core supports compiled queries, which helps developers to compile the queries in advance and executed when application executes the query. By default EF Core automatically compiles and caches your queries using a hashed...
Implementing CRUD operations with ASP.NET Core Web API and Mongo DB
This post is about implementing CRUD operations with ASP.NET Core Web API and Mongo DB. In this post I am using a nuget package with the name MongoFramework - which is an Entity Framework like implementation for MongoDb. I am following the schema and implementation of the Microsoft Learn documentation...
Implementing Authentication in Azure Static Web Apps - Part 2
In the last post we discussed about implementing the authentication in Static Web App Free Plan. For Standard plan, we can use our own client Id and client secret of the social provider. Using your own client Id and client secret will help you to avoid the Azure concent screen...
Implementing Authentication in Azure Static Web Apps - Part 1
This post is about implementing authentication in Azure Static Web Apps. Azure Static Web Apps is a service that automatically builds and deploys full stack web apps to Azure from a code repository. Similar to Azure App Service, Azure Static Web App offers authentication out of the box. The service...
Automated versioning and package publishing using GitHub Actions
This post is about implementing versioning and publishing docker images and nuget packages using GitHub Actions. I am not explaining about semantic versioning. There is already a lot of content explaining about these things. First I am exploring how to implement versioning in Docker Containers. For this purpose I am...
How to Create and Publish a NuGet Package with dotnet CLI
This post is about how to Create and Publish a NuGet Package with dotnet CLI. We will also look into how to publish the nuget package to nuget.org. First we need to create a nuget package. To create nuget package, we need to create a class library. I am using...
Publish docker images to GitHub Container Registry (ghcr)
This post is about how to publish docker images to GitHub Container Registry. GitHub offers a container registry where we can publish docker images as public and private. To publish a docker image to GitHub Container registry, first we need to create a Personal Access Token, then login to the...
Use dev tunnels in Visual Studio to debug your web APIs
This post is about using dev tunnel in Visual Studio to debug your web APIs. Usually when we build applications which requires a callback from an external service I used to implement a tunneling software like ngrok - one example is implementing power platform connectors. Recently Visual Studio introduced a...