TechBubbles Microsoft Technology BLOG

Tag.NET Framework

Async / Await guide-lines

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 .Result Above line is wrapper method on taskservice which...

C# 7 features overview

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 above screenshot. Tuples Install-Package “System.ValueTuple” One...

What is Windows SDK for Facebook?

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 Universal apps on Desktop and Mobile, apps that...

ASP.NET 5 and .NET Core Framework overview

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 5 on .NET Framework You can continue to run all your applications on .NET...

Immutable Collections in .NET Framework

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 Readonly Collections like ReadOnlyCollection<T>, an...

Creating an OData service on the .NET Framework

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 outlines the steps to creating an OData service on the .NET...

.NET Framework 4 SortedSet

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 sorted order. The...

.NET Framework 4 BCL

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 Code Contracts Parallel extensions Tuples File IO improvements Memory mapped files Sorted Set...

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud