Category Archives: C#

What are .Net directives?

@ Assembly:-Links an assembly to the current page or user control decoratively. @ Control:-Defines control-specific attributes used by the ASP.NET page parser and compiler and can be included only in .ascx files (user controls). @ Implements:-Indicates that a page or user control implements a specified .NET Framework interface decoratively. @ Import:-Imports a name space into… Read More »

When we use interface and when we use abstract class

Use an abstract class When creating a class library which will be widely distributed or especially to clients, use an abstract class in preference to an interface; because, it simplifies visioning. This is the practice used by the Microsoft team which developed the Base Class Library. (COM was designed around interfaces.) Use an abstract class… Read More »

Category: C# Tags:

SCRUM in Software Development

Scrum is actually a subset of Agile and it is one of the most popular process frameworks for implementing Agile. Scrum is an iterative software development model used to manage complex software and product development in IT. It has Fixed-length iterations, called sprints lasting one or two weeks long and allow the team to complete… Read More »

Palindrome in C#

A palindrome is a word which reads the same in backward and as in forward.

Category: C# Tags:

Explain the brief history of ASP.NET MVC?

Hi friends, I have gone through some existing features of MVC in its history. MVC Framework have too many features and in each release they have added new features. ASP.NET MVC1 MVC1 was Released on Mar 13, 2009 Runs on .NET 3.5 Runs in Visual Studio 2008 & Visual Studio 2008 SP1 MVC Pattern architecture… Read More »

ArrayList in C#

Array List is an ordered collection of object. It can be indexed individually. It is an alternative to an array in C#.We can add items to an array List. It also allows dynamic memory allocation, adding, searching and sorting items in the list.

Category: C# Tags:

Microsoft Unity in Web Applications

The Unity Application Block (Unity) is a lightweight container for dependency injection. Using DI frameworks developers can generate and assemble instances of custom classes and objects that can contain dependent object instances and settings. 1. Constructor injection 2. Method call injection 3. Property injection It helps developers with the following features : Simplifies code Specify… Read More »

Reflections in C#

Hi friends, Reflection are used for obtaining type information of objects at run time. System.Reflection namespace is used to get meta data information at run time. The System.Reflection namespace contains classes that helps to obtain information about the application. Please refer the example below

What is MVC ?

MVC is an architectural pattern. It separates the representation and the user interaction in an Application. In MVC there are three important sections. Model,View and Controller. Please see details below. View is responsible for look and feel. Model provides data to the View. Controller is responsible to take the end user request and load the… Read More »

DTO (Data Transfer objects) in C#

DTO (Data Transfer objects) is a container for passing data between layers. DTO’s are also termed as transfer objects. DTO is used to pass data and does not contain any business logic in it. Setters and Getters are used in DTO.