ASP .NET

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 »

Posted in ASP, C# | Tagged , | Leave a comment

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 »

Posted in ASP, C#, MVC | Tagged , | Leave a comment

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 »

Posted in ASP, C#, MVC | Tagged , | Leave a comment

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 »

Posted in ASP, C#, MVC | Tagged , , | Leave a comment

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.

Posted in ADO NET, ASP, C#, MVC | Tagged , , | Leave a comment