Azure Cosmos DB–Setting Up New Database using Azure CLI–Sample

Purpose of this article is to help you with few steps of commands to provision a new Azure Cosmos DB database instance through Azure CLI or Azure Cloud Shell. Here is the snippet: <# This Bash script should help you create a Azure Cosmos DB instance using Azure CLI with bare minimal configuration #> export […]

Read more β†’

Back to Basics : Singleton Design Pattern using System.Lazy type

This article takes you to a simpler/alternative approach in making a Singleton Design Pattern implementation using System.Lazy class rather that using our traditional approach. Singleton Design Pattern implementation without lazy initialization: This code is thread safe enabled This approach ensures that only one instance is created and only when the instance is needed. Also, the […]

Read more β†’

Zip(Archive) API’s in .NET Framework 4.5 – Part 2 – ZipFile Class

In my previous post I shared some information on API’s/Classes included as part of System.IO.Compression namespace in .NET Framework 4.5, and given on overview of ZipArchive class. Once such class I would be sharing some insight with post today would be ‘ZipFile‘ class. The ZipFile class provides convenient static methods for working with zip archives: […]

Read more β†’

Zip(Archive) API’s in .NET Framework 4.5 – ZipArchive Class

With release of .NET Framework 4.5, Microsoft has introduced new classes in to System.IO.Compression namespace. These classes will add the necessary programming support for Zipping(Achiving), and Extracting support for Zip Files in your .NET Source Code. Below are the newly introduced classes as part of .NET Framework 4.5: ZipArchive – Represents a package of compressed […]

Read more β†’

Apple Push Notifications Service API & C#

To start with Apple Push notifications I would have to first explain what is Push Notifications? In normal mobiles Push services are often based on information preferences expressed in advance. This is called a publish/subscribe model. A client might "subscribe" to various information "channels". Whenever new content is available on one of those channels, the […]

Read more β†’

Windows Phone Development–Background Agents in Windows Phone

Windows Phone came through long way after it’s initial release on Oct 21st 2010.  Windows Phone 7.5 update release called as β€œMANGO” brought lots of improvements including Multi tasking capabilities etc. With the introduction of multi-tasking ( it is not true multi tasking, but an efficient application switching which ensures that only one application will […]

Read more β†’