C# ASP.NET ADO.NET JAVASCRIPT JQUERY AJAX SILVERLIGHT WPF
Tutorials
C# OOPS HTML&CSS DHTML ASP.NET ADO.NET JAVASCRIPT JQUERY AJAX SILVERLIGHT MVVM WPF SQL SERVER Photoshop Dreamweaver Flash Illustrator
Interview Question
Blog Archive
Showing posts with label Interview Question. Show all posts
Showing posts with label Interview Question. Show all posts
WPF Interview Question
WPF Interview Question and Answers
| 1. | Ques: 1 What is WPF? |
|---|---|
| Windows Presentation Foundation (WPF) is the presentation subsystem feature of the .NET Framework 3.0,that provide good design and advance controls. Silverlight is the Subset of WPF. Through WPF we can create Windows and WebBrowser Application. |
| 2. | Ques: 2 What is XBAP? |
|---|---|
| XBAP means XAML Browser Application. XBAP allows for WPF applications to be used inside a browser. For this .NET framework is required to be installed on the client system and hosted applications run in a partial trust sandbox environment. |
| 3. | Ques: 3 What is XAML extensible markup language? |
|---|---|
| XAML is an extensible markup language based on XML. XAML can be thought of as a declarative script for creating .NET 3.0 UI. It is particularly used in WPF as a user interface markup language to define UI elements, data binding, eventing and other features. It is also used in Windows Workflow Foundation (WF), in which the workflows themselves can be defined in XAML code. |
| 4. | Ques: 5 What are dependency properties? |
|---|---|
| These dependency properties belong to one class but can be used in another. Consider the below code snippet:- Height and Width are regular properties of the Rectangle. But Canvas. Top and Canvas. Left is dependency property as it belongs the canvas class. It is used by the Rectangle to specify its position within Canvas. |
| 5. | Ques: 6 What kind of documents are supported in WPF? |
|---|---|
| There are two kind of major document supported in WPF Fixed format documents and Flow format document. Fixed format documents look like PDF format. They display content regardless of screen size and resolution. But flow format document adjust depending on screen size and resolution. |
| 6. | Ques: 7 Can you explain how we can separate code and XAML? |
|---|---|
| This is one of the most important features of WPF, separating the XAML from the code to be handled. So designers can independently work on the presentation of the application and developers can actually write the code logic independent of how the presentation is. |
| 7. | Ques: 8 What is a Routed event? |
|---|---|
| In WPF application it contains many elements. These elements exist in an element tree relationship with each other. A routed event is a type of event that can invoke handlers on multiple listeners in an element tree, rather than just on the object that raised the event. |
| 8. | Ques: 10 How to define a button USING XAML? |
|---|---|
| To define a button in WPF using XAML, Syntax is given below- Example:- Here the |
Labels:
Interview Question
Silverlight Interview Question
Silverlight Interview Question and Answers
| 1. | Ques: 1 What is Silverlight? |
|---|---|
| Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of Microsoft .NET-based media experiences and rich interactive applications for the Web. Silverlight applications are run as client-side applications without the need to refresh the browser to update the UI. However, because of the built-in .NET framework, Silverlight applications can easily integrate with server-side controls and services. Using Silverlight's implementation of the .NET framework, developers can easily integrate existing libraries and code into Silverlight applications. One of the design goals of the Silverlight technology is to fill the gap between windows application and web application in terms of creating Graphical User Interface (GUI). |
| 2. | Ques: 2 Why Use Silverlight? |
|---|---|
| Support of Managed code - you can write programming in your favorite language which .NET CLR supports like C#,VB.NET, Dynamic languages(IronPython, IronRuby) # Better development tools -Visual Studio 2010, Expression Blend. Built-in codec support for playing VC-1 and WMV video, and MP3 and WMA audio within a browser. Silverlight supports the ability to progressively download and play media content from any web-server. Silverlight also optionally supports built-in media streaming. Silverlight enables you to create rich UI and animations, and blend vector graphics with HTML to create compelling content experiences. Silverlight makes it easy to build rich video player interactive experiences. # Large community- available lot of learning resource as compare to Flash technology # Integration with Enterprise based technologies like WPF, LINQ etc... # Silverlight integrates the XAML declarative language with the .NET framework . It delivers rich video, audio, and graphics. |
| 3. | Ques: 3 Which platforms Silverlight supports? |
|---|---|
| * Mac OS * Windows Vista * Windows XP SP2 * Windows 2000 * Windows Server 2003 * Linux (Moonlight) |
| 4. | Ques: 5 Which browsers Silverlight supports? |
|---|---|
| Supported browsers: Microsoft Internet Explorer 6, Windows Internet Explorer 7, Mozilla Firefox 1.5.0.8, and Firefox 2.0.x. |
| 5. | Ques: 6 What are the system requirements for Silverlight? |
|---|---|
| Operating System: Windows Vista; Windows XP Service Pack 2 o Intel® Pentium® III 450MHz or faster processor (or equivalent) o 128MB of RAM * Mac OS o Operating System: Apple Mac OS X 10.4.8 or above o Intel Core™ Duo 1.83GHz or faster processor o 128MB of RAM |
| 6. | Ques: 7 What is Moonlight? |
|---|---|
| Moonlight was built by Novell in collaboration with Microsoft which provided Novell with test suites, specifications, open source code and Media Codecs to create an entirely open sourced Silverlight-compatible implementation for Unix systems. Access to licensed Media Codecs (MP3, WMV, VC-1) is provided by Microsoft to Moonlight 1.0 and 2.0 users. The first time that you access a web site that requires these codecs, Moonlight will prompt you to download the codecs from Microsoft and install those on your system. * To run Silverlight applications on Linux. * To provide a Linux SDK to build Silverlight applications. * To reuse the Silverlight engine we have built for desktop applications. |
| 7. | Ques: 8 What is the difference between Silverlight 1.0 and 2? |
|---|---|
|
* The Silverlight plug-in is a very lightweight component that is necessary for users to access Silverlight applications. The plug-in download and install take only a few moments and do not take up much hard drive space. * The Silverlight plug-in is responsible for accessing the Silverlight object in the Web page, downloading and accessing the XAP package, setting up the program environment, and beginning execution of the application. * When a Web page containing a Silverlight application is displayed, the user should be given a link to download the plug-in from Microsoft if the plug-in is not already installed |
| 8. | Ques: 10 What is Silverlight Runtime? |
|---|---|
| Silverlight CLR is a subset of the .NET Framework that contains components and libraries, including data integration, extensible Windows controls, networking, base class libraries, garbage collection, and the common language runtime (CLR). Silverlight Runtime is a browser plug-in to support Silverlight enabled applications. If Silverlight runtime is not installed, browsers will not be able to run Silverlight elements in the browser. You can set up your Silverlight tags such a way that your browser will automatically prompt the user to download and install the Silverlight plug in when your application is launched in the browser. Installing the run time is a onetime operation on the client. Once installed, it will be automatically launched when any Silverlight application is loaded in the browser. |
Labels:
Interview Question
Ajax Interview Question
Ajax Interview Question and Answers
| 1. | Ques: 1 What is Ajax? |
|---|---|
| AJAX is stands for Asynchronous Javascript And XML.
Ajax was first comes at 2005.It is an web development technique used to make interactive web applications and rich internet applications. Ajax is based on JavaScript and HTTP request. Ajax are use to retrieve data from server asynchronously to web applications without any interfere with display and characterisics of existing page. Using Ajax we can inhance interactive animation on web pages. Using Ajax we can create better,faster and more user friendly web applications. |
| 2. | Ques: 2 Whar you understand by Ajax Polling? |
|---|---|
| By using Ajax Polling script we can send request to the server and receives response according to request from server. Using Ajax we can return the response to your browser. Ajax is an light weight.So,it is the act of retrieving data from server regularly to obtain near like data. |
| 3. | Ques: 3 Tell me reasons of using HTTP POST request by Ajax request? Ques: 4 How to use an Ajax code across different browsers? |
|---|---|
| Internet Explorer uses an ActiveXObject while other browsers uses the built-in JavaScript object called XMLHttpRequest. Example: |
| 4. | Ques: 5 Why Ajax is comfortable fit with Java? |
|---|---|
| Because Java is a more comfortable for AJAX. Than you can use Java Enterprise Edition servers to generate Ajax client pages and to serve incoming Ajax requests and to manage server side state for Ajax clients and connect Ajax clients to your enterprise resources. The JavaServer Faces component model is a more comfortable for defining and using Ajax components. |
| 5. | Ques: 6 Tell me about environment that we used in Ajax? |
|---|---|
| Ajax support many environment like that PHP/ASP and other web based projects. |
| 6. | Ques: 7 Uploading file using Ajax is possible or not? |
|---|---|
| No,we can't perform an uploading file task with Ajax.I have given you a method this is using iframe and upload files to give feel like Ajax file upload. This is used by many scripts and libraries in their Ajax file upload plugins. |
| 7. | Ques: 8 How we can say user interfaces are powerful in Ajax? Ques: 9 How you define JSON in Ajax? |
|---|---|
| Some main points about JSON are given below: 1.JSON stand for JavaScript Object Notation. 2.JSON is an lightweight data interchange format. 3.JSOn gives us JavaScript eval() method to parse an XML easily. |
| 8. | Ques: 10 How you define Comet in Ajax? |
|---|---|
| Ajax Push is an Comet Technology. Using Ajax Push web servers can send an data to the user without any need the user request for it. Using this user can make up-to-date with data arriving or varying onthe server,without any frequent polling. |
Labels:
Interview Question
JQuery Interview Question
JQuery Interview Questions And Answers
| 1. | Ques: 1- What is jQuery ? |
|---|---|
| It's very simple but most valuable Question on jQuery means jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, animating, event handling, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. Jquery is build library for javascript no need to write your own functions or script jquery all ready done for you. |
| 2. | Ques: 2 How you will use Jquery means requirement needed for using jquery? |
|---|---|
| Nothing more need to do just olny download jquery library(.js file) from any of the jquery site Download jquery and just linked with your html pages like all other javascript file
like below : Code: < script src="jquery.js" language="javascript" type="text/javascript"> |
| 3. | Ques:3 what the use of $ symbol in Jquery? |
|---|---|
| $ Symbol is just replacement of jquery means at the place of $ you may use jquery hence $ symbol is used for indication that this line used for jquery |
| 4. | Ques: 4 How do you select an item using css class or ID and get the value by use of jquery? |
|---|---|
| If an element of html like < div> , < p> or any tag have ID MyId and class used MyClass then we select the element by below jquery code
Code: $('#MyId') for ID and for classs $('.MyClass') and for value Code: var myValue = $('#MyId').val(); // get the value in var Myvalue by id Or for set the value in selected item Code: $('#MyId').val("print me"); // set the value of a form input |
| 5. | Ques: 5 How to get the server response from an AJAX request using Jquery? |
|---|---|
| When invoking functions that have asynchronous behavior We must provide a callback function to capture the desired result. This is especially important with AJAX in the browser because when a remote request is made, it is indeterminate when the response will be received.
Below an example of making an AJAX call and alerting the response (or error):
Code:
$.ajax({ url: 'pcdsEmpRecords.php', success: function(response) { alert(response); }, error: function(xhr) { alert('Error! Status = ' + xhr.status); } }); |
| 6. | Ques: 6 How do you update ajax response with id " resilts"? |
|---|---|
| By using below code we can update div content where id 'results' with ajax response Code: function updateStatus() { $.ajax({ url: 'pcdsEmpRecords.php', success: function(response) { // update div id Results $('#results').html(response); } }); } |
| 7. | Ques: 7 How do You disable or enable a form element? |
|---|---|
| There are two ways to disable or enable form elements.
Set the 'disabled' attribute to true or false: Code: // Disable #pcds $('#pcds').attr('disabled', true); // Enable #pcds $('#pcds').attr('disabled', false); Add or remove the 'disabled' attribute: // Disable #pcds $("#pcds").attr('disabled', 'disabled'); // Enable #x $("#pcds").removeAttr('disabled'); |
| 8. | Ques: 8 How do you check or uncheck a checkbox input or radio button? |
|---|---|
| Yes.
There are two ways to check or uncheck a checkbox or radio button.
Set the 'checked' attribute to true or false. Code: // Check #pcds $('#pcds').attr('checked', true); // Uncheck #pcds $('#pcds').attr('checked', false); Add or remove the 'checked' attribute: // Check #pcds $("#pcds").attr('checked', 'checked'); // Uncheck #pcds $("#pcds").removeAttr('checked'); |
Labels:
Interview Question
Javascript Interview Question
Javascript Interview Questions And Answers
| 1. | Ques: 1 What is JavaScript? |
|---|---|
| JavaScript is a platform-independent,event-driven, interpreted client-side scripting and programming language developed by Netscape Communications Corp. and Sun Microsystems. |
| 2. | Ques: 2 How to detect the operating system on the client machine? |
|---|---|
| In Java order to detect the operating system on the client machine, the navigator.appVersion string (property) should be used. |
| 3. | Ques: 3 How to read and write a file using javascript? |
|---|---|
| I/O operations like reading or writing a file is not possible with client-side javascript. However , this can be done by coding a Java applet that reads files for the script. |
| 4. | Ques: 4 Where are cookies actually stored on the hard disk? |
|---|---|
| This depends on the user's browser and OS.
In the case of Netscape with Windows OS, all the cookies are stored in a single file called cookies.txt c:\Program Files\Netscape\Users\username\cookies.txt In the case of IE,each cookie is stored in a separate file namely username@website.txt. c:\Windows\Cookies\username@Website.txt |
| 5. | Ques: 5 What can javascript programs do? |
|---|---|
| Generation of HTML pages on-the-fly without accessing the Web server. The user can be given control over the browser like User input validation Simple computations can be performed on the client's machine The user's browser, OS, screen size, etc. can be detected Date and Time Handling |
| 6. | Ques: 6 How to set a HTML document's background color? |
|---|---|
| document.bgcolor property can be set to any appropriate color e.g. document.bgcolor=#ffff; |
| 7. | Ques: 7 What is reason of the "Access is Denied" ? |
|---|---|
| The "Access Denied" error in any browser is due to the following reason.
A javascript in one window or frame is tries to access another window or frame whose document's domain is different from the document containing the script. |
| 8. | Ques: 8 Is a javascript script faster than an ASP script? |
|---|---|
| Yes. Since javascript is a client-side script it does require the web server's help for its computation,so it is always faster than any server-side script like ASP,PHP,JSP etc. |
Labels:
Interview Question
DHTML Interview Question
DHTML Interview Questions And Answers
| 1. | Ques: 1 What is the features of DHTML? |
|---|---|
| Some most important features of DHTML are given below: 1.Using DHTML we can change the tags and their properties. 2.It is use for Real-time positioning. 3.It is used to generate dynamic fonts (Netscape Communicator). 4.Used for Data binding (Internet Explorer). |
| 2. | Ques: 2 How FontSize and Font Size is differ in DHTML? |
|---|---|
| font size is an attribute that we used in font tag.Where as font-size is an style property. <font size="5"> use in font tag. p{font-size:"5"} use in CSS. |
| 3. | Ques: 3What is the difference b/w DHTML and HTML? |
|---|---|
| Some main difference b/w DHTML(Dynamic HTML) and HTML(Hyper Text Markup Language)are given below. 1.Using DHTML we can use JavaScript and style sheets in our HTML page. 2.Using DHTML we can insert small animations and dynamic menus into our HTML page. 3.If use want that your web page display your DHTML effects(object or word can highlighted, larger,a different color etc) than you have to save your web page with .dhtml extension except .html or .htm . |
| 4. | Ques: 4 How to Handle Events with DHTML? |
|---|---|
| Event is use to trigger actions in the browser. When client click on the element, associated action will started.Like: an JavaScript will started when client click on element. Using Event Handler we can do like that,When an event occur it will execute code associated with that element. Example: In this example header will changes when client clicks. <h1 onclick="this.innerHTML='abc!'">Click on this text</h1> We can add a script in the head section and then we call the function from the event handler. Example: <html> <head> <script type="text/javascript"> function changetext(id) { id.innerHTML="abc!"; } </script> </head> <body> <h1 onclick="changetext(this)">Click on this text</h1> </body> </html> |
| 5. | Ques: 5 How to change HTML Attribute using HTML DOM? |
|---|---|
| I have given you example to change HTML Attribute by using HTML DOM.
Example: <html> <body> <img id="image" src="oldimage.gif"> <script type="text/javascript"> document.getElementById("image").src="newimage.jpg"; </script> </body> </html> In the above example we load an image on HTML document by using id="image".Using DOM we get the element with id="image".JavaScript that we used in example to changes the src attribute from oldimage.gif to newimage.jpg |
| 6. | Ques: 6 How to change an HTML element using HTML DOM? |
|---|---|
| Here,I have given you example to change an HTML element using HTML DOM. <html> <body> <h1 id=\"header\"> This is your Old Header</h1><script type=\"text/javascript\">document. getElementById(\"header\") .innerHTML=\"This is your New Header\";</script></body></html>Output:This is your New Header In the above example it will store header with an id="header". And get the element with id="header" by using DOM.We used JavaScript to change the content of HTML. |
| 7. | Ques: 7 How you define HTML DOM? |
|---|---|
| HTML DOM is an Document Object Model for HTML. HTML DOM is an standard set of objects and way to access and manipulate HTML document.Using HTML DOM we can view whole HTML document as tree structure.Using this DOM tree we can access and manipulate all elements with their text and attributes.
Some important points about HTML DOM are given below: 1.It is an standard object model and standard programming interface for HTML. 2.HTML DOM is an plateform and language dependant. 3.It is an W3C standard to get,change,add or delete HTML element. |
| 8. | Ques: 8 How we used JavaScript with CSS? |
|---|---|
| Using CSS with JavaScript we can change the style of HTML elements.Like that, document.getElementById(id).style.property=new style |
| 9. | Ques: 9 How to use JavaScript with HTML event? |
|---|---|
| In HTML4, we use HTML event to trigger the events than they perform their action.We can do like that when we click on event it will JavaScript.
Example: onclick=JavaScript |
| 10. | Ques: 10 How we used JavaScript with HTML DOM? |
|---|---|
| In HTML4, We use them to dynamically change the inner content and attributes of HTML elements. I have you example which shows you how to change the content of HTML element. document.getElementById(id).innerHTML=new HTML We can change the attribute of an HTML element like that, document.getElementById(id).attribute=new value |
Labels:
Interview Question
Ado.Net Inetview Questions
ADO.Net Interview Question and Answers
| 1. | What is Ado.NET? |
|---|---|
|
| 2. | What are the two fundamental objects in ADO.NET? |
|---|---|
| There are two fundamental objects in ADO.NET. Datareader - connected architecture and Dataset - disconnected architecture. |
| 3. | What are the data access namespaces in .NET? |
|---|---|
|
| 4. | What are major difference between classic ADO and ADO.NET? |
|---|---|
| In ADO the in-memory representation of data is the recordset.A Recordset object is used to hold a set of records from a database table. In ADO.NET we have dataset.A DataSet is an in memory representation of data loaded from any data source. |
| 5. | what is the use of connection object in ado.net? |
|---|---|
| The ADO Connection Object is used to create an open connection to a data source. Through this connection, you can access and manipulate a database. |
| 6. | What are the benefits of ADO.NET? |
|---|---|
|
| 7. | What is a Clustered Index? |
|---|---|
| The data rows are stored in order based on the clustered index key. Data stored is in a sequence of the index. In a clustered index, the physical order of the rows in the table is the same as the logical (indexed) order of the key values. A table can contain only one clustered index. A clustered index usually provides faster access to data than does a non-clustered index. |
| 8. | What is a Non-Clustered Index? |
|---|---|
| The data rows are not stored in any particular order, and there is no particular order to the sequence of the data pages. In a clustered index, the physical order of the rows in the table is not same as the logical (indexed) order of the key values. |
| 9. | Whate are different types of Commands available with DataAdapter ? |
|---|---|
|
| 10. | What is the difference between an ADO.NET Dataset and an ADO Recordset? |
|---|---|
|
Labels:
Interview Question
SQL Interview Questions
SQL Interview Question and Answers
| 1. | Define SQL? |
|---|---|
| Structured query language is the standard command set used to communicate with the relational database management system. |
| 2. | Define Dbms? |
|---|---|
| A Database Management system consists of a collection of interrelated data and set of programs to access that data. |
| 3. | What is the purpose of Database systems? |
|---|---|
| A Database Management system provides a secure and survivable medium for the storage and retrieval of data.In the real world, the data is shared among several users and is persistent. |
| 4. | State the different between Security and Integrity? |
|---|---|
| Security is a protection from malicious attempts to steal or modify data. Integrity constraints guard against accidental damage to the database, by ensuribg that authorized changes to the database do not result in a loss of data consistency. |
| 5. | Define Normalisation? |
|---|---|
| Normalisation is an essential part of database design. A good understanding of the semantic of data helps the designer to built efficient design using the concept of normalization. |
| 6. | What are the purpose of Normalisation? |
|---|---|
|
| 7. | Define Primary Key? |
|---|---|
|
| 8. | Define Unique Key? |
|---|---|
| Unique key is a one or more column that must be unique for each row of the table. It is similar to primary key. Primary key column will not accept a null. Whereas the unique key column will accept a null values. |
| 9. | Define Foreign Key? |
|---|---|
| A foreign Key is a combination of columns with value is based on the primary key values from another table. A foreign key constraint also known as Referential Integrity Constraint. |
| 10. | Define View? |
|---|---|
|
Labels:
Interview Question
HTML&CSS Interview Questions
HTML Interview Questions And Answers
| Ques: 1 WHAT is the HTML? | |
|
| Ques: 2 What do you know about HTML tags? | |
1.In HTML,every keyword should be surrounded with open and closed with angled brackets. Example:<html>,<body>,<title>,<head> etc. 2.HTML tags are not case sensitive means that suppose if we open <Html> tags than we can closed this tag with <html> . 3.When we open an HTML tag it should we have to closed tag.Like: <a>....</a> 4.In the above point tag (<a>) is called the open tag.where as tag</a> is called the end tag . Example: <head> <body> ..... ..... </body> </head> |
| Ques: 3 What are basic HTML tags how we use them? | |
1.Heading<h1...h6>:Range of HTML headings is from h1 to h6.When we go h1 to h6 its headings become larger and bold. Example: <h1>Write HTML heading between those tags</h1> <h2>Write HTML heading between those tags</h2> ........ ........ <h6>Write HTML heading between those tags</h6> 2.Paragraph<p>...</p>:We write paragraph in HTML by using <p>.....</p> tag. Example: <p>Write here a paragraph</p> 3.Link:Using this we can link our HTML file with some other files. Example: <a href="http://www.R4R.co.in"></a> 4.Image:It is used to describe the image in HTML. <img src="welcome.gif" width="200" height="75" /> |
| Ques: 4 Can we write a comment into the HTML? | |
<!-- Here write your comment --> Example: <html> <body> <!--Which you here not will diplayed on browser--> <p>R4R Welcomes You!</p> </body> </html> output: R4R Welcomes You! |
| Ques: 5 How to use Line Break and Horizontal Line tags in HTML? | |
Syntax: <br /> In HTML <br /> has no end tag. Example: <p>Hello<br />client<br />R4R Welcomes You!</p> output: Hello client R4R Welcomes You! For creating horizontal line we use <hr /> in HTML. Syntax: <hr /> Example: <p>This is upper level</p> <hr /> <p>This is middle level</p> <hr /> <p>This is bottom level</p> Both <br /> and <hr /> called as empty tags. Because their is no end tag for them. |
| Ques: 6 What are the benefits of HTML? | |
Data Source Independence Interoperability Strongly Typed Fields Performance |
Labels:
Interview Question
Asp.Net Interview Qusetions
Asp.Net.Net Interview Question and Answers
| 1. | What is ASP.NET? |
|---|---|
| ASP.NET is a server side scripting technology that enables scripts (embedded in web pages) to be executed by an Internet server. ASP.NET provides increased performance by running compiled code. |
| 2. | What is the difference between Classic ASP and ASP.Net? |
|---|---|
|
| 3. | What is Difference between Namespace and Assembly? |
|---|---|
| Namespace is a logical design-time naming convenience, whereas an assembly establishes the name scope for types at run time. |
| 4. | What is the difference between early binding and late binding? |
|---|---|
| Calling a non-virtual method, decided at a compile time is known as early binding. Calling a virtual method (Pure Polymorphism), decided at a runtime is known as late binding. |
| 5. | What is the difference between ASP Session State and ASP.Net Session State? |
|---|---|
| ASP session state relies on cookies, Serialize all requests from a client, does not survive process shutdown, Can not maintained across machines in a Web farm. |
| 6. | What is the difference between ASP Session and ASP.NET Session? |
|---|---|
| Asp.net session supports cookie less session & it can span across multiple servers. |
| 7. | What is reflection? |
|---|---|
| All .NET compilers produce metadata about the types
defined in the modules they produce. This metadata is packaged along
with the module (modules in turn are packaged together in assemblies),
and can be accessed by a mechanism called reflection. The System.Reflection namespace contains classes that can be used to interrogate the types for a module/assembly. |
| 8. | What is the difference between Server.Transfer and response.Redirect? |
|---|---|
| The Server.Transfer () method stops the current
page from executing, and runs the content on the specified page, when
the execution is complete the control is passed back to the calling
page. While the Response.Redirect () method transfers the control on the specified page and the control is never passed back to calling page after execution. |
| 9. | What is a PostBack? |
|---|---|
| The process in which a Web page sends data back to the same page on the server. |
| 10. | What namespace does the Web page belong in the .NET Framework class hierarchy? |
|---|---|
| System.Web.UI.Page |
Labels:
Interview Question
C# Interview Questions
C#.Net Interview Question and Answers
| 1. | What is C#? |
|---|---|
|
| 2. | What are the types of comment in C#? |
|---|---|
|
| 3. | What are the namespaces used in C#.NET? |
|---|---|
|
| 4. | What are the characteristics of C#? |
|---|---|
|
| 5. | How does C# differ from C++? |
|---|---|
|
| 6. | What are the basic concepts of object oriented programming? |
|---|---|
|
| 7. | Can you inherit multiple interfaces? |
|---|---|
| Yes. Multiple interfaces may be inherited in C#. |
| 8. | What is inheritance? |
|---|---|
| Inheritance is deriving the new class from the already existing one. |
| 9. | Define scope? |
|---|---|
| Scope refers to the region of code in which a variable may be accessed. |
| 10. | What is the difference between public, static and void? |
|---|---|
|
Labels:
Interview Question
Subscribe to:
Posts (Atom)









