Filter in MVC

In ASP.NET MVC, controllers outline action strategies that sometimes have a matched relationship with potential user interactions, however typically you wish to perform logic either before associate degree action technique is named or once associate degree action technique runs. To support this, ASP.NET MVC provides filters. Filters area unit custom categories that offer each a….

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# asp.net 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.

Posted in DATABASES, SQL SERVER

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:….