Morteza Sahragard
-
How to send MQTT messages to an Azure IotHub by MQTT.fx client
As clearly stated in the documentation, “IoT Hub is not a full-featured MQTT broker and does not support all the behaviors specified in the MQTT v3.1.1 standard". If you need to send MQTT messages to an IotHub and for whatever reason cannot use IotHub standard SDK, then the whole process could be a bit tricky.
-
ORMs role in Microservices age!
Recently I saw some discussions on Twitter people arguing about necessity of existence of ORMs (Object-relational mapping) at this age and the others are even waiting to have Entity Framework as a binging in Azure Functions. That made me as a person who have been working with ORMs from the early days and with different types of data driven applications, to write my two cents about the topic.
-
How to install and deploy Extensions in Azure Functions v2
If you have been doing Serverless Programming in Micrpsft Azure Stack, you probably know that the new generation of Functions (v2) has been available now for a few months. There are some differences in the new versions compared to the old one that you need to know before migrating your existing Functions.
-
Why and how to use lazy initialization in C# using Lazy<T> API
First of all, why do we need lazy object initialization? The answer is that when initialization of an object for whatever reason is expensive, we would typically wish to instantiate it once and only when it's required. There is an API introduced in .NET Framework called Lazy<T> for this purpose.
-
Ideas behind INotifyPropertyChanged implementation
INotifyPropertyChanged is a standard interface available form the early versions of .NET but still so popular. The general idea behind the implementation of this interface is awareness of the changes in the value of the properties in a class.
-
Rethrow Exceptions with ExceptionDispatchInfo
What I am going to be talking about today is neither new nor complicated. But doing code review, I still see many developers and even experienced ones make this mistake while handling exceptions.
-
An introduction to BlockingCollection
BlockingCollection is a class under System.Collections.Concurrent namespace and as the name implies, like any other collections under this namespace, it can also be used in concurrent and multi-tasking scenarios.
-
How to find the implementations of an interface in Visual Studio 2013 & 2015
Now a days, it has become highly unlikely to find a robust software design and architecture which is not utilizing interfaces. During development, it's sometimes really frustrating to find the implementations of a method of an interface.
-
'Paste Special': a less well-known feature in Visual Studio
Well, as web developers, we are always dealing with JSON data which are coming from different sources. Either we are serializing our own entities or it's coming from the external sources like third-party services and so on.
-
Web Extension Pack extension for Visual Studio 2015
Before Visual Studio 2015, if there was only a single extension for Visual Studio that every web developer had to install that, it was Web Essentials. For every other extensions we usually have to download and install them individually.