Giang Pham
  • Home
  • About
  • Blog
  • Contact

View Option

Dark Light
Top Posts
Use SQL to query Dataverse endpoint
Modernizing integration system software stack
Building CI/CD pipelines for Kubernetes with Azure DevOps and GitFlow
Dockerizing a full .NET App for Windows Containers running in Kubernetes
Deploying a multiple node pools Kubernetes cluster to Azure (AKS) using Terraform
IoT scenarios – Why bother Azure Stream Analytics?
Acquiring an OAuth Access Token from Dynamics 365 CRM Online
Building a Scheduled Job in .NET Core with Quartz
Microsoft Azure – What To Use When
Deploying a .Net Core Worker Service to a Minikube VM
.Net CoreC#CRMInfrastructure & Software Design

Use SQL to query Dataverse endpoint

by Giang Pham 19 July, 2021

If you’ve been facing the pain of using CRM SDK or its Web API to fetch data, this post is for you. Normally, each time I want to fetch some data out of CRM quickly, I could just use FetchXML Builder within XRMToolBox. With this post, I’ll tell you why having the ability to fetch data using raw SQL queries against Dataverse endpoint is so important and how it helps make our life a lot easier.

If you’re reading through Microsoft documentation, you can see that the doc only tells how to query using SQL Server Management Studio (SSMs) and this feature is till in preview. I’ve tested it and it worked perfectly fine. However, we won’t be using SSMS to execute our queries, we’ll do this from code. This is super important to separate our commands and queries against our CRM instance and allows us to achieve CQRS much more easier.

Let’s us first walk through the beauty of fetching data via SSMS.

Continue Reading
19 July, 2021 0 comment
1 FacebookTwitterLinkedin
BackendContainerizationInfrastructure & Software DesignInfrastructure As CodeLoggingMicrosoft Azure

Modernizing integration system software stack

by Giang Pham 15 September, 2020

Introduction

The world of computing has rapidly evolved over the years. We are now equipped with plenty of tools and software which is great for making our life a lot easier and more modern than ever before. Containers and container-orchestration systems have opened a brand new way of doing things, from allowing us to achieve automation of development and deployment to performing massive scale at fingertips and so much more. This post is an introduction to modernizing integration system software stack using a number of  different tools and why they have been selected.

Continue Reading
15 September, 2020 0 comment
0 FacebookTwitterLinkedin
CI/CDContainerizationKubernetesMicrosoft Azure

Building CI/CD pipelines for Kubernetes with Azure DevOps and GitFlow

by Giang Pham 18 August, 2020

Contents

  • The motivation
  • The scenario
  • Building the pipelines
  • Simulating the entire build and deploy process
  • Final thoughts

Continue Reading

18 August, 2020 0 comment
0 FacebookTwitterLinkedin
ContainerizationDockerKubernetesMicrosoft Azure

Dockerizing a full .NET App for Windows Containers running in Kubernetes

by Giang Pham 31 July, 2020

Windows containers have been out there for a few years but I feel like it is now time to have our full .NET apps running in Kubernetes for production. The reason why I say this is because Kubernetes starts supporting Windows Containers running in AKS from version v1.14 and the supported Windows node’s OS must be Windows Server 1809/Windows Server 2019 or later. Of course, you don’t have to run a full .NET app in a Windows node but the question is why it even exists when you don’t have a plan to run them. That discussion is not the purpose of this post though.

Continue Reading
31 July, 2020 0 comment
1 FacebookTwitterLinkedin
CI/CDInfrastructure As CodeKubernetesMicrosoft Azure

Deploying a multiple node pools Kubernetes cluster to Azure (AKS) using Terraform

by Giang Pham 24 June, 2020

You are probably excited about containers just like I did when I first heard about them a few years ago. In the past, we would deploy our multi-container apps using Docker compose to a docker swarm and have it managed our containerized apps and this worked but also added a lot of complexity.  I started looking for new ways to manage my containers and I came across Kubernetes. I just went … wow! I had a few posts previously talking about Kubernetes but they were mostly general discussions. This post is going to be a long one, from the planning step to the final way out. I will address why I choose such an infrastructure as we are moving through.

Continue Reading
24 June, 2020 0 comment
1 FacebookTwitterLinkedin
Infrastructure & Software DesignMicrosoft Azure

IoT scenarios – Why bother Azure Stream Analytics?

by Giang Pham 18 May, 2020

CAP theorem – the challenge

Imagine we have thousands of thousands of alerts (telemetry data) generated from IoT devices and we want to collect them to do some analysis, reporting or to create supporting tickets from the data we received? These alerts are sent over a network protocol, either through HTTPS, SMTP, TCP/IP or AMQP. The truth is that there will always be a latency receiving those messages. If you heard about the CAP theorem, it states that it is impossible for a distributed data store to achieve more than 2 out of these 3 guarantees:

Continue Reading
18 May, 2020 0 comment
1 FacebookTwitterLinkedin
CRMMicrosoft AzureMicrosoft Dynamics D365

Acquiring an OAuth Access Token from Dynamics 365 CRM Online

by Giang Pham 12 May, 2020

This post demonstrates one way of obtaining an OAuth access token from Dynamics 365 CRM and it is one of the very first steps in building external applications using the Web API. You can refer to this post if you have any other Microsoft OData-based endpoints in Azure that you want to interact with such as Microsoft Graph, Microsoft SharePoint Online.

Continue Reading
12 May, 2020 5 comments
0 FacebookTwitterLinkedin
.Net CoreC#CRMInfrastructure & Software DesignLoggingMicrosoft Dynamics D365

Building a Scheduled Job in .NET Core with Quartz

by Giang Pham 8 May, 2020

.NET Core 3.0 introduces a new type of console application called Worker Service.  I hope you are not confused with the term “Service Worker” that deals with offline web applications in the front-end world. In case you’re wondering what is it, you can refer to my other post to have a brief overview and this article for an in-depth understanding. This post introduces one way of building a scheduled job in .NET Core using Quartz.

Continue Reading

8 May, 2020 4 comments
0 FacebookTwitterLinkedin
  • 1
  • 2

About Me

About Me

Giang Pham

G'day there. It's Giang Pham, a dev, tech geek, currently based in Newcastle, Australia. This is my personal internet journal where I started my learning journey and it is a place to share knowledge. I blog just about anything related to work such as new techs, career development and quite a bit of "whats" and "whys" on my day-to-day basis.

Keep in touch

Twitter Github

Recent Posts

  • Use SQL to query Dataverse endpoint

    19 July, 2021
  • Modernizing integration system software stack

    15 September, 2020
  • Building CI/CD pipelines for Kubernetes with Azure DevOps and GitFlow

    18 August, 2020
  • Dockerizing a full .NET App for Windows Containers running in Kubernetes

    31 July, 2020
  • Deploying a multiple node pools Kubernetes cluster to Azure (AKS) using Terraform

    24 June, 2020

Categories

  • Backend (4)
    • .Net Core (3)
  • CI/CD (2)
  • Coding (2)
    • C# (2)
  • Containerization (9)
    • Docker (2)
    • Helm (1)
    • Kubernetes (8)
  • General (1)
  • Infrastructure & Software Design (4)
  • Infrastructure As Code (3)
  • Logging (2)
  • Microsoft Azure (7)
  • Microsoft Dynamics D365 (3)
    • CRM (3)

Archives

  • July 2021
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020