đŸ‡”đŸ‡ž Call for a #CeasefireNOW đŸ‡”đŸ‡ž

Act Now

Posh-git on Mac using Oh My Zsh Themes

This post explains how to have posh-git prompt style in Oh My Zsh theme on Mac. After 4 years of using Windows, I am coming back to using a Mac. And there are so many things in Windows I am missing already. One of these things is posh-git; I loved how in one glance to your prompt you know the status of your git repo: how many files changed, how many added, how many deleted, how many indexed
 just love it! ...

October 16, 2019 Â· Emad Alashi

Learning a New Programming Language (Go language as an Example)

Summary This post explains why and how I learned the Go language. Hopefully this will help you to learn it quickly, or will inspire you on how to learn new languages. The Reason to Learn a New Language There can be many reasons why someone would want to learn a new language, the main ones to me are: 1) To solve a current business problem 2) Learn concepts to adapt to current tools 3) For fun and passion. Of course, you can have a mix of these reasons to push you to learn a new language, or maybe just one strong enough of these reasons. ...

August 26, 2019 Â· Emad Alashi

Fix “Mixed Content” When Using Cloudflare SSL And IIS Rewrites

In this post, I explain how I fixed the “mixed content” security issue when using Cloudflare Flexible SSL, and IIS Rewrite. I Run Two Websites Under One Account Using IIS Rewrites I have two websites that are hosted under one account with my hosting provider (I know!): https://emadashi.com and https://dotnetarabi.com. The way I do it is that is by using IIS Rewrite rules in my web.config; any request that is targeting one of these domains, I “rewrite” the URL so it is pointing to the sub-directory to serve the request. This changes where the file is served from, but does not change the request URL to the user. ...

March 2, 2019 Â· Emad Alashi

HTTP Binding in PowerShell Azure Functions

In a small project, I was trying to utilize an existing PowerShell I had, and host it in Azure Functions; I needed to understand how HTTP binding work with PowerShell Azure Functions as I didn’t want to rewrite my script to C# just because the PowerShell Azure Functions had the “(Preview)” appended to its name. I wanted the Function to return a plain text response to an HTTP trigger based on a query parameter (this is how Dropbox verifies Webhook URLs). So, naively, I followed the basic template as an example: ...

April 1, 2017 Â· Emad Alashi

I Have Been Hacked!

Yes, I’ve been hacked, and it wasn’t fun! In this post I will go through some of the lessons learned. But before that, let’s shed some light on what happened. It began when a friend of mine notified me that my DotNetArabi blog, which is WordPress blog, has new suspicious and unrelated posts. I rushed to my admin page, deleted these posts, and then changed my password to a stronger one. ...

December 8, 2015 Â· Emad Alashi

“Cloud-Ready Web Apps With ASP.NET 5” – Ignite Australia

It was a wonderful week last week spent in the beautiful Gold Coast after a very interesting Microsoft Ignite conference. I got the opportunity to present on how ASP.NET 5 is designed to be suitable for being hosted on the cloud, the following is the recording of my session: If you missed the event you can catch up with recordings of the sessions on channel 9, videos are still being uploaded.

November 25, 2015 Â· Emad Alashi

Dependency Injection In ASP.NET 5 – One Step Deeper

Dependency Injection has always been an integral part of all the web frameworks under the umbrella of the ASP.NET: Web API, SignalR, and MVC. But historically, these frameworks evolved separately from each other, hence each of these frameworks had its own way of supporting Dependency Injection, even with Katana‘s trial to bring these frameworks together through OWIN, you still needed to do some hackery to have a unified container that supports them all at once. Well, things have changed! ...

June 15, 2015 Â· Emad Alashi

ANZCoders Wrapup

Over the last week, the first ANZCoders virtual conference was taking place, the conference that you can attend in your pyjamas! Fifteen sessions over five days by twelve speakers, all voted upon by the audience themselves. The conference was live, but it was recorded also on Youtube; every session has its own Youtube video available for watching any time. So I hear you say “Why attend live if the video is going to be available later?!”
here is why: ...

June 1, 2015 Â· Emad Alashi

Consultant Skills: Having an Opinion

This is the third of three posts I’ve written about consultant’s skills, check the previous posts if you like: Consultant Skills: Story Telling Consultant Skills: Knowledge Depth & Breadth ————- We work in an industry where one general problem can be solved by too many ways, each emerges from a different mindset and different circumstances. But also, in this industry there is community pressure, there are “cool geeks” and “cool solutions”, there are “best practices”, and there are hypes and fads. ...

November 16, 2014 Â· Emad Alashi

OWIN, Katana, and Helios At DDDMelbourne – Presentation Slides

Here are the slides of my last talk “OWIN, Katana, Helios
What’s Going On?!” I delivered at DDD Melbourne. Sadly there was no recording. Owin, Katana, and Helios from Emad Alashi

July 21, 2014 Â· Emad Alashi