Dotnet Interview Questions Part VI

October 30, 2009

 

Keane India

 

  1. Biztalk

What are functoids ? String functoids, Value functoids

 

  1. Runtime Polymorphism

(or Overloading or Late Binding)

 

       Eg: int function1(int a, int b)

              int function1(float a,float b)

              int function1(int a, int b,int c)

              float function1(int a , int b)

 

  1. What is function overriding?

 

  1. Difference between interface and abstract?

 

  1. Give example for Self Join?

 

 

6.

Employee

EmpId DeptId EmpName
1 1 Emp1
2 1 Emp2
3 2 Emp3
4 2 Emp4
5 2 Emp5
6 2 Emp6

 

 

Department

DeptId DeptName
1 CSE
2 MECH

 

Required Result should appear like the below:

 

DeptId DeptName NumberOfEmployees
1 CSE 2
2 MECH 4

 

Ans:

Select Emp.DeptId, Dept.DeptName, Count(*) As NumberOfEmployees from

Employee Emp inner join Department Dept

On Emp.DeptId = Dept.DeptId

Group by Emp.DeptId, Dept.DeptName

 

 

7.

Department (Master table)

DeptId DeptName
1 CSE
2 MECH

 

Employee (Child Table)

EmpId EmployeeName DeptId
1 Emp1 Null
2 Emp2 Null

 

Can we insert null value in deptid column in Employee table (child table)?

 

Ans : Yes (doubt)

 

8.

 

Employee table : Here EmployeeName has unique constraint

EmpId EmployeeName
1 Emp1
2 Emp2

 

Can we insert a null value for EmployeeName 2 times simultaneously like:

 

Insert into Employee values(3,null)

   … Success

Insert into Employee values(4,null)

   … Failure

Insert into Employee values(5,’’)

  ..Success

Insert into Employee values(6,’’)

   ..Failure

 

 

 

RealSoft Inc. Bangalore

 

  1. Asp.net Caching

 

         Types:

            a. Output (Page)

  1.  
    1.  Fragment
    2. Data

 

 

  1. How values can be maintained in cross paging

Ans: Get,Post,cache, Application variable, Sessionss

 

  1. What are delegates ? Different types? How to create and when to use them?

 

  1. What are custom controls and user controls in Asp.Net

 

Custom Controls have these methods: CreateChildNode(), Render()

UserControls have RaiseEvent() method

 

UserControl Custom Control

 

Will be included in Toolbox framework

 

Can be used in any project

 

5.What are the methods of webparts?

   CreateChildControls, render

 

   What are the controls that are present in Toolbox for Webpart?

   WebPartManager, WebPart Zone etc..

 

   How to debug and deploy a webpart

 

  1. Different UML diagrams

     Ans:Class Diagrams, Sequence Diagrams

 

  1. Xml

 

  1. WebServices

 

  1. Difference b/w Sqlserver 2000 and 2005

 

  1. What are the methods in Ado.net DataView?

Ans: sorting, finding records by using RowFilter

 

10.If we made any modifications in  a dataset then what is the method ?

Ans : Update

How many operations are performed ?

Ans: Only the updated records

If  new records are inserted then how it effects?

 

  1. Different types of css styles

Ans:

  1. page level

<script>

 Function cssfunction()

{

Font: bold;

Sixe: 10;

}

<form>

 

<input type = text class= cssfunction()></input>

</form>

 

2nd Type:

 

In Form2.css we have defined all functions of css

And in Form3.aspx we are using these functions by using link tag

 

Form3

……….

<link href=form2.css >

<script>

 

 

</script>

<form>

 

</form>

 

3rd  Type : Control Level

 

<input type = “text” class = font:bold/>


Interview Questions Part V

October 26, 2009
Genesys
——–
 
SharePoint
………….
 
1. How you loop through SPList and SpDocumentLibrary . Give code snippets
 Ans : SPSite, SPWeb, SPList,SPQuery
         foreach(ListItemCollection item in ListItems)
         {
 
 
          }
 
2. Default database for Sharepoint
 
3. Differences b/w wss and Portal Server Moss
 
4. Deployment of WebPart
 
5. In Asp.Net how to create webparts
 
6. What is the use of STSADM
 
7.  Extension of webpart Ans: .dwp  
 
8.  Base class of WebPart
 
9.  2 textboxes are there . I want to add the values of the textboxes and display the result. What is the best approach? Ans: Go for javascript client side
 
10. Can  a clustered index be created on a table that does nt have primary key
   Ans: Yes (doubt)
 
11. New concepts in SqlServer 2005
 
Ans : Service Broker
SSIS is called DTS
What are analysis services
Notification Services
MARS
XML datatype
PIVOT , UNPIVOT
Try Catch
QPath
 
 
12. How error handling is done in aspx page
ans: a. use try catch
        b. use web.config, global.asax .there you can find events for error handling (Application_Error)
 
13. Caching.
 
14. Private , Shared  and Satellite Assemblies
 
15. What is Server Farm in SharePoint
 
    Server Farm = Web farm in dotnet . Used for load balancing
 
Genesys II nd Round
———————-
 
1. Ado.net architecture
2. Difference b/w Dataset and Datareader
3. What is the return value for the following :
 
      a. ExecuteReader    … . Reader
      b. ExecuteScalar     …. first row first column value
      c. ExecuteNonQuery …. Integer type, no. of rows affected
 
4. Default session TimeOut value in Asp.net
 Ans : 20 mins
How to avoid session timeout even after 20 mins. ie how to keep session alive
Ans : Meta Tag
<HTTP Equiv-Meta = >
 
5.  Where ViewState is stored
 
6.   How many viewstates can be created when 10 webcontrols are placed in a form?
Ans: Only one for all 10 webcontrols
 
7.  If the size of the contents in ViewState is increased then values will be truncated in ViewState .How to increase the size of ViewState?
Ans: Increase Page Limit in Page Directive
 
8.Two simultaneous updations are going on a record in Dotnet. How to rectify?
Ans: Use Transactions
9. Ado.Net DataRelation Syntax
Ans:  datarelation(“drname”, dataset1.columnname, dataset2.columnname)
 
10. After getting data into dataset if five records are updated then how to reflect these changes into databases also?
Ans: Use AcceptChanges
 
11. Methods of DataSet and DataAdapter
What is the method that is  used to insert one new record ?
 
Genesys III rd Round
——————
1. In Form tag in aspx page what is the default submission method? (Get or Post)?
 
2. What is ServiceContract in WCF?
 
3. How to create proxy class using SVCUtility?
 
4. If you are writing your own webservice then WSDL will be created?
 
5. Temportary Tables in RAM
 
@@  global variables :  @@Error, @@RowCount
@  local variables
# Temporary Table
 
6. Two sps having a temporary table with the same name.So it must be dropped in SP explicitly ,otherwise conflicts occurs
 
7 . Ajax
 
Two datagrids are there in web page. One is normal one and other is ajax datagrid.
Ans: Ajax DataGrid used partial rendering
 
8. What is GET and POST
 
9. Diff b/w Interface and Abstract class
 
10. FullText search(also SQL Search) and WildCard character Search
 
11. How to create UserDefined Functions (UDF) in Sqlserver
 
Infosys
———-
 
1. Types of testing : WhiteBox, BlackBox
2.  How to debug asp.net applications
3. Which object model you are using in Sharepoint
4. What is Polymorphism
5. Ado.Net objects
6. How to call stored procedure in Ado.net
 Ans: Command.Type = “Stored Procedure”
        Command.Text = “sp name”
 
 
 
 

.Net Interview Questions Part IV

October 25, 2009

TCS Mumbai

—————-

  1. Locks
  2. Concurrency
  3. Error handling in Sql server 

      @@Rowcount , @@Error

  1. Error handling in .Net
  2. How to pass parameters in stored procedures

     IN , OUT parameters

  1. create proc sp_nam( @a1 IN, @a1 OUT)

     Can we used the same parameter name as input and output.?

  1. Can we configure the Server of our application with 2 different versions of      

     Asp.net

  1. What is Polymorphism?
  2. In function overloading can we  write as below:

 

  i. functionname(int a1)

         samefunctionname(float a1)

      ii. function(int a1)

          samefunction(int a1,int b1)

 

  1. Can we remove global.asax file from our application?
  2. What is the use of global.asax file
  3. What are the events in global.asax file
  4. Can we have more than 2 machine.config files in IIS servers?

Can we install 2 IIS versions in one system?

  1.  what is the use of web.config and machine.config files? What is the difference between these 2 files?
  2. What is the difference between HTML server control and Web Server control?
  3. Say something about Datagrid? What is the use of Bound Columns? We gave AutoGenerateColumns = True and we have 3 BoundColumns out of 5 columns. How many columns are displayed in the grid? Ans: 5
  4.  What is the use of autogenerate columns?
  5. Which one is better DataReader/DataSet in terms of performance?
  6.  Can we pass null values to stored procedures?
  7.  Difference b/w Order BY and GROUP BY in SQL?
  8. How to submit one page information to another? Which methods are used? Ans: POST and GET 

POST  : Request.Form

GET :    Request.QueryString

 

If we are using Request then what is the default method it takes?

Ans : QueryString (doubt)

  1. Difference b/w Response.Redirect and Server.Transfer?

Ans:

  1. Can we connect 2 different databases of Sqlserver to our application? How to connect?
  2. Can we connect oracle and sqlserver at the same time?
  3. In web.config  <errors mode=Debug ,none,remote
  4. In web.config <trace  mode = verbose, none
  5. In web.config <sessionstate mode=sqlserver , stateserver inproc,outproc,stateserver
  6. How to debug javascript function in frontend?  Ans: IE -> Tools -> Internet Options-> Advanced ->Uncheck  “Disable Script Debugging (IE)” and “Disable Script Debugging (others)”.
  7.  <Compilation debug = true / false > ie Debug and Release.

In terms of performance which one is better? Ans: In the application itself we have bin folder. In Debug mode dll size is more and release mode dll is small.

Use Release mode in production as it removes breakpoints and dll size is less.

  1.  What is viewstate?
  2.  Can we write nested try catch blocks?

           we can write n number of catch blocks for a single try block. If errors occurs  

            only the related catch executes.

  1.  Can we compare two dates in Asp.net? How?  Which control to use?  Eg: RegularExpression validator.  Don’t use Comparevalidator control (it is for string,int)
  2. Repeater control
  3. What do you know XML?
  4. Diff b/w custom controls and user controls
  5. Diff b/w Stored Procedure and function
  6. select * from functionname …….. Can we write like this if the function is returning some table. Ans : Yes .
  7. What are table valued, scalar valued functions.. Diff functions in Sqlserver
  8. How do u execute Scalar Valued and table Valued functions in Sqlserver

Ans : select * from fucntionname …. (Table Valued function .. It returns table)

           Exec function functionname   .. (Scalar valued function .. It returns single value)

 

 

Gujarat Ahmedabad company

  1. How to provide pagination in Datagrid? Ans: AllowPaging = true ..Event(PageIndexChanged) to be written in codebehind.
  2. DBCC commands
  3. Viewstate . How they implemented ? Ans : Hidden value

       It is specific to the page

       What is the difference between ViewState and Hidden Values. 

  1. Sql Profiler
  2. What are views? Security

Read Only Views

If we change any value in view will it effect the backend table?

  1. What are Cursors? Types of Cursors?
  2. What is Stored Procedure? Give an example?
  3. How to submit one page information to another?

Session , Cache, QueryString, Cross Page post back

Get Post

  1. What are directives in Asp.net?   Different directives?

10.  Difference b/w Response.Redirect/ Server.Execute and Server.Transfer?

11.  What are joins? Types of Joins?

12.  Does C# supports multiple inheritance?

13.  What is an interface?

14.  Difference b/w interface and abstract class?

15.  What is a webservice?

16.  What is the formatting protocol used in Webservices ? Ans: SOAP

17.  Which one of the following is used in Webservices  – DataReader / DataSet/DataList    Ans: DataSet

18.  What is the difference b/w function overloading/ overriding?

19.  What is the difference b/w system.string and system.stringbuilder

Mutable .. immutable

20.  Difference b/w System.Int32 and int?

21.  Difference b/w String and string

22.  C# access modifiers

23.  What is normalization ? Different types of normalizations ?  Give examples?

24.  What is Denormalization? Why and when to denormalize?

25.  Dotnet features?

26.  Dotnet assemblies and types of assemblies

27.  What is the transmission protocol used in webservices ? Ans: HTTP

28.  What are the differences b/w ASP and ASP.Net?

29.  What is ADO.NET

30.  How many languages supports .Net?

 

INDPRO  (9/9/2006)

 

  1. What are SqlCommand objects methods? What is the difference b/w ExecuteNonQuery and ExecuteScalar?
  2. What is the diff b/w DataRepeater and DataList?
  3. What is the diff b/w Container.DataBind , Eval, Bind

Ans:  Eval for formatting the data like date format

           Bind directly binds and displays the db data as  it is.

  1. What is the diff b/w Array and ArrayList
  2. Difference b/w Hash Table and ArrayList
  3.  What are Enumerations , Collections
  4. For raising an event of a control (which is present in usercontrol) where to write the code ( In usercontrol or webform)
  5. Page Life Cycle Events
  6. Mention Application and Sessions events of Global.asax

10.  When viewstate is loaded in  Page Life Cycle (Is it Init or Page Load)

11.   Template column in DataGrid? How hyperlink is used in Asp.net datagrid?

12.  What is the use of webserver controls

13.  Page Directives

  1. Diff b/w interface and Abstract  class
  2. What is viewstate and where it is stored
  3. Purpose of FXCOP
  4. What is unmanaged code? How CLR executes Unmanaged code
  5. Write a SP that returns the largest of two numbers

 

 

EMids Technologies Pvt Ltd

  1. In FXCOP can we define our own custom rules? How ?
  2. Diff b/w Sqlserver 2000 and 2005
  3. Equals method comes under {String} class

 

Tostring, Equals,GetHashCode , GetType .. default  methods of an Object

  1. What is the default base class for all classes  Ans: System.Object
  2. Base class for Asp.net pages
  3. Base class for Windows Forms
  4. What is the diff b/w Class and object? Real world example?
  5. Diff b/w HTML Server control and Web server control? What is the base class for these two controls? Can we convert HTML server control to webserver control?
  6. How to call javascript function?  Where we will write the code for calling the function

10.  There is an Employee table. What are the steps involved in populating the datagrid with this table

Employee IDs from 1 to 5000 are there. Without changing the query in the above example fill the datagrid with values Empid < 100

Ans: Use Dataview for filtering the records in dataset

11.  Diff b/w Stored Procedure and function

12.  What are the parameters of SP ? What is the default parameter in SP. Ans: In,Out, INOUT and default is IN

13.  Two textboxes and submit button is there. Which validation control in Asp.net to be used to validate those textboxes. What are the properties to be set in validation controls? Ans: ControlToValidate and ErrorMessage

Without using validation controls how to validate the above things.Any properties are there.? How to validate controls through coding

 

 

FCG (5/12/2006)

  1. Diff b/w Interface and Abstract class? When to use these ?
  2. What is an Assembly
  3. Diff b/w custom and user controls
  4. Diff b/w DataSet and DataReader
  5. Diff b/w DataSet and DataTable
  6. Diff b/w Overloading and Overriding with example codes
  7. What is runtime polymorphism  and compile time polymorphism
  8. What is Static Binding, Dynamic Binding
  9. What is Late and Early Binding

10.  What are the different ways of using NEW operator

11.  What is AS,IS in C#

Ans: AS is for type casting

    IS is for comparing objects

12.  What are Transactions in Sqlserver and in ADO.Net

13.  What are ACID properties?

14.  What are LOCKS. Diff Locks

15.  Concurrency

16.  Isolation levels

17.  Diff b/w Convert.ToString() and ToString()

18.  diff b/w ParseInt and int.Parse() and what is IsParseInt

19.  If two developers are updating data into the same dataset then how the dataset will update the data

20.  What is Biztalk Orchestration?

21.   How to use the webservice to get the document from Document Library in SharePoint

22.  Want to give some permissions to the documents in the document library so that users can see only particular documents. How to achieve this?

23.  What is base class for ASP.Net Page ? Ans: System.Web.UI.Page

24.  System.Object – >  a. GetType

                                b. GetHashCode

                                c. ToString

                                 d. Equals

25.   Types of Polymorphism?

26.  Types of Caching and with example code

27.  Session Management

28.  What are the conditions to use INPROC/OutProc

          InProc …. When we want to work with only one webserver

          OutProc…. When we have multiple webservers

29.  NUNIT, FXCOP . Write unit test cases in NUNIT

30.  C# access specifiers. What is default Access Specifier Ans: Public

31.  Diff b/w internal and Protected Internal

32.  What are Out and Ref parameters in C#

         For out no need to initialize , Ref needs initialization

33.  What is Call By Value and Call By Reference

34.  Specify default base classes for following controls

Control Name Base Class
WebControls System.Web.UI.WebControls
HTML Controls System.Web.UI.HTMLControls
Class System.object
Form System.Windows.Form
Asp.Net page System.Web.UI.Page
Asp.Net WebPart System.Web.UI.WebControls.WebPart

35.  What is Implicit Type Conversion

Ans: Converts smaller datatype to higher datatype

36.  What is Garbage Collection

In C# explain

What are the namespaces

GC.Collect

Different Periods in GC

37.  How to use these tools

 

NCOVER – Code Coverage

NUNIT  – Unit Testing tool

FXCOP – Code Analysis Tool

NTYPE
NDOC

NANT – deployment scripting tool

 

 

IBS(24/12/2006)

 

  1. What is the use of FileUpload Control? Default file size: 4 MB.Cane we increase the     default file size?

Ans: Yes by using MaxRequestLimit

  1. What is transaction? Ans: Process following ACID rules
  2. When to use interface?Can we overwrite virtual functions? How multiple inheritance is possible in C#?
  3. function overloading is early binding,function overriding is late binding
  4. Diff  b/w XML Serialization & binary serialization.

Ans: XML Serialization – Webservices

         SOAP Serialization for Remoting

  1. How to refresh an aspx page automatically. Ans : by using meta tag
  2. Is clustered index created automatically? Ans: when we are create primary key on a table.
  3. Diff b/w dispose and finalize?
  4. Diff b/w Web services and Remoting

10.  what is a delegate? what are event delegates?

11.  How to avoid SQL Injection?

 

 

US Technologies

 

  1. Diff b/w interface and abstract class? Can we create an instance for abstract class?
  2. How to create a web part and how to place the web part in Share point portal?
  3. How to GAC the dll? What happens when we GAC a DLL? Where the DLL is stored?
  4. What is the use of stored procedure? What happens when a SP is compiled?
  5. Types of Joins. Ans: Inner Join, Left Outer Join, Right Outer Join, full join Cross Join, Self Join.
  6. Use of Createchildcontrols and RenderContents methods of web part creation
  7. Bubbling Events

8.   What is the namespace that is used for sending email?


Interview questions – Part III

October 18, 2009
 

Sql Server:
 
  1. what are pseudo tables?
  2. what are temporaray tables? what is the use of temporary tables? create table #temptable
  3. what are local and global variables? how to declare them? local variables – @, global variables – @@ temporary variables – #
 
Digimaker:
 
  1. What are structures?
  2. what are properties?how to declare properties(more no.of questions)?
  3. what is a sealed class?
  4. how to declare a switch statement?
  5. ASP.NET access modifiers?
  6. Differences between ASP and APS.NET
  7. what is the use of Autoevent wireup property of page directive and what is its default value?
  8. If datagrid page size =15 then what is the value of viewstate? – 15
  9. enum e1:uint   { 
        top:
        bottom 
        left: 30
        right              }    Explanation: Inheritance is used, not accepts -ve value
   10. interface declaration?
   11. State management variables?
   12. Session state mode= inproc,outproc,sqlserverstate
   13. asp.net worker process – aspnet_wp
   14. C# access modifiers
  
 
 
GrayMatter Technologies(Mumbai):
 
 
  1. How did you rate yourself in C#,Asp.NET,Sql Server(common question)?
  2. what are your experiences/strengths & weaknesses while coding?(common question)?
  3. what is indexing in SQl Server?
  4. what is lock encapsulation?
  5. what is multiple inheritance is there in C# or not?
  6. what is interface?
  7. what is your role in the company?(common question)?
  8. what is connection pooling?
  9. what is app domain?
  10. what is Application life cycle?
  11. Difference between System.string and system.stringbulider?
  12. how to inherit the class?
 
 
  1. When serialization is used?
  2. Difference between finalize/dispose methods?
  3. what is boxing and unboxing?
 
DTLC Commands: Commit,Rollback,Savepoint
DCLC Commands: Grant,Revoke
 
MindTree:
 
  1. What is Assembly?Types?
  2. .NET framework?
  3. can we execute one sp in another sp?- one sp is returning one data table and another sp is returning datatable.Then in the front end can we get the data of both the tables?
  4. what is VSS? how linking can takes place?
  5. In VSS, how multiple users work?how to create baseline?
  6. In VSS,if 2 users checked in the files with same ID from  different locations,how to configure this environment in VSS?
  7. what is Microsoft  visio? Microsoft Project Plan?
  8. Create a procedure that is taking a1,a2 as input values and a3 as output value.How to use this output parameter in .NET? Sqlparameter.Outputdirection
  9. Default hidden variable in ASP.NET – ViewState
  10. What is a stored procedure? when will it be used?
  11. Write a property in C#.Can we call a property of one class from another class if property is declared as private.
  12. what are the access modifiers in .NET? – private,protected,public,protected internal and Internal?
  13. Factorial program using recursion?
  14. IIS Authentication modes?
  15. Difference between Basic and anonymous users?
  16. what is satellite assembly?
  17. What is candidate key,composite key differences?
  18. what is the difference primary key and unique key?
  19. without web.config ,global.asax etc can we run the application? – Yes
 
 
Two Connect -Benny Mathew:
 
  1. What is protected internal modifier?
  2. Explain the garbage collection concept in C#
  3. what is the use of virtual keyword concept in C#?
  4. what is APP Domain?
  5. what is Remoting – (Marshal By Ref and Marshal By Value)
  6. what is web service?
  7. Using keyword  that comes in coding
  8. .NET framework – CLR?
  9. what is debug & Trace?
  10. Authentication Types?
  11. In C# how to convert string to an int type
  12. Server.Transfer ,Response.Redirect,Server.Execute?
 
 
Chennai- Rashmi – GI:
 
  1. XML,Webservices
  2. What is localization and globalization?
  3. what is composite key? – 2 or 3 columns(primary key) used to identify a unique record   (1 composite key in a table)
  4. what is the use of ExecuteScalar?  what it returns?
  5. what is shared assembly?
  6. what is boxing and unboxing?
  7. what is implicit and explicit type conversions?
  8. when will we use interfaces & abstract classes?
  9. what is polymorphism? types
  10. WHAT ARE THE TYPES OF CACHING?
  11. what is viewstate?
  12. difference between data reader,data adapter which one is connection oriented?
  13. what are the steps that are used to make the assembly satellite?
  14. Difference between Response.Redirect and Server.Transfer?
 
Candidate Key:  – a table can have more than 1 combination of columns that could uniquely identify the rows/records in a table
                             – 2,3 columns but need not be primary keys
                             – any no. of candidate keys on a table
Alternate keys : –  All candidate keys except composite key.
                               –  A candidate key is a composite key
 
C# 2.0 
 
IS keyword:  comparing two objects
AS keyword:  typecasting
                   If not typecasted it will return null instead of an exception.If we use parseint if not typecasted then it will return exception
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dotnet Interview Questions 2

October 11, 2009
    1. Global.asax Events
    2. What are Enumerators? Iterators? Indexers? Array Lists? Hash tables?
    3. Difference between System.Copy.Array () and System. Clone ()?
    4. What is serialization? Difference types of serialization? How they will be related to above question?
    5. Difference types of cursors?
    6. Deterministic and Nondeterministic destruction?
    7. ASP.NET page life cycle
    8. Datagrid events
    9. Types of triggers
      • After
      • Before
      • Insteadof
    10. Types of cursors.
      • Forward Only
      • Static
      • KeySet
      • Dynamic
    11. Types of Stored procedures
    •  
      • Extended Stored procedures
      • User defined stored procedures
            12.    Initial Catalog – Database name   Data Source – Server Name
            13.    <Sessionstate mode=
  •  
    •  
      • ”inproc” (within the same aspnet_wp process)
      • “SQLServer” (db tables)
      • “Stateserver” (aspnet_state.exe our application is in one process and state  management variables(i.e. application session variables) in another process .Both will communicate with TPC/IP)
           14.     What is impersonation?
           15.     Authorization tag syntax in web.config?
           16.     What are cookieless sessions and persistent sessions?
           17.     What is SQL Injection
          
 
 
         
 JavaStream  Technologies
 
  1. Difference between web.config and machine.config?what is the main use of these files?
  2. What is caching? Types
  3.  Difference between Dataset and Datareader? Internal architecture? when and in which scenarios they will be used?
  4. 3 tier architecture.why it is preferrable than single tier architecture?Ans: Reusable class files
  5. Hidden variables,State variables?
  6. Session objects and application objects
  7. Access specifiers in C#
  8. Stored procedure use:
  9. Web services
  10. Triggers
  11. IIS Architecture : How IIS interacts with ASP page?
  12. ASP objects – Session,Response,Request,
  13. Response.Redirect,Server.Transfer,Server.Execute?
  14. Request.Querystring – Get and post methods
  15. Datagrid page index,db connections
  16. Data repeater
  17. How to do validations  in Javascript?
  18. C# collections
  19. In sql server u have an o/p parameter then how to get that in front end?- output direction
  20. Oops concepts
  21. .NET security
  22. DTO collections
 
 
 
 

Microsoft .Net Interview questions Part I

September 14, 2009

1. global.asax events :  

Ans :  Application_Start

            Application_BeginRequest

            Application_EndRequest

          Application_Error

           Session_Start

          Session_End

 

2. Web.Config  :

3. Injection

4. Types of Stored Procedures

5. Extended SPs

6. SessionLess Cookies

7. Persistent Cookies

8. What are Enumerators, Iterators, Indexers,ArrayLists, HashTables

 HashTable is dictionary

 Iterators, Indexers, Enumerators are cursors

9. Difference between System.Copy.Array and System.Clone?

10. What is serialization? Different Types of Serialization? How they will be related to above question?

11. Different Types of Cursors?