Asp.Net web services Interview Questions and Answers

online Asp.Net C# interview Questions for freshers

Q. What is the file extension of web service in ?
A. .asmx is the file extension name in web services on services

Q. What you mean by Filtering of data?
A. Filtering of data is done when you need to display only selective records.
Given below are the  two methods for filtering data:
Creating parameterized queries.
Filtering data using control of a window form.
Asp.Net interview questions and answers pdf C# Languages using to develop web forms in Visual Studio business requirements
Online Courses

WebForms Development | MVC Core Interview Questions and Answers

Q. What is the difference between ExecuteScalar and ExecuteNonQuery?
A. ExecuteScalar returns output value where as ExecuteNonQuery does not return any value but the number of rows affected by the query. ExecuteScalar used for fetching a single value and ExecuteNonQuery used to execute Insert and Update statements.

Q. Can we execute multiple catch blocks in C# application?
A. No. Once any exception is occurred it executes specific exception catch block and the control comes out.

top architect interview questions and answers for cSharptop core interview Questions and Answers

beginners C# with interview questions and answers

Q. Why to use “finally” block in C#? applciation?
A. “Finally” block will be executed irrespective of exception. So while executing the code in try block when exception is occurred, control is returned to catch block and at last “finally” block will be executed. So closing connection to database / releasing the file handlers can be kept in “finally” block.

Q. What is the difference between “finalize” and “finally” methods in C# application?
A. Finalize – This method is used for garbage collection. So before destroying an object this method is called as part of clean up activity.
Finally – This method is used for executing the code irrespective of exception occurred or not.

Web development fullstack course Web development course 2021: Fullstack
Online course Online Courses: Include Certification
Harisystems is optimized for learning, testing and training. courses are designed to be simplified to improve reading and basic understanding for beginners to expert level. Tutorials and examples are constantly reviewed to avoid errors, however we cannot warrant full correctness of all content. if any found need to correct write us at we Harisystems is not responsible for any with this tutorials, While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2007-2022 by Harisystems. All Rights Reserved.
Copyright © Harisystems 2022