Controller in MVC

Controllers area unit primarily the central unit of your ASP.NET MVC application. it’s the first recipient, that interacts with incoming communications protocol Request. So, the controller decides that model are elite, so it takes the information from the model and passes a similar to the individual read, at that time read is rendered. Actually, controllers….

Routing in mvc.

Posted in .NET TECHNOLOGIES, ASP.Net, C#, MVCTagged ,

Routing is that the method of leading associate protocol request to a controller and therefore the practicality of this process is enforced in System.Web.Routing. This assembly isn’t a part of ASP.NET MVC. it’s really a part of the ASP.NET runtime, and it had been formally free with the ASP.NET as a .NET 3.5 SP1. System.Web.Routing….

Mvc Page Life Cycle.

In this chapter, we’ll discuss the MVC pipeline and therefore the lifetime of associate protocol request because it travels through the MVC framework in ASP.NET. At a high level, a life cycle is solely a series of steps or events wont to handle some style of request or to alter associate application state. you’ll already….

What is MVC Pattren

The MVC (Model-View-Controller) style pattern has truly been around for many decades, and it has been used across many alternative technologies. Everything from Smalltalk to C++ to Java, and currently C Sharp and .NET use this style pattern to make a computer program. Following area unit some salient options of the MVC pattern − Originally….

What is mvc

Posted in .NET TECHNOLOGIES, ASP.Net, C#, MVCTagged , ,

ASP.NET MVC is open source software package from Microsoft. Its internet development framework combines the options of MVC (Model-View-Controller) design, the foremost up-to-date concepts and techniques from Agile development and therefore the best elements of the prevailing ASP.NET platform. This tutorial provides a whole image of the MVC framework Associate in Nursingd teaches you ways….

Difference between IQueryable and IEnumerable c#

Hi I will explain difference between IQueryable and IEnumerable list  in c# with example IEnumerable 1. If we want to use IEnumerable in our application, we can get it by adding System.Collections namespace. 2. IEnumerable best suitable for in-memory operations because first it will execute “select query” on server and it will load all….

Difference between varchar and nvarchar in sql.


Hi i am explaining the major difference between the VARCHAR and NVARCHAR Data Type in Sql Server: Varchar Non-Unicode Variable Length character data type. Example: DECLARE @Name AS VARCHAR(50) =‘PAWAN SHUKLA’ SELECT @Name It takes 1 byte per character Example: DECLARE @Name AS VARCHAR(50) = ‘PAWAN SHUKLA’ SELECT @Name AS Name, DATALENGTH(@Name) AS Length Result:….

C# – Difference between Abstract class and Interface

An Abstract category associate degreey with none implementation just looks like Interface; but there area unit lot of variations than similarities between associate degree Abstract category and an Interface. Let’s explain both concepts and compare their similarities and differences. What is Abstract Class? An abstract category could be a special kind of category that cannot….

C# – Difference between String and Stringbuilder in C#

Here i will make a case for what’s difference between string and stringbuilder in c# mistreatment String is immutable. immutable means that once we have a tendency to produce string object we tend to cannot modify. Any operation like insert, replace or append happened to vary string merely it’ll discard the recent value and….

What is interface in c# with example


An interface is defined as a syntactical contract that every one the categories inheriting the interface should follow. The interface defines the ‘what’ part of} the syntactic contract and also the deriving categories define the ‘how’ part of the syntactical contract. Interfaces define properties, methods, and events, which area unit the members of the interface…..