Asp.Net Interview Questions and Answers for Experienced - 1
Question: 1
What are ASHX files?
ASHX files contain HTTP handlers-software modules that handle raw HTTP requests received by ASP.NET.
Question: 2
Can an ASPX file contain more than one form marked runat= “server”?
No.
Question: 3
Describe the difference between inline and code behind?
Inline code written alongside the html in a page. Code –behind is code written in a separate file and referenced by the .aspx page.
Question: 4
Explain how the server control validation controls work?
ASP.NET provides a set of Web server controls called validation controls that provide sophisticated validation on both the client side and the server side depending on the validation settings and the browser’s capabilities.
ASP.NET ensures that validations are performed on the server side even if they were already performed on the client side. This ensures that validations are not bypassed if a malicious user circumvents client-side validation. If the client-side validation fails, the server-side validation is never performed.
Some validator controls are –
Requiredfieldvalidator,
RangeValidator,
CompareValidator,
RegularExpressionValidator,
CustomValidator,
ValidationSummary.
You may want to mention about Page. Validate () Method and Page. IsValid Property.
Question: 5
Which two properties are on every validation control?
Control to Validate and Error Message properties.
- 200+ Asp.Net Interview Questions
- Asp.Net Interview Questions and Answers
- Asp.Net Interview Questions and Answers Pdf
- Asp.Net Interview Questions and Answers for Experienced
- Asp.Net Interview Questions and Answers for Freshers
- Asp.Net Important Interview Questions with Answers 2020-2021
- Asp.Net Practical Viva Questions and Answers
- Top 200+ Advanced Asp.Net Interview Questions 2020-2021
Dc generator questions and answers pdf More
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
1000+ Mechanism and Machines MCQ Questions & Answers Pdf More
7000+ GATE ECE Question Bank Pdf More
1000+ Virtusa Aptitude Questions and Answers Pdf More
1000+ Work, Power, Energy MCQ Questions and Answers Pdf More
C MCQs Questions with Answers Pdf 2019-2020 More