What are the action filters available in asp.net mvc

Answer Posted / sravankumar

An action filter is an attribute that you can apply to a controller action -- or an entire controller -- that modifies the way in which the action is executed. The ASP.NET MVC framework includes several action filters.
• OutputCache – This action filter caches the output of a controller action for a specified amount of time.
• Handle Error – This action filter handles errors raised when a controller action executes.
• Authorize – This action filter enables you to restrict access to a particular user or role
for more questions
https://subhashnetworld.blogspot.in/2017/02/tcs-dot-net-interview-questions.html

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which tool you have done?

1552


What are the cookies types in asp.net?

644


What is event bubbling?

689


What is work flow gen? how can it will work with .Net?

2660


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

678






How can you make sure that web api returns json data only?

613


What is csrf attack in asp.net?

592


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

859


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

1788


What is masterpage?

593


Explain diff. Betn dataset and recordset?

645


What is difference in .net 1.1 and .net 2.0?

672


Why viewstate is used in asp.net?

620


What is server side session management?

607


What is Web API?

723