Maher JENDOUBI

Hi, I'm Maher, Development Technologies MVP. I'm blogging about ASP.NET Core and Microsoft Azure.

MVP Global Summit 2019

This is my third MVP Global Summit. It is the annual event with lots of insider information about new and exciting Microsoft technologies for all MVPs. Before 2 days from the event, I was there to adapt myself to the 9-hour jet lag between Redmond, where the summit took place, and Paris region, where I am based. The weather was like it was in summertime except for the last day (Friday) which was a little rainy. My flight was a direct flight from Paris to Seattle. It was a too long trip that I watched 4 movies on the plane. As usual, I did my registration at the Hyatt hotel. It was near my hotel which the Westin, a nice...

Partitioning in Azure Cosmos DB

Service Definition Azure Cosmos DB is a multi-model database service that is distributed globally, massively scalable. Multi-model data with your favorite API Elastically scale storage and throughput Multiple, well-defined consistency levels <10ms latency guarantees at the 99th percentile SLAs leading the industry in terms of performance, latency, availability, and throughput. System Topology The Azure Cosmos DB service is deployed throughout the world, including the sovereign (Azure Germany, Microsoft Azure China 21Vianet Group) and government clouds (Azure U.S. government). Microsoft is deploying and managing the Azure Cosmos DB service — available in all Azure regions — on machine stamps, each with specific local SSDs. The Cosmos DB service is layered on top of Azure Service Fabric, Azure's basic distributed system infrastructure....

Getting Azure Service Bus Namespace Information

Introduction Starting from version 3.3 of the .NET Standard client library for Azure Microsft Bus service, we can get programmatically its namespace information. In this blog post, I explain how to create a new vanilla Service Bus and how to get its namespace info using C#. Prerequisites I used the following tools and libraries: Visual Studio 2019 Preview .NET Core SDK 2.2.103 Microsoft.Azure.ServiceBus 3.3.0 Azure Service Bus Azure Service Bus One among my favorite Azure services is the Azure Service Bus. That's why I prefer to save it in my saved list. It's a shortcut for me to create a new Service Bus. Azure Service Bus is a cloud-based messaging service providing queues...

Dissecting a client-server application built with .NET Core 3 Preview 1 and gRPC

In their environments, many companies such as Cisco and Netflix are already using gRPC to connect multiple services. The use case varies from connecting a handful of services in on-prem or cloud environments to hundreds of services across different languages. Below are some of our early adopters ' details and quotes. As we are testing the first preview bits of .NET Core 3.0 covering almost every .NET Core developer needs – starting with IoT, ML, Web to Desktop applications – Microsoft is contributing to the gRPC project to ensure first-class support for .NET developers will be provided by gRPC. This is a reply to a common question from customers which is how to have an RPC (as in .NET Remoting and...

A strange bug in Azure Cosmos DB SQL API account (SDK Version 3 Preview)

It is important to read the official documentation. Sometimes, you feel the need to add some value. After seeing the tweet below, I spent almost my weekend studying the new tutorial which I highly recommend for beginners with Azure Cosmos DB. Try out the preview of the new #CosmosDB .NET SDK! Get started with a tutorial for #dotnet or #dotnetcore, and let us know your feedback!💡.NET: https://t.co/Xpjjkhun7V.NET Core: https://t.co/rNE36EZ3QA— Deborah Chen (@ChenDeborah) December 13, 2018 Used Versions Microsoft Azure Cosmos DB Client library = 3.0.0.1-preview .NET Core 3.0 Preview 1 Visual Studio 2019 Preview 1 or Visual Studio Code Insiders 13.1 Windows 10 Enterprise N 1809 In...

Rendering Medical Images using Blazor and fo-dicom

A few months ago, I was looking for the simplest way to render a DICOM file for the Web using .NET Core. By "the simplest way", I mean using the minimum lines of code. Prerequisites I used the following tools and libraries: Visual Studio 2017 15.8.6 .NET Core SDK 2.1.402 Blazor 0.6.0 fo-dicom.Drawing 4.0.0 What is DICOM? Digital Imaging and Communications in Medicine (DICOM) is the standard for the communication and management of medical imaging information and related data. DICOM is most commonly used for storing and transmitting medical images enabling the integration of medical imaging devices such as scanners, servers, workstations, printers, network hardware, and picture archiving and communication systems...

Using CDNJS with LibMan for ASP.NET Core

The inspiration trigger for writing this blog post was a question from the ASP.NET Core forum community. The question was about the best way of using npm packages in ASP.NET Core. I will not write here about npm but instead, I will describe how to use an alternative new tool for installing Client-Side libraries of an ASP.NET Core Application. This tool is called Microsoft Library Manager (aka LibMan). Prerequisites I used the following tools: Visual Studio 2017 Preview 15.9.0 .NET Core SDK 2.2.100-preview1-009349 What is CDNJS? CDNJS is a free and Open Source Public Web CDN for Web developers where you can find 3403 libraries with 90027 different versions at this moment of...

Blazor Introduction

This blog post might be outdated one day in the future but my intention here to get through the first bits of Blazor even at its alpha release. What is Blazor? Blazor is an experimental .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly. What is WebAssembly? WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm is designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications. WebAssembly 1.0 has shipped in 4 major browser engines. I am using Visual Studio 17.5 Preview 2.0. I installed ASP.NET Core Blazor Language Services...

MVP Global Summit 2018

The 2018 Summit took place March 4-7 at the Microsoft headquarters in Bellevue and Redmond, Washington - and while every Summit gives our community the chance to shine, this one holds a special significance. We’re celebrating 25 years of the MVP Award Program! Pre-Day I arrived on Saturday at Seattle. I had the chance and especially the time to visit Downtown Seattle. The weather was very nice. Day 1 Day 2 #mvpbuzz #MVPSummit USA-India-DominicanRep-Tunisia @PoojaBrs @yhorbymatias pic.twitter.com/1d72We3Fyk— Mark Radacz (@MarkRadacz) March 6, 2018 Day 3 I was delighted to meet Scott Guthrie ( Executive Vice President of the Cloud and Enterprise Group in Microsoft ) at Microsoft Redmond Campus yesterday during the Global MVP Summit 2018. Day...

ASP.NET Core Benchmarking on Debian using Docker

I am using Windows Server 2016 VM on Azure. The size of the VM is a Standard D4s v3 (4 vcpus, 16 GB memory). I have installed Docker for Windows inside the VM. It means that I am running containers on Docker for Windows on HyperV on Windows Server 2016 on Azure VM! Disclaimer : I am trying to learn how to do ASP.NET Core benchmarks using Docker. This could help developers to benchmark their Web Apps in order to improve their performance. PS C:\Users\Maher\Documents> git clone https://github.com/aspnet/benchmarks.git Cloning into 'benchmarks'... remote: Counting objects: 4957, done. remote: Compressing objects: 100% (113/113), done. remote: Total 4957 (delta 96), reused 101 (delta 55)...

ODP.NET Core and ODAC 12.2c R1 Update 1

The same day last week, I attended an Ask The Oracle Masters (or AskTOM for short) session, where you get definitive answers for your Oracle questions from experts that work directly on the database products within Oracle Corporation. The session was about ODP.NET Core and ODAC 12.2c R1 Update 1. The webcast was presented by Christian Shy (christian.shay@oracle.com), .NET Product Manager at Oracle and Alex Keh (alex.keh@oracle.com), Senior Principal Product Manager from Oracle. The first .NET @OracleAskTOM Office Hours starts in 2 hours (9am PT). Learn about https://t.co/Zn0Rz2SBM2 Core and ODAC 12.2c R1 Update 1. Ask the experts your questions. https://t.co/56yhxEznyG pic.twitter.com/0BFfdwNAFG&...

ASP.NET Core Pre-Benchmarking on Ubuntu using Docker

This blog post is about yak shaving before starting learning how to do benchmarks of ASP.NET Core on Ubuntu using Docker for Windows. Disclaimer: I am trying to learn how to do ASP.NET Core benchmarks using Docker. This could help developers to benchmark their Web Apps in order to improve their performance. https://t.co/wKeQMvCSjUI will update it based on your questions and feedback. When it's good enough I will add it in the main readme.— Sébastien Ros (@sebastienros) January 23, 2018 PS C:\Program Files\PowerShell\6.0.2> docker pull ubuntu:latest latest: Pulling from library/ubuntu 22dc81ace0ea: Pull complete 1a8b3c87dba3: Pull complete 91390a1c435a: Pull complete 07844b14977e: Pull complete b78396653dae: Pull complete...