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 [code language=”csharp” padlinenumbers=”true”] /// <summary> /// Singleton class /// </summary> public class AppConfig { private AppConfig() { }… Continue reading
Category: VS2010
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 – Unity.WebAPI… Continue reading
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
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
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
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
Windows Phone Toolkit–June 2013–Release – v4.2013.06.11
Windows Phone team has released the latest update(v 4.2013.06.11) for Windows Phone Toolkit available through NuGet. Get it as an NuGet package: https://nuget.org/packages/WPtoolkit/4.2013.06.11 Find whatβs new in Release Notes: https://phone.codeplex.com/releases/view/106971
Windows Azure SDK for .NET–Version 2.0 (for Visual Studio 2010 SP1/2012)
Latest version of Windows Azure SDK for .NET β Version 2.0 released by Microsoft. DOWNLOAD: Windows Azure SDK for .NET 2.0 (Offline Installer) Recommended: Instead of manually downloading the files from above link, it is recommended you use the automated one-click install provided by the Web Platform Installer x64 or x86. Click on the appropriate… Continue reading
Microsoft Enterprise Library 6–Released
Microsoft has released the version 6.0 of their Microsoft Enterprise Library collection. Microsoft Enterprise Library is a collection of reusable components to meet your needs in developing enterprise applications using .NET technologies. Quoting from Microsoft Microsoft Enterprise Library is a collection of reusable application blocks designed to assist software developers with common enterprise development challenges.… Continue reading
Coding4Fun Toolkit v2.0.3 for Windows Phone and Windows 8 apps
Coding4Fun team has released a new updates for their Windows Phone and Windows 8 controls. There are some interesting controls available for free through codeplex.com. Coding4Fun team are major contributors to .NET community including Channel9 video series etc. They always brings up innovation in whatever they do, including set of Kinect based tutorials and sample… Continue reading