Fundamental differences between struct and class. Class Class is a reference type and its object is created on the heap memory. Class can inherit the another class. Class can have the all types of constructor and destructor. The member variable of class can be initialized directly. Class object can not be created without using the new […]
People don’t see the difference between events and delegates sometimes. Delegate is a class that contains a field that holds a reference to a method and then you can call the method with appropriate parameters. Whereas an event is a variable that you can define and specify one or more delegates to be added to it.
Frequently asked question on a job interview. So, let’s figure it out. Indexes are the keys that stored in a structure (B-tree) that enables SQL Server to find the row or rows associated with the key values quickly and efficiently. With a clustered index the rows are stored physically on the disk in the same order […]
Filters inject extra logic into MVC Framework request processing. They provide a simple and elegant way to implement cross-cutting concerns. This term refers to functionality that is used all over an application and doesn’t fit neatly into any one place, where it would break the separation of concerns pattern. Classic examples of cross-cutting concerns are […]
WCF has a couple of built in bindings which are designed to fulfill some specific need. You can also define your own custom binding in WCF if necessary. All built in bindings are defined in the System.ServiceModel Namespace. Here is the list of bindings which are commonly used: