Filters Filter is implemented as an attribute which defines the common functionality or the cross cutting concern.The logic contained in a filter executes when the action method with which the filter is attached executes.Common examples of such cross cutting concerns are the logging and the caching functionality .Logging is used across the different layers in an application so […]
Archives for January 2015
Model Binding in MVC
Model Binding in MVC Understanding Model binding in MVC is important for understanding important scenarios such as data validation. While working in a MVC application we come across the different components such as the controller,action methods, application routes and the model.These all are no doubt important components in any MVC application ,but there is one […]
Progressbar in jquery
Web applications always have some latency whether we like it or not.When the user clicks the button on the screen there is some time spent in sending the request to the server.On the server after processing the request ,the response needs to be returned to the user.So there is delay because the request and response needs to […]
Html Helper methods in MVC
Before looking into how to use the HTML helper methods in MVC Views let’s first understand what are the problems that HTML helpers solves. HTML helpers have a very specific use which is to generate the HTML for the containing view. In any web page we need a form element which may contain some child […]
C# 6 Overview
The next version of c# contains many useful features.These new features will help us to perform the common tasks and to remove the boilerplate code. “Using” Statement for static class members In the prior versions of visual studio whenever we need to use a static member of a class we need to fully qualify the member […]