TypeScript – Variables, Array and Methods

By | 07/04/2021

In this post, we will see what TypeScript is and how to configure our system, in order to use it for developing application.First of all, what is TypeScript?From Wikipedia:“TypeScript is a programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript and adds optional static typing to the language. TypeScript is designed for the development of large applications and transcompiles to JavaScript.As… Read More »

Design Patterns – Command

By | 31/03/2021

From https://en.wikipedia.org/wiki/Command_pattern:“In object-oriented programming, the command pattern is a behavioral design pattern in which an object is used to encapsulate all information needed to perform an action or trigger an event at a later time. This information includes the method name, the object that owns the method and values for the method parameters.”In a nutshell, we can use the Command Pattern to encapsulate… Read More »

Azure – Queue with Service Bus

By | 24/03/2021

In this post, we will see how to send message in a queue using Azure Service Bus.But first of all, what is Azure Service Bus?“Microsoft Azure Service Bus is a fully managed enterprise message broker with message queues and publish-subscribe topics.If two applications want to communicate with each other with less dependency, then Azure service… Read More »

Web API – Tips

By | 17/03/2021

In this post, we will see two tips that could help us in order to create Web API. First of all, we create a simple Web API for managing a list of Users: [USER.CS] [USERTYPE.CS] [IUSERCORE.CS] [USERCORE.CS] [USERCONTROLLER.CS] [STARTUP.CS] We have done and now with Postman, we will verify it works fine: TIP #1We can… Read More »

C# – Events

By | 10/03/2021

In this post, we will see what an Event is and how we can use it.First of all, what is an Event?From Microsoft web site:“An event is a message sent by an object to signal the occurrence of an action. The action can be caused by user interaction, such as a button click, or it… Read More »

Category: C#

C# – Dynamic Type

By | 24/02/2021

In this post, we will see what a Dynamic Type is and how to use it. Dynamic Type was introduced in C# 4.0 and it avoids compile-time type checking.It escapes type checking at compile-time and it resolves type a run time.A dynamic type variable is defined using the dynamic keyword.Let see some examples: DEFINING A… Read More »

Category: C#