Question - Describe use of error pages in ASP.NET.
Answer -
Error pages are used when exceptions are outside the scope of the application
and the application can’t respond directly to these exceptions. These types of
exceptions are identified by HTTP response codes, which IIS can respond to by
displaying custom error pages listed in your application’s Web.config file.
Question - Explain tracing in ASP.NET.
Answer
- Tracing records unusual events while an application is running.
It helps in observing problems during testing and after deployment. An
application can write a message in case of unusual events to the trace log
using Trace class.
Question - What is the use of
ComVisible attribute?
Answer
- ComVisible attribute is used to select which public
.NET classes and members are visible to COM.
Question - Define Windows and
Forms authentication.
Answer
- Windows authentication is the default
authentication method of the ASP.NET application. It uses
security scheme of windows operating system of corporate
network. Windows authentication uses user names, passwords,
and permissions of network resources and Web applications.
User lists for Windows authentication are included in the
element of Web.config. Form authentication
allows creating own database of users in the application’s
Web.config file or in a separate user database and validate
the identity of the users when they visit Web site. Users do
not have to be member of a domain-based network to have access
to your application.
Question - What is Secure Sockets
Layer (SSL) security?
Answer
- SSL protects data exchanged between a client and an
ASP.NET application by encrypting the data before it is sent
across the internet.
Question - Why is the Machine.config file?
Answer
- The Machine.config file controls issue like process
recycling, number of request queue limits, and what interval
to check if user is connected.
Question - Explain how to
distribute shared components as part of an installation
program?
Answer
- Shared components should be included as a merge
module within the setup project. Merge modules can’t be
installed by themselves. They can be installed only as part of
an application installation.
Question - Define Unit testing,
Integration testing, Regression testing.
Answer
- Unit testing ensures that each piece of code works
correctly. Integration testing ensures each module work
together without errors. Regression test ensures new code
did not break previously working code.
Question - Define HTML and XML.
Answer
- HTML: It has predefined elements names
'<h1>', '<b>' etc XML: You
can create your own elements with syntax much stricter than
HTML.
Part 1 | Part 2 | Part 3 | Part 4 | part
5
|