Can action method static?
Answer / Suresh Kumar Gautam
No, in ASP.NET MVC, action methods cannot be declared as static. Action methods are instance methods of a controller class and must have access to the instance variables of the controller.
| Is This Answer Correct ? | 0 Yes | 0 No |
Where do you store the information about the user?s locale?
How would you turn off cookies on one page of your website?
How does the service stream content?
What is the difference between typeof() vs gettype()?
What is the use of web.config? Difference between machine.config and Web.config?
What are the different types of Caching techniques in ASP.NET?
What is Razor View Engine
Why mvc is faster than asp.net? : Asp.Net MVC
how to create bin folder in asp.net2.0
In a Code-Behind class generally which type of code is found ?
How do you insert multiple rows from a grid view to database table under a single transaction?
What are the different types of sessions in asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)