Implementing Content Security Policy (CSP) in ASP.NET Core

This post is about implementing content security policy in ASP.NET Core. Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross-Site Scripting (XSS) and data injection attacks. These attacks are used for everything from data theft to site...


Deploying PHP Applications to Azure App Service with Azure DevOps

This post is about deploying PHP applications to Azure App Service with Azure DevOps. Recently I had to deploy PHP application to Azure App Service. You can deploy it to Azure App Service using FTP, since there is no compilation steps required. If you’re using Composer - Dependency Manager for...


Deploying Angular with ASP.​NET MVC 5 on IIS

This blog post is about Deploying Angular with ASP.NET MVC 5 on IIS. Recently I saw one discussion in K-MUG and I had to consult for an issue on deploying Angular with ASP.NET MVC on IIS. So I thought of writing a blog post around it. In this blog post...


The workflow must be associated with an integration account - Azure Logic App

This blog post is about fixing an error while using Execute Javascript code step in Azure Logic Apps. While working a Azure Logic app, I faced this issue - I am using a script which converts the RSS feed categories / tags and convert it to hashtags. But when I...


OData (Open Data Protocol) in ASP.NET 6.0

OData (Open Data Protocol) is an ISO/IEC approved, OASIS standard that defines a set of best practices for building and consuming RESTful APIs. This post is about implementing OData (Open Data Protocol) in ASP.NET 6.0. OData RESTful APIs are easy to consume. The OData metadata, a machine-readable description of the...


Working with DevOps friendly EF Core Migration Bundles

This post is about EF Core migration bundles, which is a devops friendly way to deploy your database migrations. Currently you can deploy your EF Core migrations either using Code Approach where is you can call the migrations with C# code and another approach is using generating scripts and deploying...


How to implement two-factor authentication in ASP.NET Core without Identity

This post is about implement two-factor authentication in ASP.NET Core without ASP.NET Core Identity. Two factor authentication adds an extra layer of security is to your account to prevent someone from logging in, even if they have your password. This extra security measure requires you to verify your identity using...