What are the action filters available in asp.net mvc



What are the action filters available in asp.net mvc..

Answer / 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

More ASP.NET Interview Questions

What are main return types supported in Web API?

1 Answers  


How can you apply a theme to your asp.net application?

1 Answers  


What are sessions in asp net?

1 Answers  


What is viewstate? What does the “enableviewstate” property do?

1 Answers  


How many types of session in ASP.NET

1 Answers   MCN Solutions,


What is the benefit of WebAPI over WCF?

1 Answers  


Explain the differences between clr & cts?

1 Answers  


When does a session actually start?

1 Answers  


How can u debug your .net application?

1 Answers  


Give an example appropriate use forweb service as opposed to a non-serviced .NET component

1 Answers   Siebel,


What is the use of mcommand ? mcommand.fill(ds,"orderdetails");

1 Answers   Netsweeper,


What line in the following XML document will generate an error? <?xml version=?1.0?> <employees> <employee> <name>Bob Andcarrol</name> </employee> <employee> <name>Robert Burns</name> </employee> </employees> a) 6 b) 4 c) 1 d) There is no error

3 Answers   Syntax Softtech,


Categories