Cheah Eng Soon
4 Steps Integrate Microsoft Graph with Azure Bot Services
Author: Cheah Eng Soon

IMAGE ALT TEXT HERE

Sign Up for M365 Developer Program
https://developer.microsoft.com/en-us/office/dev-program

Setup for Microsoft Graph Postman Collection
https://github.com/microsoftgraph/microsoftgraph-postman-collections

Source Code
https://github.com/cheahengsoon/MicrosoftGraphBotSharePoint

YouTube Channel
https://www.youtube.com/c/engsooncheah

Published at 04 Jun 2020

Read more...
Chan Ming Man
Huawei Matebook 13 CMOS setting
Author: Chan Ming Man

This short post let you know there is no CMOS setting screen In Huawei Matebook 13. Let say you have a Huawei i5, 512 SSD, and 16GB RAM Motebook 13 model. You might want to enable Virtualization to run Hyper-V, … Continue reading

Published at 31 May 2020

Read more...
Chan Ming Man
Getting started with VBA in Office
Author: Chan Ming Man

This is nothing new, but I am amazed when I have seen this article posted in August 2019. This is also proven it is not about how cool you can code, it is about you can code something that can … Continue reading

Published at 31 May 2020

Read more...
Chan Ming Man
SSIS Foreach Loop Container using oreach ADO Enumerator
Author: Chan Ming Man

This post shows you a simple way to use SSIS Foreach Loop Container with Foreach ADO Enumerator. There are many examples out there. I just try to do a simplest one. This post expect you already know SSIS basic. I … Continue reading

Published at 30 May 2020

Read more...
Chan Ming Man
C# Text to PDF library that works
Author: Chan Ming Man

the short post is to show you how to convert a text file to PDF using C#. There are many PDF library out there that need to pay. For this moment, I found a MigraDoc, http://www.pdfsharp.net/?AspxAutoDetectCookieSupport=1, that is free. Hope … Continue reading

Published at 26 May 2020

Read more...
Goh Chun Lin
Automated GUI Testing of UWP Apps Using Appium and Azure DevOps
Author: Goh Chun Lin

There is a popular yet simple checklist on how good a software team is from Joel Spolsky, who has been the CEO of Stack Overflow until last year (2019). The checklist is called the Joel Test. The test has only 12 items but 7 of them are related about DevOps, debugging, and testing. Software testing […]

Published at 25 May 2020

Read more...
Chan Ming Man
Write Summation to For Loop C#
Author: Chan Ming Man

This post shows you how to convert a summation formula into for loop. If you see the summation formula like the one below. Writing in C# is still the like the one here https://chanmingman.wordpress.com/2020/05/24/write-simple-summation-to-for-loop-c/. public static long Sumation(long n) {     long … Continue reading

Published at 25 May 2020

Read more...
Chan Ming Man
Write Simple Summation to For Loop C#
Author: Chan Ming Man

This post shows you how to convert a simple summation formula into for loop. If you see the summation formula like the one below. Writing in C# will be public static long Sumation(long n) {     long sum = 0;     sum … Continue reading

Published at 24 May 2020

Read more...
Chan Ming Man
SQL Server Finding Lock and Blocking
Author: Chan Ming Man

This post shows you how to create a database lock in purpose. Only with that you can try to find the block session of the database. In this example I will use the Northwind database that everyone is familiar with. … Continue reading

Published at 23 May 2020

Read more...
Chan Ming Man
How you get Malware into your computer by downloading movie
Author: Chan Ming Man

This post shows you one of the possible ways you get malware into your computer. For example, you are searching for Mulan 2020 online then you bumped into a site link this. Happy you click the Download. You will see … Continue reading

Published at 22 May 2020

Read more...
Cheah Eng Soon
Automate Your Social Media with Power Automate
Author: Cheah Eng Soon

Prerequites

Steps

  1. Go to Power Automate (https://flow.microsoft.com) and Sign in with your M365 Account.

  2. Search for "Twitter".
    Alt Text

  3. Select Template "RSS Feed news to Twitter".
    Alt Text

  4. Connect your Twitter Account and Click "continue".
    Alt Text

  5. Enter Your RSS Feeds URL.
    For this Demo, I'm using Azure Updates RSS Feed.
    Alt Text
    Alt Text

  6. Select "Primary feed link" from dynamic content and Enter the Hashtag "#PowerPlatformTest". Remember put a spacing after "Feed title".
    Alt Text

7.Click "Save".

8.If any update from Azure updates. Your Social Media Account will auto post the post.
Alt Text

Remember to Subscribe our YouTube Channel
Microsoft User Group Singapore (https://www.youtube.com/channel/UClksqggBISUON-mMsOTVTtQ)

Published at 21 May 2020

Read more...
Chan Ming Man
The World Map of C++ STL Algorithms
Author: Chan Ming Man

This short post shows you a very need map by Fluent C++. There are the STL library that you can try in C++. You can get the map here: https://www.fluentcpp.com/getthemap/

Published at 18 May 2020

Read more...
Goh Chun Lin
Building Driver Tracking System with Eventing in Microsoft Azure
Author: Goh Chun Lin

Recently due to the coronavirus pandemic, ordering food from online platform becomes one of the popular choices here. Drivers will deliver the food to us without us leaving our house to pickup the food from the restaurants. The drivers are all equipped with a smart phone that will send I’m not sure how those online […]

Published at 17 May 2020

Read more...
Chan Ming Man
Android Emulator run on AMD chip
Author: Chan Ming Man

Finally Android emulator can run on AMD chip. I am using Ryzen 5. How to setup in up, follow this link https://developer.android.com/studio/run/emulator#install, when it is still valid.

Published at 16 May 2020

Read more...
Cheah Eng Teong
Creating a Release Dashboard
Author: Cheah Eng Teong

Create a Release Dashboard 1. Navigate to Dashboards under Overview and Create a +New Dashboard. Name it Releases. 2. Search the Deployment Status widget and add it to the dashboard 3. Click the configure icon, Set the size 4×3, select PartsUnlimitedE2E build and all the stages of the Linked Release Pipeline and Save the configuration. … Continue reading Creating a Release Dashboard

Published at 09 May 2020

Read more...
Marvin Heng
Exclude localhost from Chrome/Chromium Browsers forced HTTPS redirection
Author: Marvin Heng

Chrome and Chromium browsers such as latest Microsoft Edge (Chromium version) has been consistently redirecting the access to http…

Published at 05 May 2020

Read more...
Cheah Eng Teong
Using Azure Monitor as release gate – Part 2
Author: Cheah Eng Teong

Update and deploy application after adding release gates In this exercise, you will make a small code change in the application and commit to the repository which in-turn triggers build and release. 1.Go to Repos and click Files. Navigate to the path “src/PartsUnlimitedWebsite/Views/Home/Index.cshtml” and modify the content to “30%” form “20%” in line 30. 2. … Continue reading Using Azure Monitor as release gate – Part 2

Published at 02 May 2020

Read more...
Cheah Eng Teong
Using Azure Monitor as release gate – Part 1
Author: Cheah Eng Teong

Setting up the Target Environment You will create two Web Apps in Azure to depict two environments Canary and Production to deploy the application. 1. Go to Azure portal and click on +Create a resource and select Web App. 2. Provide a name for the Web App, create new Resource Group or select existing one form … Continue reading Using Azure Monitor as release gate – Part 1

Published at 01 May 2020

Read more...
Cheah Eng Teong
Technical Question
Author: Cheah Eng Teong

How to Prepare Many candidates just read through problems and solutions. That’s like trying to learn calculus by reading a problem and its answer. You need to practice solving problems. Memorizing solutions won’t help you much. Any problem you might encounter, do the following: 1. Try to solve the problem on your own Push yourself … Continue reading Technical Question

Published at 28 Apr 2020

Read more...
Cheah Eng Teong
The big O notation
Author: Cheah Eng Teong

The complexity of an algorithm The Big O notation is used to classify algorithms according to how their running time or space (e.g. in memory or on disk) requirements grow as the input size grows. It does not depend on implementation details such as programming language, the operating system, the hardware, our programmer skill, and … Continue reading The big O notation

Published at 27 Apr 2020

Read more...
Goh Chun Lin
Pack UWP Class Library with NuGet
Author: Goh Chun Lin

Recently, my team is working on packing our UWP class library as a NuGet package. It turns out that it’s not that straight-forward, because even though there is a documentation from Microsoft, it is for Windows Runtime Component. So, the question on StackOverflow remains unsolved. I thus decided to document down the steps on how […]

Published at 26 Apr 2020

Read more...
Cheah Eng Teong
Checking Vulnerabilities using White- Source Bolt and Azure DevOps
Author: Cheah Eng Teong

Trigger a build 1. Go to Builds section under Pipelines tab, select the build definition WhiteSourceBolt and click on Run pipeline to trigger a build. 2. Once the build is completed, you will see the summary which shows Test etc. as shown below. 3. Navigate to White Source Bolt Build Report tab under Pipelines section … Continue reading Checking Vulnerabilities using White- Source Bolt and Azure DevOps

Published at 25 Apr 2020

Read more...
Cheah Eng Soon
AjaxcontrolToolkit does not work after deploy to the Windows Server
Author: Cheah Eng Soon

Questions as Title Mentionhttps://stackoverflow.com/questions/61301497/ajaxcontroltoolkit-does-not-work-after-deploy-to-the-windows-server/61314080#61314080 Answer 1:https://docs.microsoft.com/en-us/aspnet/ajax/cdn/overview#ajaxmicrosoftcom_renamed_to_ajaxaspnetcdncom_18 Answer 2: (if Your Server Admin willing to change the settings of IIS)https://forums.asp.net/post/6301553.aspx [...]

Published at 20 Apr 2020

Read more...
Cheah Eng Teong
Enabling Continuous Integration with Azure Pipelines
Author: Cheah Eng Teong

Introduction to Azure DevOps Build 1. Navigate to Pipelines. Click New pipeline to create a new build pipeline. 2. The default option for build pipelines involves using YAML to define the process. If you are interested in that, please check out that lab. For this lab, click use classic editor.           … Continue reading Enabling Continuous Integration with Azure Pipelines

Published at 19 Apr 2020

Read more...
Cheah Eng Teong
Driving continuous quality of your code with SonarCloud
Author: Cheah Eng Teong

Set up a pipeline that integrates with Sonar Cloud 1. In your Azure DevOps project, go to Pipelines under Pipelines tab, then click on New Pipeline to create a new build pipeline. 2. You have 2 possibilities: Configure with the YAML editor, or with the classic assistant. In this lab, we will use the classic editor. … Continue reading Driving continuous quality of your code with SonarCloud

Published at 18 Apr 2020

Read more...