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, …

Continue reading ‘Back to Basics : Singleton Design Pattern using System.Lazy type’ »

NuGet Package – Unity.WebAPI

Today I came across this interesting Nuget Package for creating ASP.NET Web API project with Microsoft Unity Dependency Injection container. – It is pretty simple to configure and install on your existing Web API project or new ones. Inorder to use it, use the respective NUGET package from below links: ASP.NET Web API v1.0 – …

Continue reading ‘NuGet Package – Unity.WebAPI’ »

WCF RIA Services V1.0 SP2–available

Latest update for WCF RIA Services v 1.0 includes support for Windows 8.1 and VS2010, 2012, 2013. Version: 4.1.61829.0            |        Date Published:  11/5/2013 Little about WCF RIA Services “ WCF RIA Services simplifies the traditional n-tier application pattern by bringing together the ASP.NET and Silverlight platforms. RIA Services provides a pattern to write application logic …

Continue reading ‘WCF RIA Services V1.0 SP2–available’ »

Kinect SDK for Windows v 1.8 Released

Microsoft has released latest version of Kinect SDK for Windows and Kinect Developer Toolkit for Windows. The Kinect for Windows Software Development Kit (SDK) enables developers to create applications that support gesture and voice recognition, using Kinect sensor technology on computers running Windows 7, Windows 8, Windows 8.1, and Windows Embedded Standard 7. News features …

Continue reading ‘Kinect SDK for Windows v 1.8 Released’ »

Disable Client Side validation on a button click – ASP.NET MVC

ASP.NET MVC we use client side validation using jQuery.validate plugin, which will be based on Model – Data Annotation validation attributes. In some cases we might want to disable such validation on a button click wherever it is not needed. For example: The below code block will register validation block for Title property in the …

Continue reading ‘Disable Client Side validation on a button click – ASP.NET MVC’ »

Sending Mobile Push notification using C#/.NET (iOS, Android, Windows Phone 8, Windows 8 and Blackberry)

This is an update blog to my earlier blog about Sending Apple iOS Push notifications using C#. With that blog – I  introduced you to  how to send push notification using Open Source library APNSharp, by the developer John Redth.  Redth announced that library is already deprecated. Redth came up with  with another open source …

Continue reading ‘Sending Mobile Push notification using C#/.NET (iOS, Android, Windows Phone 8, Windows 8 and Blackberry)’ »