Category: MVC
-
Page life cycle of MVC
Page life cycle of MVC is like below .When Browser request to application it will do first 1)App initialization: It will create initialization of Application of IIS 2)Routing: It is very important of MVC , this is the first step… Continue reading
-
Different types of results in MVC
In MVC there are almost 12 types of result , Actionresult class is the base class and there are eleven sub types are available. a)Viewresult: for returning view only. b)PartialViewResult: It will render a particular partial view result, the best example… Continue reading
-
Using Asynchronous Methods in ASP.NET MVC 4
In .net 4.5 , there is a new feature is called asynchronous method calling , action methods that return an object of type Task<ActionResult> , MVC 4 supports Task based Programming , it is inheriting from namespace called System.Threading.Tasks , The .NET Framework 4.5 builds… Continue reading
-
Filters in mvc
there are different types of filters in mvc,the execution of filters below like A)Authorization filters: this filter implements using IAithorizationFilter , it is used to secure action like performing authentication and validationit is used by Authorize attribute , below is… Continue reading