Techbubbles

Archive of ‘.NET Framework’ category

.NET Framework 4.5.1 Features

A year ago .NET Framework 4.5 was released which allows the developers to use Windows 8 technologies and windows runtime directly from .NET 4.5. More on .NET FW 4.5 features can be read here.This post outlines the new .NET 4.5.1 features which mainly focusing on developer productivity, application performance and continuous innovation.

Developer Productivity Features
Edit […]

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 […]

Guidelines for Developing Class Libraries in .NET

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
Related Posts:.NET Framework 4 File IO Features.NET Framework 4 BCLImmutable Collections in .NET FrameworkCreating an OData service […]

.NET Framework 4 File IO Features

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”);

Related Posts:Guidelines for Developing Class Libraries in .NET.NET Framework 4 BCLImmutable Collections in .NET FrameworkCreating an […]

.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 […]

.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 […]

Documenting C# code with XML Comments

This article explains an easy and effective way of documenting your C# code. XML comments are the solution for generating a clean documentation for your code. Visual Studio environment allows you to generate a documentation file for your project. It helps your teammates and other people who using your code.
This post will explain how to […]

GAC in .NET Framework

The Global Assembly Cache known as the GAC is to enable sharing of assemblies across several managed applications installed on a machine. All managed developers can install assemblies to the GAC and share them across applications.
When to Use the GAC
When should an assembly be installed in the GAC as opposed to assembly in application base? […]

Assembly binding in .NET Framework

The CLR is responsible for locating and binding the assemblies in the code. In Order to work assembly binding efficiently you need to follow some best practices.
Assembly Naming 
Always use fully specified assembly names. An assembly name is a name given to unique identity. Two assemblies representing the same identity can have the same name with […]