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

Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

724


Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net

1712


What is a form tag?

681


What r the asp.net list controls and difference between them?

718


Why cyclomatic complexity is important?

748


What are session state modes in asp.net?

727


Define globalization and localization.

742


Which validator control you use if you need to make sure the values in two different controls matched?

833


What is the maximum timeout we can set for Cookies?

740


What is session management in web application?

744


What's the use of formatters in .net?

757


Write a code snippet to implement the indentation in json in web api.

770


What is the purpose of master page?

695


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

2082


Is asp.net 64-bit enabled? How?

801