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
NEET Acoustics MCQ Questions and Answers Pdf More
Thermal Physics Questions and Answers Pdf More
NEET Quiz Physics 2026-2027 More
Nuclei and Atoms Physics NEET Questions Pdf More
NEET Questions with Answers Physics More
100+ Simple Interest Questions for SBI, IBPS PO, SO, Clerk More
Microsoft.Net Interview Questions and Answers More
7000+ Synchronous Machines MCQ Questions & Answers Pdf More
1000+ DC Circuits Questions and Answers Pdf More
Java Interview Questions and Answers for 3 Years Experience More