Page 292 - DCAP312_WEB_TECHNOLOGIES_II
P. 292
Web Technologies-II
Notes 10. The SqlDataSource control also has the EnableCaching property set to true, which results in
the SqlDataSource automatically caching the data retrieved by the …………………………….
(a) query command. (b) select command.
(c) insert command (d) None of these.
11. ASP.NET provides two types of caching that we can use to create ………………….. Web
applications.
(a) low-performance (b) high-performance
(c) static (d) None of these.
12. Performance profiling is a …………………….. activity because application performance
changes over time.
(a) space-dependent (b) space and time-dependent
(c) time-dependent (d) None of these.
13. The default Http Modules sit in the request pipeline and ……….. each and every request.
(a) compile (b) debug.
(c) intercept (d) None of these.
True or False
14. Caching in ASP.NET is a powerful feature that can decrease the performance of a Web
application.
(a) True (b) False
15. Performance profiling is a complicated process that requires developers to run through
repeated iterations of profiling and optimization.
(a) True (b) False
14.4 Summary
• We can enable debugging in ASP.NET page by writing the <%@Page debug= “True” %>
page directive at the top of the page.
• The SDK debugger that comes along with .NET SDK can be found in the Guidebook
directory.
• Just-In-Time debugging is another technique to debug a program that is started outside
of Visual Studio. If we have enabled Just-In-Time debugging, we can view a dialog box
when a crash occurs. Debugging a traditional ASP application generally involves placing
Response.
• ASP.NET is a web application framework developed by Microsoft to allow programmers to
build dynamic web sites and web applications. ASP.NET supports compiling applications
in a special debug mode that facilitates developer troubleshooting.
• The ASP.NET 3.5 Cache API was a revolutionary feature that provided capabilities such
as declarative output caching, programmatic output caching, and invalidation of cached
items when the contents of an XML file or another cached item change.
• ASP.NET 3.5 also provides a new control named Substitution, which we can use to inject
dynamic content in an otherwise cached Web page.
• The SqlDataSource control also has the EnableCaching property set to true, which results
in the SqlDataSource automatically caching the data retrieved by the SelectCommand.
286 LOVELY PROFESSIONAL UNIVERSITY