🇵🇸 Call for a #CeasefireNOW 🇵🇸

Act Now

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

مساعدة في دوت نت عربي

نشأ دوت نت عربي منذ ثمان سنوات ليكون من أوائل المواقع العربية التي تقدم محتوى عربيا ذا جودة عالية، قدم من خلالها العديد من الحلقات مع نجوم تقنيين عرب أصحاب خبرة طويلة و أداء مميز. بدأ البودكاست بجهود فردية و نفقة شخصية غير ربحية، و استمر عدة سنوات بأداء جيد و بمعدل حلقة كل أربعة أسابيع و بشكل مستمر. و لكن خلال السنتين السابقتين بدأ إصدار الحلقات بالتباطئ و باتت الفترة بين الحلقة و الأخرى تطول على الرغم من كل محاولات زيادة الانتاج. فكرة إخراج العمل من دائرة العمل الفردي إلى دائرة العمل الجماعي لم تغب عني و منذ سنوات، لكن لم أستطع إيجاد آلية واضحة و عملية يمكن الاعتماد عليها لتحويل العمل من فردي إلى جماعي تطوعي، و يمكن من خلالها اغتنام ما قدمه بعض المستمعين المخلصين من رغبة في المشاركة في هذا العمل. استمر الأمر كما هو عليه حتى كان لا بد من الخوض في فكرة العمل الجماعي التطوعي حتى و لو بأبسط الأدوات. و “أن تأت متأخرا خيرا من أن لا تأت”. ...

October 25, 2016 · Emad Alashi

Productivity Satisfaction Maturity Levels

Such a fancy title ha, probably the influence of our industry (bad influence)! Well you can just substitute it with something like “These are the stages of productivity between which the satisfaction jumps in exponential magnitudes”. Note: before we check these stages out, it goes without saying that all the “he” in this article are absolutely replaceable with “she”; it’s just that the “he/she” style is too verbose. 0. Ignorance In this stage the individual doesn’t know what he is missing , he does not add any value to himself or the community; he enjoys “time-waste” activities, or watching TV YouTube. Indeed there is joy in being a couch potato, but it is negligible compared to the next levels, which he hasn’t experienced yet, thus explains why I gave it the number 0. ...

August 18, 2016 · 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: Self-Confidence

I have blogged before about some of the skills that a consultant should be acquainted with like Story Telling, Knowledge Depth & Breadth, and Having an Opinion, all of which I see very important. But in this post I would not hesitate to say that self-confidence is the single most important amongst them all! Before we continue, what does “self-confidence” mean? my words of choice would be: “it is the belief someone has about his/her capability of accomplishing something that he/she hasn’t tried before“. Notice here that it’s a “belief” ...

January 16, 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