EventFul Days Ahead for .NET Developers

There is a festival time ahead for all .NET Developers. With lots of Launching Events coming in next two quarters, it is going to be a very hectic and pleasant surprises for all Microsoft Developers. I think this year at October would be one of the major events taking place post Bill Gates Era. So … Continue reading EventFul Days Ahead for .NET Developers

C# Generics

C# Generics

Introduction Infrastructure for Generics Generic Types and Inheritance Contravariant and Covariant Generic Types Verifiability and Constraints Generics is mechanism offered by the common language runtime (CLR) and programming languages that provides one more form of code reuse : algorithm reuse Microsoft design guidelines that generic parameter variables should either be called T or least start … Continue reading C# Generics

Assembly Properties

Assemblies and its version policy.

Introduction Assembly Types The Global Assembly Cache Configuration Files Introduction The NET Framework and  Framework Class Library are an perfect example of globally deployed assemblies as they are most widely used assemblies by multiple application and .NET software vendors. The applications are built and tested using code implemented by third party vendors and Microsoft using … Continue reading Assemblies and its version policy.

Common Types System

Types and Common Type System

What is Type in .NET Framework The .NET Framework is built around types. A type in .NET is a class, structure, interface, enumeration, or delegate. A type is the fundamental unit of programming in .NET. In C#, a type can be declared using the class, structure, and interface keywords. Every piece of code that you … Continue reading Types and Common Type System

Deployment and Packaging .NET Assemblies.

.NET Application Packaging, Deployment and Configuring Application.

Today, applications are created using the types developed by Microsoft or custom built by you. If these types are developed using any language that targets the common language runtime (CLR), they can all work together seamlessly, i.e. different types created using different .NET languages can interact seamlessly. .NET Framework Deployment Objectives: All applications use DLLs … Continue reading .NET Application Packaging, Deployment and Configuring Application.

Environment of .NET Runtime.

CLR Fundamentals.

Introduction The Common Language Runtime (CLR) How Common Language Runtime Loads: IL and Verification: Unsafe Code The NGen Tool The Framework Class Library The Common Type System The Common Language Specification Introduction This is one of my initial blogs on CLR Overview and Basics, which I believe every .NET developer must know. I believe this … Continue reading CLR Fundamentals.

C# 4.0 new Features.

Dynamic¬† Lookup dynamic keyword : These Object type need not be known till runtime. Member's signature is not know till it is executed. E.g. System.Reflection Programming against COM IDispatch Programming against XML or HTML DOM Dynamic Language Runtime (DLR) behaves more like Python or Ruby. Dynamic in C# is a type for e.g. Dynamic WildThings(dynamic¬† … Continue reading C# 4.0 new Features.

Design Pattern Part – 4

Bridge Pattern The bridge pattern is a design pattern used in software engineering which is meant to "decouple an abstraction from its implementation so that the two can vary independently".[1] The bridge uses encapsulation, aggregation, and can use inheritance to separate responsibilities into different classes.   A bridge is a structural pattern that influences the … Continue reading Design Pattern Part – 4

Design Pattern Part–3.

Adapter Pattern Two different objects have unfriendly interfaces and then we introduce adapter to communicate and interact between them without any changes to the existing interface of the two objects. Adapter converts the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces. An … Continue reading Design Pattern Part–3.

Design Patterns Part – 2

Abstract Factory A factory class helps us to centralize the creation of classes and types. Abstract factory helps us to bring uniformity between related factory patterns which leads more simplified interface for the client. Abstract factory expands on the basic factory pattern. Abstract factory helps us to unite similar factory pattern classes in to one … Continue reading Design Patterns Part – 2