Tag: .NET Framework


  • There are lot of different ways to use Async\await in C#. It is bit difficult to understand what different methods, fields and keywords are under tasks and how they are different? This post outlines some bad examples that developer shouldn’t use and explains the alternate solution. Bad example1: This locks up the UI. Never use…

  • C# 7 added some new features with a focus on code simplification and performance. This post explains C# 7 new features Binary Literals         We now have binary literals like 0b followed by 0’s and 1’s; literals can often get longer so you can add underscore to separate them as shown in…

  • Microsoft released Windows SDK for Facebook and can be downloaded from here. The main objective of this SDK is building Universal Windows Applications with Facebook integration. What is Windows SDK for Facebook? It is an open source SDK for integrating Facebook features into your application that you develop using window platform. It has support to…

  • What is ASP.NET 5? ASP.NET 5 is entirely new open source web application stack for .NET from Microsoft. It designed to meet the need for modern server web applications and it is optimized for modern development workflow. ASP.NET 5 continuous to run on .NET Framework but also run on new framework called .NET Core. ASP.NET…

  • What are Immutable Collections? Immutable Collections are collections which guarantees that they never change their content and completely thread safe. Immutable suggests that data will not change and will not ever change and moreover you can hold a reference to it as long as you want. Why should we use Immutable Collections when there are…

  • Open Data Protocol is a web protocol for accessing information via services. It is built upon technologies such as XML and JSON. The main component for building the OData service on .NET Framework is WCF Data Service. OData service can support different data source models including ADO.NET Entity Framework. LINQ to SQL etc. This post…

  • This post explains about design guidelines for developing class libraries that extends the .NET Framework. Following design guidelines provides benefits of consistency and unified programming model for developers. Naming Conventions for Casing Identifiers There are two different styles in Casing Identifiers

  • New methods are added to the System.IO.File class in .NET framework 4.0 for reading and writing text files. ReadLines In earlier version we have used File.ReadAllLines method which returns a string array of all lines in the file. String[] lines = File.ReadAllLines(“file.txt”);

  • You can get the overview on what’s new in .NET FW BCL by reading my post .NET Framework 4 BCL. This post explains about one of the feature SortedSet. .NET Framework 4 adds a new collection to System.Collections.Generic, named  Sorted Set<T>.  It is like HashSet<T>  collection of unique elements, but SortedSet<T> keeps the elements in…

  • All .NET developers who uses the BaseClassLibraries can read this post to know what’s New in the .NET FW 4 BCL.  Its not the scope of this post to cover all the features but you can read them on BCL team blog at blogs.msdn.com/bclteam. The following are the features that you can explore in BCL…