Creating LINQ Extension

Creating extensions  is one of the very useful techniques in C# that can help us extend the functionality of an existing class or library without modifying the origin. It is also aligned with the 2nd principle of SOLID programming, Open Close Principle.

In this article I will focus on creating a LINQ extension method and will point out a simple but important tip that you need to watch out for.

Continue reading Creating LINQ Extension

Why did I choose Azure API App over Function App?

This week we decided to create a new isolated mission critical but dead simple and small api in order to publish our web api endpoint address to the mobile clients.

The use-case is very simple: pass platform, version and environment (dev/prod) and receive the api that you need to work with.

Why did we decide that?
This is going to help us seamlessly and gradually shift between old production environment to the new production environment.

Last week I watched a presentation  about Azure Function Apps and kind of fell in love with the concept.

Because of the following advantages I knew right a way that’s the best solution for us in order to implement that single, very small and mission critical api method:

  • next to nothing development time
  • automatic deployment from a git repository
  • use dynamic or classic app service instances
  • cheap
  • reliable

This week while starting to do the design an implementation and after some experiments I decided to go with API Apps instead, because of following reasons:

Continue reading Why did I choose Azure API App over Function App?

My favorite sessions from Microsoft Ignite Sep 2016

During 5 days of Ignite Sep 2016, Microsoft has generated weeks of presentations. I subscribed to their YouTube channel and oh boy! The list of the videos coming up was taking over any my entire subscriptions list.

Probably watching all of them is practically impossible for me but here is the list of my favorite sessions that I have watched:

Continue reading My favorite sessions from Microsoft Ignite Sep 2016