Can you please answer the following questions ?


Hi,

Good day. Please let me know answers for the following questions.

1) what do u mean by .NET framework?

2) what do u mean by an Assembly? what are different kinds of assemblies?

3) what do u mean by Garbage Collection?

4) what do u mean by Serialization?

5) what is the difference between global.asa and global.asax excluding events?

6) what is the difference between datareader and dataset?

7) which class do u use in .NET to make transaction with the database?

8) How do u comment in ASPX file?

9) WHAT ARE THE EVENTS IN Global.asax file?

10) What are class libraries that are used in an EMAIL ?


Advance ThanX for your time & patience. Waiting for reply...

Bye...
Cheers
Kishore

Comments

  • :
    : Hi,
    :
    : Good day. Please let me know answers for the following questions.
    :
    : 1) what do u mean by .NET framework?
    :
    : 2) what do u mean by an Assembly? what are different kinds of assemblies?
    :
    : 3) what do u mean by Garbage Collection?
    :
    : 4) what do u mean by Serialization?
    :
    : 5) what is the difference between global.asa and global.asax excluding events?
    :
    : 6) what is the difference between datareader and dataset?
    :
    : 7) which class do u use in .NET to make transaction with the database?
    :
    : 8) How do u comment in ASPX file?
    :
    : 9) WHAT ARE THE EVENTS IN Global.asax file?
    :
    : 10) What are class libraries that are used in an EMAIL ?
    :
    :
    : Advance ThanX for your time & patience. Waiting for reply...
    :
    : Bye...
    : Cheers
    : Kishore
    :

    1. .NET Framework is Microsofts next generation programming Framework. That completely does away with COM, accept for COM interoperability. Over 3400 compiled objects sit on top of a common language runtime. Meaning all .NET languages tap into the same data-types and classes.

    2. Assembly is Microsofts new lingo for executable or dll file. However, in the context of .NET. Assemblies are different from conventional library files in that they are do not rely on the registry. In fact they are completely self describing due to an XML manifest file that is automatically compliled with it (Kinda like a COM type-library.) Assemblies support side-by-side execution. There is no need to restart the web server no more to relase any locks and updating a library is as easy as overwriting the file.

    3. Garbage collection is a sophisticated component built into .NET, that handles the removal of dead object references. Through heuristics the Garbage Collector removes and re-partitions memory on the fly. Each time a memory reference is removed the garbage collector raises the objects Finalize event handler. Finally, you can manually manipulate the Garbage Collector through the GC object.

    4. Serialization is the act of persisting the state of an object to any kind of stream, usually a file stream. In .NET the format of the persisted data can be in binary, SOAP, or XML. Deserialization is the reverse process of taking the persisted data and restoring it into the original object. Note that any values or properties set on the serialized object are preserved. Also note that the object must be flagged as Serializable to participate in the .NET serialization features. Most .NET objects are flagged as serializable. You can easily make a class serializable like so.

    [code]
    _
    Public Class MyClass
    ' Some code
    End Class
    [/code]

    5. Global.asax is basically the same as the global.asa but only works for ASPX pages. Global.asax has way more events. Other than that, there aint much difference.

    6. DataReader is a forward only / read-only recordset type object. DataSet is so feature enriched that it can basically be a stand-alone database. WIth dataset u can load multiple tables, create relationships and constraints, and dataviews.

    7. Depening on the database, you use SQLTransaction or OleDbTransaction object.

    [code]
    Dim tran As SqlTransaction = connectionObject.BeginTransaction

    commandObjectA.Transaction = tran
    commandObjectB.Transaction = tran
    [/code]

    8. <%-- This is a comment --%>

    9. Too many to list. Here are a few events:

    Application_BeginRequest
    Application_EndRequest
    Application_AuthenticateRequest
    Application_AuthorizeRequest
    Application_Error

    Different HttpModules add more events. Like the Session HttpModule adds session start and end events etc...

    You can even program your own HttpModules

    10. Class libraries used for sendind E-mail are ...

    SmtpMail
    MailMessage
    MailAttachment

    Located in ...

    System.Web.Mail




Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion