ASP.net Flashcards
In Asp.net , Web.config file is used ?
1. Configures the time that the server-side code behind module is called
2. To store the global information and variable definitions for the application
3. To configure the web server
4. To configure the web browser
To store the global information and variable definitions for the application
Which file you should write for the connection string so that you can access it in all the web pages for the same application?
1.In App_Data folder
2.In Web.config file
3.In MasterPage file
4.None of the above
In Web.config file
What is the name of the Page object’s property that determines if a Web page is being requested without data being submitted to the server?
1.IsCallback
2.IsReusable
3.IsValid
4.IsPostBack
IsPostBack
How many types of authentication ASP.NET supports?
1.Windows Authentication.
2.NET Passport Authentication.
3.Forms Authentication.
4.All of the above.
All of the above.
Which of the following is not an ASP.NET page event?
1. Init
2. Load
3. Import
4. None of the above.
Import
Which attribute is necessary for HTML control to work as a HTML server control?
1. runat=”server”
2. runat=”web-server”
3. ID=”server”
4. ID=”web-server”
runat=”server”
Which validation control in ASP.NET can be used to determine if data that is entered into a TextBox control is of type Currency?
1. ValidationSummary
2. CompareValidator
3. RequiredFieldValidator
4. None of the above.
CompareValidator
What is AJAX?
Stands for Asynchronous Javascript and XML
Which of the following is not an attribute of the HTML <form> tag?
1. Action
2. Method
3. name
4. url
URL
https://www.w3schools.com/html/html_forms_attributes.asp
What process handles requests to ASP.NET resources
A worker process called aspnet_wp.exe handles requests for ASP.NET resources