|
Exceptions or errors are unusual occurrences that happen
within the logic of an application...............
Read answer
What
are the ways of handling exceptions in ASP.NET?
There are three ways to handle exceptions in ASP.NET
Try/catch/finally block..............
Read answer
Explain Try/catch
block of exception handling.
You can enclose code in Try/Catch/Finally block. You can catch
all exceptions in the catch block..............
Read answer
Define Error Events.
ASP.NET supports events that occur when any unhandled
exception occurs in an application. These events are called as Error
Events.............. Read
answer
Define Custom
Error Pages.
There are many errors that can’t be trapped in the application code like page
not found. To intercept this kind of error, ASP.NET supports Custom Error Pages
that can be specified at two places..............
Read answer
Why
is exception handling important for an application?
Exception handling is used to prevent application from being stuck due to
unusual occurrences. If the exceptions are handled properly, the application
will never get terminated abruptly..............
Read
answer
When can you use
tracing with exception handling?
You can use tracing with exception handling to log unanticipated exception to
the trace log. The log file can be used to diagnose unanticipated problems and
thus can be corrected..............
Read answer
<<Previous
Next>>
.NET
Code Security Interview questions with answers
What is code security? What are the types? | Define Principal
object. | Define declarative and imperative security. | Define role-based
security. | Explain code access security. | What is Code group? | Define the
use of Caspol.exe.
ASP.NET 2.0 Themes
One of the neat features of ASP.NET 2.0 is themes, which enable you to define
the appearance of a set of controls once and apply the appearance to your
entire web application............
.NET Debug
& Trace Interview questions with answers
What is break mode? What are the options to step through
code? | Debug Vs Trace. | Define trace class. Define Listeners collection of
Trace and Debug objects. | Define Trace Switches.
ASP.NET 2.0 Administration and
Management
One of the key goals of ASP.NET 2.0 is to ease the effort required to deploy,
manage, and operate ASP.NET web sites. To this end, ASP.NET 2.0 features a new
Configuration Management API that enables users to programmatically build
programs or scripts that create, read, and update configuration files such as
Web.config and machine.config.............
ASP.NET 2.0 Speed and Performance
As part of the performance improvements, ASP.NET 2.0 also enhances the caching
feature set by providing new functionalities...........
ASP.NET 2.0 Caching Feature
Caching is defined as temporary storage of data for faster retrieval on
subsequent requests. In ASP .NET 2.0, the caching support is integrated with
the DataSource controls to cache data in a web page. ASP.NET 2.0 also now
includes automatic database server cache invalidation............
Understanding AJAX
AJAX is an acronym for Asynchronous JavaScript and XML. If you think it doesn't
say much, we agree. Simply put, AJAX can be read "empowered JavaScript",
because it essentially offers a technique for client-side JavaScript to make
background server calls and retrieve additional data as needed, updating
certain portions of the page without causing full page reloads.............
What is AppSetting Section in
“Web.Config” file?
AppSetting section is used to set the user defined values. For e.g.: The
ConnectionString which is used through out the project for database
connection.........
Difference between
Server.Transfer and response.Redirect.
Following are the major differences between Server.Transfer and
response.Redirect.....
Difference
between authentication and authorization.
Authentication is the process of verifying the identity of a user.......
|