Interfaces in C# Explained

  Interface in C# contains definitions for a group of related features that a struct or a class can decide to implement. By implementing an interface, you are able to incorporate behaviours from different sources into your class. This feature is very useful particularly considering that C# does not support Inheritance from multiple classes. Also […]

Batching Techniques for SQL Database Applications in Azure

Batching operations can be very helpful in improving your performance and scalability for your in house application as well as cloud applications. Here are some of the batching techniques available for you to consider: Transactions Client side code based transactions can be simple and useful. Here is an example:   Table-Valued Parameters In code, you […]

OOPS Concepts Tips: Inheritance in C#

Inheritance is one of the key features in OOPS and C# does support the OOPs principles. Because of the principle of Inheritance you can create a new class that can extend, reuse or modify the behavior and operations of another class. The class whose members are inherited by another class is called the base class […]

Design Patterns: Articles from MSDN

If you are an experienced developer and always on a look out for ways of smarter development, sure you are not to miss on Design Patterns. Patterns are everywhere, in our day to day life. Its there in the problems we face and the solutions we come up with.. if you can just insightfully recognize […]

Design Patterns: Exploring the Singleton Pattern

Singleton Pattern The intent of the Singleton pattern as defined in Design Patterns is to “ensure a class has only one instance, and provide a global point of access to it”. What problem does this solve, or put another way, what is our motivation to use it? In nearly every application, there is a need […]

Design Patterns: Exploring the Observer Pattern

Observer Pattern One of the overriding principles of object-oriented development is the proper assignment of responsibility in the given application. Each object in the system should focus on a discrete abstraction within the problem domain and nothing more. In short, an object should do one thing and do it well. This approach ensures that a […]

How to Enable Development Errors in CRM?

CRM by default tends to throw a General error for any error that occurs. If you need to have a more specific error, enable DevErrors in Web.config. To do it do the following: Step 1: Goto the CRM Web Server to the Web Installation path. Step 2: Open the Web.config file Step 3: Change the […]

Explain Factory Design Pattern

An important facet of system design is the manner in which objects are created. Although far more time is often spent considering the object model and instance interaction, if this simple design aspect is ignored it will adversely impact the entire system. Thus, it is not only important what an object does or what it […]

Some Essential Elements on Design Patterns

Here are some Essential Elements of Design Patterns. It basically has four key elements. 1. The Name of the Pattern, that we use to describe and identify a design problem. 2. Secondly the Problem which describes when to apply the pattern. 3. The solution that describes the elements or artifacts that make up the design,and […]

Threading Design Tips

Threading is a valuable programming technique to make applications more scalable and responsive. Weather you are aware of it or not, it is likely that the programs you are writing are using some aspect of threading – this is particularly true of web applications where web page requests are handled by a thread pool in […]