Differences between DLL and EXE?

a) A DLL is a library and therefore can not be executed. If you try to run it you'll get an error about a missing entry point.b) DLLs have an export section where symbols are exported.c) These are inbund filed) Many .dll files may exists in one application

Exe

a) An EXE is a program that can be executed. It has an entry point. b) A flag inside the PE header indicates which file type it is (irrelevant of file extension).c) EXEs should never have an export section since they aren't libraries but nothing prevents that from happening.d) These are outbound file.e) Only one .exe file exists per application.

You can also find related Interview Question to
Differences between DLL and EXE?
below:

Interfaces carry semantics, and when a programmer implements an interface, he is typically well aware of that semantics. When you try to invoke a particular method via an interface, you can be fairly certain that if you succeed, the semantics of that method is what you expect. For that reason, using interfaces is essentially doing a check for semantic correctness on some level.

Delegates, on the other hand, by only verifying the method signature, make the programmer responsible for ensuring that the semantics of the method is compatible. The semantics may cover not only the meaning of the arguments and return value (some times even the order of the arguments if they are of the same type), the ranges of the arguments, but also an invocation order when multiple methods are concerned. Hence, in a sufficiently large program there is plenty of margin to make an error when different programmers are not forced to comply with a uniform semantics (as they would be if interfaces were used). (More...)

Batch:------A batch is a group of one or more SQL statements. SQL Server compiles the statements of a batch into a single executable unit, called an execution plan. The statements in the execution plan are then executed one at a time.

stored procedure :------------------A stored procedure is a group of SQL statements that is compiled one time and can then be executed many times.

trigger:--------A trigger is a special type of stored procedure that is not called directly. Trigger is fired each time row is affected by Insert, Update or Delete command.

Web Part Page Gallery in SharePoint is the default gallery provided by Microsoft that comes installed with SharePoint. Site Gallery is specific to one sharepoint website site. Virtual Server gallery is specific to that virtual server and online gallery is available for download web parts from MSDN. (More...)

In an asynchronous model, all the server side events occur, as they do in a synchronous model. The Microsoft AJAX Library also raises client side events. However when the page is rendered, asynchronous postback renders only the contents of the update panel, where as in a synchronous postback, the entire page is recreated and sent back to the browser. (More...)

DataList*Has table appearence by default*Has no autoformat option*has no default paging & sorting options*can define separators between elements using templateDataGrid*Has a grid appearence by default*has a autoformat option*has default paging and sorting*has no separator between elementsDataRepeatersimple,read-only output, has no built in support for selecting or editing items, has no DEFAULT APPEARENCE,has no default paging. (More...)

ADO relied on a connection based model. In the connected approach, the client had to be connected with the server and remain connected till the whole procedure or transaction was completed. Time resources and bandwidth became major constraints on such architecture.

To solve this problem the latter version of ADO used RecordSet. All the contents from the data source were copied into RecordSet. This allows clients to get disconnected from the server, work on the RecordSet and copy the changes back to the data source again. This approach did not succeed much because it requires COM marshalling to transmit disconnected data, it support only those datatypes that were defined by the COM standards and hence required type conversion.

ADO.NET can be used to access data sources using new .NET data providers as well as existing OLEDB data providers using the OLEDB.NET data provider. (More...)

The "S" in HTTPS indicates a secure site. The server browser communication is unsecured in ordinary http where as in https, it needs to be secured in order to prevent unauthorized access.

HTTP is Hyper Text Transport Protocol and is transmitted over the wire via PORT 80(TCP) by default and it is not secured.

HTTPS (Hypertext Transfer Protocol over Secure Socket Layer, or HTTP over SSL) is a Web protocol developed by Netscape and built into its browser that encrypts and decrypts user page requests as well as the pages that are returned by the Web server. (More...)

Functions----------1) can be used with Select statement2) Not returning output parameter but returns Table variables3) You can join UDF4) Cannot be used to change server configuration5) Cannot be used with XML FOR clause6) Cannot have transaction within function

Stored Procedure-----------------1) have to use EXEC or EXECUTE2) return output parameter3) can create table but won't return Table Variables4) you can not join SP5) can be used to change server configuration6) can be used with XML FOR Clause7) can have transaction within SP (More...)

Delete Vs Truncate:------------------------------------------------------------------- Delete ===================================================================1)Delete is a DML Command 2)Delete Command delete only Rows from the table but the Schema(structure)remains itself3)Where clause is used to delete Command

4)It is slow When compare to Truncate

Truncate ===============================================================A) Truncate is a DDL CommandB)It deletes Both rows And Schema...C)Truncate Will Execute Without using where clause D)It executed faster than delete

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.