<< < 148 149 150 151 152 153 154 155 156 157 158 > >>   Sort: Date

How ASP .NET different from ASP?
How ASP .NET different from ASP? Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server.
2014-01-10, 2063👍, 0💬

What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.
What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why. Answers1: In a interface class, all methods are abstract without implementation where as in an abstract class some methods we can define concrete. In interface, no accessibility modifiers are a...
2013-12-25, 2062👍, 0💬

Where would you use an iHTTPModule, and what are the limitations of anyapproach you might take in implementing one?
Where would you use an iHTTPModule, and what are the limitations of anyapproach you might take in implementing one? One of ASP.NET’s most useful features is the extensibility of the HTTP pipeline, the path that data takes between client and server. You can use them to extend your ASP.NET applicat...
2014-01-27, 2061👍, 0💬

How do u call and execute a stored procedure in .NET?
How do u call and execute a stored procedure in .NET? system.Data; system.Data.SqlClient; SqlConnection sqCon = new SqlConnection(”connection string”); SqlCommand sqCmd = new SqCmd(); sqCmd.Connection = sqCon; sqCmd.CommandText = procedure_name; sqCmd.CommandType = CommandType.StoredProcedure;.. .
2014-11-14, 2059👍, 0💬

What is one of the first things you would do to increase performance of a query? For example, a boss tells you that “a query t
What is one of the first things you would do to increase performance of a query? For example, a boss tells you that “a query that ran yesterday took 30 seconds, but today it takes 6 minutes”? Answer1. Use Storedprocedure for any optimized result, because it is an compiled code. Answer2. One of...
2014-10-10, 2057👍, 0💬

One of the possible way of writing an ASP.NET handler that works like an ISAPI filter- that is ...
One of the possible way of writing an ASP.NET handler that works like an ISAPI filter- that is ... One of the possible way of writing an ASP.NET handler that works like an ISAPI filter- that is, that sees requests and responses and modifies them also, is by, * writing a module that extends FormsAuth...
2014-08-25, 2057👍, 0💬

Which one of the following best describes “Type-Safe”< ...
Which one of the following best describes “Type-Safe”< ... Which one of the following best describes “Type-Safe” * It ensures that the data type are safely handled * It ensures that types are not mismatched when they are called so uses a typecasting before referencing any data object...
2014-03-13, 2053👍, 0💬

Explain what a diffgram is, and a good use for one?
Explain what a diffgram is, and a good use for one? A DiffGram is an XML format that is used to identify current and original versions of data elements. The DataSet uses the DiffGram format to load and persist its contents, and to serialize its contents for transport across a network connection. Whe...
2014-01-24, 2053👍, 0💬

An .ASHX file contains the following ...
An .ASHX file contains the following ... An .ASHX file contains the following * Code-behind that are used in the code * Server Controls that can be called from a code-behind file * HTTP handlers-software modules that handle raw HTTP requests received by ASP.NET * Contains normal ASP.NET code and can...
2014-08-22, 2052👍, 0💬

What is indexing?
What is indexing? If we give proper indexes on a table so that any queries written against this table can run efficiently. As your data sets grow over time, SQL Server will continue to rebuild indexes and move data around as efficiently as possible. This property is known as Indexing.
2014-10-22, 2051👍, 0💬

How many objects are there in ASP?
How many objects are there in ASP? Answer1 8 objects, they are request,response, server,application,session,fil e,dictionary, textstream. Answer2 There are 6 objects in ASP.net a) Server b) Session c) Application d) ObjectContext e) Response f) Request
2014-09-24, 2050👍, 0💬

What is the correct declaration of main?
What is the correct declaration of main? There are two valid declarations: int main(void) int main(int argc, char **argv) although they can be written in a variety of ways. The second parameter may be declared char *argv[] , you can use any names for the two parameters, and you can use old-style syn...
2015-12-22, 2049👍, 0💬

If you set AutoGenerateColumns=True and still provide custom column definitions ...
If you set AutoGenerateColumns=True and still provide custom column definitions ... State True or False: If you set AutoGenerateColumns=True and still provide custom column definitions, the DataGrid will render both * True * False False.
2014-07-30, 2048👍, 0💬

What are the Types of Assemblies?
What are the Types of Assemblies? Assemblies are of two types: 1. Private Assemblies 2. Shared Assemblies Private Assemblies: The assembly is intended only for one application. The files of that assembly must be placed in the same folder as the application or in a sub folder. No other application wi...
2013-10-31, 2047👍, 0💬

I am allocating a large array for some numeric work ...
I'm allocating a large array for some numeric work, using the line double *array = malloc(300 * 300 * sizeof(double)); malloc isn't returning null, but the program is acting strangely, as if it's overwriting memory, or malloc isn't allocating as much as I asked for, or something.. Notice that 300 x ...
2016-04-15, 2046👍, 0💬

Explain differences between server.transfer and server.execute method?
Explain differences between server.transfer and server.execute method? Answer1: server.transfer-&gt; transefers the server’s control to the requested page given in the parameter. server.Execute-&gt; executes the requested page from the current page itself,with no change in the address bar...
2014-10-22, 2044👍, 0💬

Can anyone tell me about Secure Socket Layer? How to make use of the technology?
Can anyone tell me about Secure Socket Layer? How to make use of the technology? Secure Sockets Layer (SSL) and Transport Layer Security (TLS), its successor, are cryptographic protocols which provide secure communications on the Internet. There are slight differences between SSL 3.0 and TLS 1.0, bu...
2013-12-23, 2044👍, 0💬

what is the difference between user control an custom control? advantages/disadvantages?
what is the difference between user control an custom control? advantages/disadvantages? Web user controls Vs Web custom controls Easier to create Vs Harder to create Limited support for consumers who use a visual design tool Vs Full visual design tool support for consumers A separate copy of the co...
2013-12-17, 2044👍, 0💬

Contrast the use of an abstract base class against an interface?
Contrast the use of an abstract base class against an interface? Answer1: In the interface all methods must be abstract, in the abstract class some methods can be concrete. In the interface no accessibility modifiers are allowed, which is ok in abstract classes Answer2: Wether to Choose VB.NET/C#. B...
2014-02-25, 2042👍, 0💬

What are the disadvantages of viewstate/what are the benefits?
What are the disadvantages of viewstate/what are the benefits? Answer1: Disadvantage of viewstate is that additional data is sent to the browser. The benefits are that you do not have to manually manage refreshing the page fields after a submit, (when re-displaying the same page). Answer2: Automatic...
2014-02-11, 2042👍, 0💬

What is the transport protocol you use to call a Web service?
What is the transport protocol you use to call a Web service? Answer1: SOAP. Transport Protocols: It is essential for the acceptance of Web Services that they are based on established Internet infrastructure. This in fact imposes the usage of of the HTTP, SMTP and FTP protocols based on the TCP/IP f...
2014-02-05, 2041👍, 0💬

Tell few steps for optimizing (for speed and resource) ASP page/application.
Tell few steps for optimizing (for speed and resource) ASP page/application. Avoid mixing html code with asp code
2014-10-06, 2040👍, 0💬

Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?
Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler? It’s the Attributesproperty, the Add function inside that property. So btnSubmit.Attributes.Add("onMo useOver","someClientCode();")A simple”Javascript:ClientCode ();”i...
2014-03-07, 2040👍, 0💬

What’s typical about a Windows process in regards to memory allocation?
What’s typical about a Windows process in regards to memory allocation? Each process is allocated its own block of available RAM space, no process can access another process’ code or data. If the process crashes, it dies alone without taking the entire OS or a bunch of other applications down...
2013-11-07, 2038👍, 0💬

<< < 148 149 150 151 152 153 154 155 156 157 158 > >>   Sort: Date