Discuss about imperative
and declarative security.
Latest answer: Imperative security: security requests are made
in the form of lines of code within a method body.Basically an instance of
permission object is created that needs to be invoked.................
Read
answer
Latest answer: Steps: • Add a new web project • Add a new item
to the project “crystal report” ................
Read
answer
Latest answer: a. create and initialize a control.
b. provide an id to the control.
c. add the control to the page's control collection................
Read answer
Latest answer: Add name space using
system.configuration.................
Read answer
Latest answer: Side by side execution refers to
running/execution of different versions of the same assembly at the same time
on the same machine. It gives us more control over the versioning of the
assembly.................
Read
answer
Latest answer: One should create a resource only assembly if
you need to update the resources frequently without recompiling the whole
solution..............
Read
answer
Latest answer: Use ResourceManager class to retrieve resources
that exist in an assembly. Steps to do so are:
a. Create a reference to the assembly that has the resources.
b. Create an instance of ResourceManager...................
Read answer
Latest answer: There are many ways:
a. Using Gacutil.exe:eg: gacutil -i MyLibrary.dll
b. Using Microsoft Windows installer 2.0...............
Read
answer
Latest answer: Managed code not always is slower than unmanaged
code. In managed code, the CLR does some optimization for the way
loops.................
Read answer
Latest answer: step into, step over, step out..................
Read
answer
Latest answer: With DataView, you can expose the data in a
table with different sort orders, and you can filter the data by row state or
based on a filter expression................
Read answer
Latest answer: A Dataset may contain multiple tables. The
DataViewManager is a single object that manages all the DataViews. It can be
used to view settings for all the tables in a DataSet.................
Read answer
Latest answer: Click start->run and type perfmon to run
performance monitor.
Select system monitor in the tree
Click view report
Click Add button , under performance object select ASP.Net object to
track..............
Read
answer
<configuration><system.diagnostics><switches><add
name="DataMessagesSwitch" value="0" />...............
Read
answer
Latest answer: Addhandler associates an event with its handler
at runtime..............
Read
answer
Latest answer: Application use locale to identify the language
and country of the user. E.g.: for English speaking US based user it would be
“en-US”. The locale also has the information for datetime, currency etc
formats. ..............
Read answer
Latest answer: Let Menu1 be the menu.
MenuItem item1=new MenuItem();
Item1.Text=”item1”;.........
Read
answer
Latest answer: Me.CloneMenu(sourceMenu)...........
Read
answer
Latest answer: SystemExceptions are thrown by the CLR and are
of more generic nature, whereas, ApplicationExceptions are thrown by
Applications..................
Read answer
Latest answer: Ngen is a toll to improve performance of managed
applications. It creates native images containing processor specific machine
code.................
Read
answer
Latest answer: Form level validation occurs once the user is
ready to submit the form. The application checks the complete form at once and
validates all the fields in it and informs the user about it.................
Read answer
|