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

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, 1869👍, 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, 1868👍, 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, 1867👍, 0💬

What is "Microsoft Intermediate Language" (MSIL)?
What is "Microsoft Intermediate Language" (MSIL)? A .NET programming language (C#, VB.NET, J# etc.) does not compile into executable code; instead it compiles into an intermediate code called Microsoft Intermediate Language (MSIL). As a programmer one need not worry about the syntax of MSIL - since ...
2013-11-19, 1866👍, 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, 1865👍, 0💬

What is view state?
What is view state? The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control
2013-09-30, 1864👍, 0💬

What is an assembly?
What is an assembly? An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files). All managed types and resources are marked either as accessible only with...
2013-11-05, 1863👍, 0💬

Can the validation be done in the server side? Or this can be done only in the Client side?
Can the validation be done in the server side? Or this can be done only in the Client side? Client side is done by default. Server side validation is also possible. We can switch off the client side and server side can be done.
2013-10-01, 1863👍, 0💬

What are possible implementations of distributed applications in .NET?
What are possible implementations of distributed applications in .NET? .NET Remoting and ASP.NET Web Services. If we talk about the Framework Class Library, noteworthy classes are in System.Runtime.Remoting and System.Web.Services.
2013-11-08, 1860👍, 0💬

What is State?
What is State? It is the property of the web forms. ASP.NET provides four types of state: Application state Session state Cookie state View state.
2014-10-01, 1858👍, 0💬

What are Attributes?
What are Attributes? Attributes are declarative tags in code that insert additional metadata into an assembly. There exist two types of attributes in the .NET Framework: Predefined attributes such as AssemblyVersion, which already exist and are accessed through the Runtime Classes; and custom attrib...
2013-10-31, 1857👍, 0💬

Where does the Web page belong in the .NET Framework class hierarchy?
Where does the Web page belong in the .NET Framework class hierarchy? System.Web.UI.Page
2014-03-05, 1856👍, 0💬

What method do you use to explicitly kill a user’s session?
What method do you use to explicitly kill a user’s session? The Abandon method destroys all the objects stored in a Session object and releases their resources. If you do not call the Abandon method explicitly, the server destroys these objects when the session times out. Syntax: Session.Abandon
2014-01-30, 1856👍, 0💬

What is Machine.config?
What is Machine.config? Machine configuration file: The machine.config file contains settings that apply to the entire computer. This file is located in the %runtime install path%Config directory. There is only one machine.config file on a computer. The Machine.Config file found in the "CONFIG" subf...
2013-10-06, 1855👍, 0💬

The number of objects in ASP.NET is ...
The number of objects in ASP.NET is ... The number of objects in ASP.NET is * 6 * 7 * 9 * 10 Answer1: 7 Answer2: 10
2014-03-13, 1854👍, 0💬

What are the different types of serialization supported in .NET Framework...
What are the different types of serialization supported in .NET Framework... What are the different types of serialization supported in .NET Framework * XmlSerializer * SoapFormatter * XPathNavigator * HttpFormatter xmlserializer
2014-03-10, 1853👍, 0💬

What is referential integrity and how can we achieve it?
What is referential integrity and how can we achieve it? Referential integrity preserves the defined relationships between tables when records are entered or deleted. In SQL Server, referential integrity is based on relationships between foreign keys and primary keys or between foreign keys and uniq...
2014-10-20, 1852👍, 0💬

How is a property designated as read-only?
How is a property designated as read-only? In VB.NET: Public ReadOnly Property PropertyName As ReturnType Get ‘Your Property Implementation goes in here End Get End Property in C# public returntype PropertyName { get{ //property implementation goes here } // Do not write the set implementation }
2014-02-07, 1849👍, 0💬

Does anyone have a tool for converting old-style C programs to ANSI C?
Does anyone have a tool for converting old-style C programs to ANSI C, or vice versa, or for automatically generating prototypes? Two programs, protoize and unprotoize, convert back and forth between prototyped and ``old style'' function definitions and declarations. (These programs do not handle fu...
2015-11-25, 1848👍, 0💬

What tag do you use to add a hyperlink column to the DataGrid?
What tag do you use to add a hyperlink column to the DataGrid? Depends on who’s definition of hyperlink your using. Manually a std html anchor tag (a) will work or you can use the micro-magical tag
2014-02-12, 1848👍, 0💬

How many languages .NET is supporting now?
How many languages .NET is supporting now? When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. 44 languages are supported.
2014-01-09, 1848👍, 0💬

Specify the best ways to store variables so that we can access them in various pages of ASP.NET application?
Specify the best ways to store variables so that we can access them in various pages of ASP.NET application? Declare the variables in Global.aspx
2014-09-24, 1847👍, 0💬

Name atleast three methods of response object other than Redirect.
Name atleast three methods of response object other than Redirect. Answer1 a) Response.Clear( ) Clears the content of the current output stream. b) Response.Close( ) Closes the network socket for the current response. c) Response.End( ) Stops processing the current request and sends all buffered con...
2014-09-29, 1845👍, 0💬

How is .NET able to support multiple languages?
How is .NET able to support multiple languages? A language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language (MSIL for short). This is called as Managed Code. This Managed code is run in .NET environment. S...
2014-01-09, 1843👍, 0💬

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