What are the steps you will take to improve performance?
Answer / Akanksha Chauhan
To improve the performance of ADO.NET applications, you can follow these steps: 1) Use parameters instead of string concatenation to prevent SQL injection attacks and improve query performance. 2) Use CommandBehavior.SequentialAccess when dealing with large amounts of data to read data in chunks instead of all at once. 3) Use typed datasets or DataTables instead of untyped datasets for better performance and type safety. 4) Avoid unnecessary round trips to the database by using caching strategies like Query Notification and DataSet Caching. 5) Optimize SQL queries by using indexes, joining tables efficiently, and reducing the number of subqueries.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is basic use of data view?
What is untyped dataset?
Describe datareader object of ado.net with example.
What are the different layers of ado.net?
what is the criteria of selection in sbi interview?
1 Answers BCS, State Bank Of India SBI,
ADO and ADO.NET differences?
What are the data access namespaces in .NET?
Difference between OLEDB Provider and SqlClient ?
What are typed and untyped dataset?
What is ado object model?
What is the provider and namespaces being used to access oracle database?
What are the two fundamental objects in ADO.NET?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)