Jun 3, 2010

Dotnet FAQ's

What is the difference between CLS and CTS and what are they.

3.            What is a NameSpace. Why do we need it.

4.            What is a GAC. And  where is the Location of GAC.  How do we register a dll in GAC?

5.            What is a GC (Garbage Collector). How it will work. How can we get back the object after GC collects?

6.            What is the Algorithm GC use?

7.            What is an App Domain? What is the use of it?

8.            What is a DLL HELL and How the .NET overcome it.

9.            What is a Cache and how can we Enable it.

10.          What is a Pragma Cache?

11.          What is the difference between Machine.Config file and Web.Config file?

12.          What are the Authentication modes and how the windows Authentication mode works.

13.          What is the NameSpace used for Windows Authentication

14.          What is the Authorization mode? How do we do the Authorization in .Net.

15.          Where we use the Authorization and what is the Name of the TAG is used for Authorization.

16.          What are the Unary operators?

17.          What are the difference between Execute Scalar and Execute Reader?

 

18.          What is a TableSpace in DB

 

19.          What are the difference between Stored Procedure and Function?

 

20.          What is the purpose of Re-compiled Stored Procedure and also Pre-Compiled Stored Procedure?

 

21.          How do we handle the Exceptions in the Stored Procedure?

 

22.          What is a Transaction and why do we need Transactions?

 

23.          How do we handle the transactions in .NET with Syntax?

 

24.          What is your Project Model

 

25.          Tell me about your current project Architecture

 

 

What are the new features of .NET 2005.

4.            How to Edit the Data in a Gridview control.

5.            What is the use of Object DataSource Control.

6.            Difference between the Object DataSource Control and SQLDatasource Control.

7.            What are Generics and Why do we requried to use Generics

8.            Difference between the Arrays and Arraylist. What is the most important advantages of Arraylist rather than Array.

9.            Assemblies. What are the steps to install the Shared Assemblies.

10.          State Management in ASP.NET what are the new State management features in ASP.NET 2.0

11.          What is the functionality of Caching. How to invalidate the Data in Caching without requesting the database.

12.          What is the Hidding concept.

13.          How to call the Base class constructor.

14.          How can we create the instance of the Abstract Class or Interface.

15.          We have a Base Class and Derived Class , how t o call the Derived class constructor.

16.          Differences between the Interface and Abstrct Class.

 

9 comments:

  1. Difference between GridView and DataGrid ?

    1.Code requires to handle the SortCommand event and rebind grid required.
    2.Code requires to handle the PageIndexChanged.
    3.Need extensive code for update operation on data.
    4.When compared to gridview less events supported.

    GridView..
    1.No code required.
    2.No code required for PageIndexChanged.
    3.Needs little code for update operation.
    4.GridView supports events fired before and after database updates

    ReplyDelete
  2. can we transfer data from one page to another page using viewstate if so how ?

    Page poster = this.PreviousPage;

    Then you can find any control from the previous page and
    read its state

    Label posterLabel =(Label)poster.findControl("myLabel");
    string lbl = posterLabel.Text;

    ReplyDelete
  3. for deploying windows appliation
    --------------------------------

    using clickonce deployment
    MAGEUI.exe
    Applicaion Manifest
    Deployment Manifest

    Best explanaion: http://www.codeproject.com/KB/dotnet/ClickOnce_Deployment.aspx

    ReplyDelete
  4. for deploying web applications
    ----------------------------------

    using XCOPY

    / E - This option copies directories, subdirectories, and files of the source argument, including empty ones.
    / K - This option allows you to retain all the existing file and folder attributes. When you use XCOPY to copy files or a directory tree structure, XCOPY strips off file attributes by default. For example, if a file had the read-only attribute set, that attribute would be lost after the file is copied. To retain the original attributes with the copied files, you must use the / K parameter.
    / R - This option overwrites files marked as read only.
    / O - This option preserves all security-related permission ACLs of the file and folders.
    / H - This option copies both hidden and system files.
    / I - This option tells XCOPY to assume that the destination is a directory and create it if it does not already exist





    usign set up and deploy
    ------------------------

    creates websetup1.msi file....

    ReplyDelete
  5. Validator controls in ASP.NET
    ============================

    Required Field Validator
    Compare Field Validator
    Range Validator Control
    Regular Expression Validator
    Validation Summary
    Custom Validator

    By using EnableClientScript=true, we can make a control to work on client side

    ReplyDelete
  6. Difference between cache and session ?
    How to return a file from WCF service ?
    How to maintaining error logs in sqlserver and .net ?
    5 ways to optimize an asp.net application ?
    interface vs abstract ?
    How to use SSL in .net ?
    where to store .snk file?

    ReplyDelete
  7. 1)Code for updating the database by entering the data into textboxes in
    aspx form?
    2)How do you handle errors in stored procedures?
    3)How did you implemented classes in your project?
    4)How did you implemented interfaces in your project?
    5)How did you call javascript from c#?
    6)Differences between 1.1 and 2.0 versions of .net?
    7)Caching types?
    8)Session state modes?
    9)what is the connection between IIS and client browser?
    How do they communicate?
    10)which session statemode u used in your current project?why?
    11)How did you handle exceptions in sql server?
    12)Two methos with same name in parent and inherited classes. If you create
    an objct of child which method will be invoked?
    13)Garbage colllector how it works in Background?

    ReplyDelete
  8. What is MVC ?

    Model - business and data layers
    View - Presentation layer or web page
    Controller - Code-behind file

    ReplyDelete