Tag Archives: C#

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:

Routing in MVC?

Hi All, Routing helps us to give user friendly URL structure. Helps to map those URL structure to the controller.When any user types “http://localhost/View/ViewStudent/” , it will goes to the “Customer” Controller and invokes “DisplayStudent” action. This is defined by adding an entry in to the “routes” collection using the “maproute” function.

How to Create a Team City Build ?

Hi All, Team City is a Java-based build management and continuous integration server from Jet Brains. Continuous Integration is the main aim of Team City. Automated deployment from development it self. Follow the following steps Step 1 – Login to the Team City software. Step 2 – Click Create Project to start a new project.… Read More »

What is Continuous Integration in Software Development ?

Hi Everyone, Continuous Integration is a software development practice that helps to calls upon development teams to ensure that a build and subsequent testing is conducted for every code change made in a software. Continuous Integration concept was meant to remove the problem of finding the late occurrences of issues in the build life cycle.… 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:

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 »