--* Difference between Serialization and Deserialization :
1) Serialization is the process of converting an object into a stream of bytes
2) Deserialization is the opposite process of creating an object from a stream of bytes
--* Difference between int and int32 ?
1) Both are same
2) System.Int32 is a .NET class
3) Int is an alias name for System.Int32.
--* What is the difference between superclass and subclass?
1) A superclass is a class that is inherited (base class)
2) A subclass is a class that does the inheriting. (drived class)
--* What are different types of directives in .NET?
@Page , @Control , @Import , @Implements , @Register , @Assembly , @OutputCache , @Reference
--* What is the difference between Value Types and Reference Types? --
1) Value type uses Stack to store the data
2) Reference type uses heap to store data
3) A data type is a value type if it holds the data within its own memory allocation4) A reference type contains a pointer to another memory location that holds the data.
5) Value types include the following:All numeric data types and Boolean, Char, and Dateand All structures, even if their members are reference types and Enumerations
6) Reference types include the following: String and All arrays, even if their elements are value types and Class types, such as Form and Delegates
7) Value types can not contain the value null.
8) Reference types can contain the value null
--* What's the difference between Response.Write() and Response.Output.Write()? Response.Output.Write() allows you to write formatted output
--* Does AJAX works with JAVA?
Yes it works
--* Should i use HTTP POST or GET for my AJAX calls? x
1) AJAX requests should use an HTTP GET request when retrieving data where the data will not change for a given request URL
2) An HTTP POST should be used when state is updated on the server.
--* Can you edit data in the Repeater control?
No, it just reads the information from its data source
--* Difference between Struct and Class :
1) Struct are Value type and are stored on stack, while Class are Reference type and are stored on heap.
2) Struct “do not support” inheritance, while class supports inheritance. However struct can implements interface.
3) Struct should be used when you want to use a small data structure, while Class is better choice for complex data structure.
--* The command is used to get back the privileges offered by the GRANT command is : RRVOKE
--* What is different between Constant and Read only :
1) Const = value assigned at Compile time and unchangeable once established.
2) readonly = value assigned at run time and unchangeable once established
--* What is difference between constants, readonly and, static ? x
1) Constants: The value can’t be changed
2) Read-only: The value will be initialized only once from the constructor of the class.
3) Static: Value can be initialized once.
--* WSDL : stands for Web Services Description Language
--* WSDL (Web Services Description Language) is a language that describes a web service. It contains information such as where you can find the web service, methods and properties that it supports, its data types, and the protocol used to communicate with the web service. WSDL is based on the XML format and it's used to create proxy objects. Basically, without a WSDL document, developers wouldn't be able to use web services simply because they wouldn't know which methods and properties they support and also which communication method any particular web service supports.
--* What is Partial classes ?
1) partial classes allow you to split the definition of a class into multiple files. 2) All partial classes must be written in the same language
--* Difference between dynamic query and static query :
1) when your query pass with value this is static query
2) when your query pass with parameter like(@user_name) this is dynamic query3) static query select * from TblEmpDetail where user_name='Kapil'
4) dynamic query select * from TblEmpDetail Where(user_name=@user_name)
--* what is the different between user control and custom control :
1) User Control is a page file with extension .ascx which can only be used within a single application.
2) custom controls are assemblies(dll files) that can be used in multiple applications.
3) User Controls cannot be added to the ToolBox of VS.NET . To use a user Control with in an aspx page u have to drag the user Control from the solution Explorer to designer page.
4) Custom Controls can be added to ToolBox of VS.NET.
--* Difference between windows and forms authentications:
1) if you window authentication it mean it is annonimas site every one can vesit it without login password.
2) if you Form authentication it means you should have username and password to visit pages
--* Difference between HTML and web Controls ?
1) HTML controls are static
2) Web controls are dynamic
3) HTML controls don't have runat server tag
4) Web controls have runat server tag
Sunday, January 20, 2008
Subscribe to:
Post Comments (Atom)


No comments:
Post a Comment