What is the purpose of the [Authorize] attribute in ASP.NET MVC?
A. It handles HTTP requests and responses
B. It defines routing rules
C. It manages session data
D. It restricts access to authorized users
Answer: Option D
A. It handles HTTP requests and responses
B. It defines routing rules
C. It manages session data
D. It restricts access to authorized users
Answer: Option D
A. Active Server Pages Network
B. Advanced Software Programming .NET
C. Active Server Pages .NET
D. Advanced Server Pages Network
Which of the following is NOT a valid ASP.NET control?
A. asp:Label
B. asp:TextBox
C. asp:Button
D. asp:Div
What is the purpose of the ViewState in ASP.NET?
A. To store database connection information
B. To store the state of controls on the page
C. To store the web page layout
D. None of the above
Join The Discussion