Q. What is the purpose of
Manifest file. What are all its contents?
It gives the
Information about the Assembly, such as Assembly Name, version, External
Resources required for this Assembly.
Q. How will you share
your assembly, so that others can make use of it?
By deploying the Assembly in GAC.
Q. How can I use the
assembly present in GAC?
By Refering that Assembly.
Q. Can I see the assembly code in the
assembly? Diff types of assembly
Using Ildasm Utility we can see
the Assembly Code.
Q. Is there any
performance difference between C# and vb.Net?
No difference. Comparetively C# is
faster.
Q. what are types of
authentication given in .Net?
Windows :
Forms :
Passport :
Q. Can I deploy .Net
components in MTS?
No
Q. Whether MTS is
necessary for .Net components,In which situations, we need to deploy our .net
components in MTS?
Not Needed
Q. What are types of
authentications found in IIS ?
Anonymous: Allow All users
Basic : Username and Passwords are transmitted
across the network without encryption.
Digest :
Integrated Windows:
Q. Explain the SDLC
cycles. Which phase is more important?
Answer:
Requirements Analysis and gathering
Design (HLD and LLD)
Coding
Testing
Acceptance and Implementation
All the Phases are equally
Important when develping an system but Requirements Analysis is a bit
crucial in the process.
Q. What are types of
models we use for development?
1,WaterFall
2.Modified waterFall
3.Spiral
4,RAD
5.V Model
Q. What are types of
built-in security authentications available in .Net?
Answer:
1.Windows Authentication
2.Forms Authentication
3.Passport
Authentication
Q. Difference between com
and DLL?
Answer:
Com
is a set of specfication or guidelines for developing resuabled components for
microsoft platform.
It
also provides set of services in the form of Common Object Library.
DLL
is Reusable piece of Code.
Q. In .Net,a=0,b=0 what
will happen if i say a/b
Answer:
Arithmetic OverFlow Exception will occur.
Q. How session variable
can be blocked for changes, with in the single page ?
In .Net:
Using page directive EnableSessionState=ReadOnly
Q. what is purpose of
server.Mappath?
To get Physical path of the Application
Q. What is Global.asa?
- Common file used in web applications for Declaring Application Level
Variables
- Session level events and
applcation level Events can also be
declared.
Q. How web.Config file differs from
Global.asax?
Answer:
In Web.config
- We
can specify the Application settings
- we can specify
how sessions can be handled for that application.
Global.asax file can be used to specifiy session and Application event
handler.
Q. Explain difference
between class and structure?
Structure is a Value Type and Class is Reference Type.
Q. What is boxing and
unboxing?
Answer:
Boxing is the Process of converting the Value type to Refernce Type.
For Example ,
Dim i as integer = 100
Dim Myobj as object
Myobj = i
UnBoxing is the Process of Converting the Refernce Type to Value
Type.
Q. write code for
databinding you have to bind data from the db to the datagrid?
Dim da as sqlDataAdapter
Dim ds as dataset
Dim strsql as string
strSQL = " select colum1,column2
from BAP_users where Active_flag='Y' "
con.open()
da = new
sqlDataAdapter(strsql,con)
Dim ds as new dataset
da.fill(ds,"users")
mydatagrid.datasource = ds
mydatagrid.databind()
Q. How to associate .aspx
file and .cs file.Here which class is inheriting from which class?
.aspx is inheriting form .cs file.
Code Behind is inherited from Page Class
Q. why can't we use
MSAccess instead of Oracle and SQL server?
Not Supporting the Stored Procedures and Triggers.
Not Secured.
Q. How many types of
command objects are there in
.Net?
Answer:
3 Types .
1.ExecuteScalar - Will return the first column of the first result sets.
2.ExecuteNonQuery - Used for
DML Commands such as Insert , Update and Delete and Will not Return any Value
3.ExecuteReader - Will return a Refernce to the DataReader Object
Q. What will be the
connection string if you use windows integrated authentication/
Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False;Initial Catalog=dbname;Data
Source=servername
SSPI=SecurityServiceProviderInterface
Q. what are the types of
constructors available for DataAdapter?
4 Types
1. No Arguments
2.Command Object
3.Sql , Con object
4.Sql, con string
Q. When the
Garbagecollector will do the Collection?
GC is a Low priority Thread Running.
When the Systems Process Memory come low this will become High Priority
and Starts Removing the Objects.
Q. How GarbageCollector
knows about the unscaped objects?
Based on Algorithm.
Recently used Objects
Least used Objects.
Q. what are all the
Different steps involved in deploying a assembly in GAC ?
1. Creating a
strong Name using SN.exe
2. Give that name in Assemblyinfo files
AssemblyKeyfilename attribute
3. using
gacutil utility place the Assembly in the GAC
Q. Can multiple versions of a assembly reside in the GAC ? if so how
it is possible ?
Q. what is CLR? What its roles
?
Q. What is CTS
?
Q. What CLS ?
Q. Can you use a COM
component developed in VB in .NET ?
Q. About CCR and RCR (Com
callable wrapper and Runtime Callable Wrapper)
Q. What is DOT NET
Framework?
Q. What is MSIL?
Q. What is JIT? What it
does?
Q. An Component is
developed using C#.NeT can it be used with an application developed with
VB.NET?
Q. what is .NET Remoting?
Q. what is tracing ?
Q. Some namespaces in
.NET
Q.
what is reflection?
|