Find jobs | Company-wise jobs
Jobseekers | Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Interview Q&A Tutorials .NET Java Soft skills CV GD Work from home IT practice test MBA practice test FAQs in PDF Books Jobs FAQs
Interview questions                                 
.NET FAQs
C#.NET FAQs
VB.NET FAQs
Check your Framework skills!
Check your ASP.NET skills!
Test your ADO.NET skills!
DOT.NET FAQs
 
NET framework
NET assembly
NET code security
NET access modifiers
NET architecture
NET base class library
NET CLR
NET constants,enum,arrays
NET data types
NET menu
NET garbage collection
NET debug and trace
NET properties
NET form
NET assemblies & resources
NET class & structures
NET binding,viewing,filtering
NET configuring & optimizing
NET configuring setup project
NET constructors & destructors
NET control
NET dataset objects
NET debugging tools
NET debug & trace classes
NET delegates & events
NET exception handling
NET globalization-localization
NET interoperability
NET project deployment
NET securing application
NET using XML
NET validating user input
NET windows communication
NET windows presentation
NET windows workflow
NET Crystal Reports
.NET Framework
 
ADO.NET
OOPS in .NET
Net mobile
LINQ
.NET compact framework
Silverlight
 
 

DOT.NET interview questions

Describe the programming model of a windows service.

Latest answer: Windows services are based on the class that is inherited from System.ServiceProcess.ServiceBase class. Methods from this class are overridden to provide the functionality as per the user’s requirement................
Read answer

Explain the states of a window service application - running, paused, stopped and pending.

Latest answer: a. Running: Normal operation occurs during this stage.
b. Paused: The service cannot perform anything beyond till the paused state is changed..............
Read answer

Explain the types of window services.

Latest answer: Win32OwnProcess, Win32ShareProcess. Win32OwnProcess: It is a Win32 process that can be started by the Service Controller. This type of Win32 service runs in a process by itself..............
Read answer

Explain the steps to create a windows service.

Latest answer: Steps to create a windows service: a. Create windows service project b. Set the properties as per you want your service to work. c. Write the processing for OnStart and OnStop..............
Read answer

Describe how to add functionality to a service application.

Latest answer: It is done by overriding the functions of Base class........
Read answer

Explain the need of installer in a service application.

Latest answer: The installer allows the registration of a service on the system and let the Service Control Manager know that the service already exists on the system.........
Read answer

Explain the steps to attach a debugger to a service application.

Latest answer: Steps to attach a debugger to the application: a. Start the service needed to be debugged. b. In Visual Studio IDE, select Debug menu and click on Processes...............
Read answer

Explain how COM+ related to the DNA architecture.

Latest answer: COM+ is the core service in all the services of window DNA architecture. COM+ allows various components of window DNA t work together to form a robust.........
Read answer

Describe the use of following COM+ services - [Hint] JIT Activation, Queued components, object pooling.

Latest answer: JIT Activation: In this case, an object gets activated on calling a method and it gets deactivated when the call returns back.........
Read answer

What is a Serviced component?

Latest answer: A serviced component is a class that is inside all the CLS-complaint languages.........
Read answer

Explain with an example how to load the contents of an XML file into an XMLDocument object.

Latest answer: XmlDocument doc=new XmlDocument();
Doc.Loadxml(@“c:\abc.xml”);.............
Read answer

Explain how to read the contents of an XML document using XMLTextReader.

Latest answer: XmlTextReader xmlReader = new XmlTextReader(@"c:\abc.xml");
while(xmlReader.Read())................
Read answer

Explain how to write data to an XML file.

Latest answer: XmlTextWriter writer = new XmlTextWriter(@"c:\abc.xml", null);

//Write the root element
writer.WriteStartElement("root");...............
Read answer

Explain how XPathNavigator read data from an XMLDocument.

Latest answer: public void DoRead()
{
        XPathNavigator myNavigator;
        XPathDocument myDocument;................
Read answer

What is an XML Web service?

Latest answer: XML Web Service is a unit of code that can be accessed independent of platforms and systems. They are used to interchange data between different systems in different machines for interoperability.........
Read answer

Explain the component of XML web service infrastructure.

Latest answer: XML Web services directories: It provides a central location for all service providers in order to publish information about their available XML Web services. These directories could also be in XML format which are programmatically accessible.........
Read answer

Describe the steps to deploy a web service.

Latest answer: a. Using xcopy or Publish wizard copy the file to the destination server.
b. Make the destination directory a virtual directory in IIS..............
Read answer

Describe the components that are published when a web service is deployed.

Latest answer: Asmx file: This is the main service file.
Config: The configuration for the web service application..........
Read answer

Describe what the .disco file contains.

Latest answer: It defines a document format that enables discovery of the web services available on the web server.........
Read answer

Explain the steps to configure discovery information for an XML web service.

Latest answer: The .disco file contains links to resources that define the specific XML web service. This allows discovery of the web service.........
Read answer

Explain the steps to consume a web service in a client application.

Latest answer: a. Add a web reference to the application
b. Choose from a list of available web services.......
Read answer

Describe the steps to enable transactions in a web method.

Latest answer: You have to use TransactionOption property of the WebMethod attribute.........
Read answer

Explain the deployment features of the .NET Framework.

Latest answer: No-impact applications: Applications are isolated preventing conflicts. Private components by default: Components are copied to the application folder and hence only that application can use them..........
Read answer

What are Merge Module projects?

Latest answer: Merge Module projects enable creation and deployment of code that can be shared by multiple applications.........
Read answer

Explain the format of the assembly version stored in the AssemblyInfo file.

Latest answer: AssemblyVersion/AssemblyFileVersion
Format: [MajorVersion].[MinorVersion].[BuildVersion].[RevisionVersion]................
Read answer

What are User-defined types in .NET? How to create user-defined in C#.NET?
What are the Enumerations? How to create Enumerations in C#.NET?

Latest answer: An enumeration is a special type of collection in the .NET Framework that can contain lots of named constants.........
Read answer

Define Stream class in .NET. Explain with an example using C#.NET.

Latest answer: The Stream class gives a view of various types of input and output. Streams involve three fundamental operations:........
Read answer

Explain common Stream types in Net. [Hint - FileStream, MemoryStream, StreamReader, StreamWriter]

Latest answer: FileStream: is to read from, write to, open, and close files on a file system. FileStream objects support random access to files using the Seek method.........
Read answer

Explain how to compress data with a compression Stream.

Latest answer: Compression streams write to another stream. The compression streams take in data like any other stream. But then it writes it in compressed format to another stream..........
Read answer

Explain how to Throw and Catch Exceptions in C#.NET
Explain when should we use StringBuilder class instead of the String class.

Latest answer: Whenever any of the methods of String class is used to modify the string, a new object is created and memory is allocated to that object.........
Read answer

Explain why we should close and dispose resources in a Finally block instead of Catch block.

Latest answer: Catch block gets called only when an exception occurs or is explicitly thrown but we need to release our resources in either case (task failure or success)..............
Read answer

What is an Interface in NET? Explain with an example using C#.NET.

Latest answer: Interface contains only the declaration for its abstract members (events, methods, properties). Any implementation must be placed in class that implements them..........
Read answer

Define most commonly used interfaces in Net Framework.

Latest answer: IComparable, IDisposable, IConvertible, ICloneable, IEquatable, IFormattable
IComparable: It is implemented by types for ordering and sorting. The implementation types must implement one single method i.e. CompareTo.........
Read answer

Explain with an example how to create and consume a Generic type.

public static object CreateMethod(Type generic, Type innerType, params object[] args)
{
     System.Type type = generic.MakeGenericType(new System.Type[] { innerType });
     return Activator.CreateInstance(type, args);..............

What is Type Forwarding in NET? Explain steps to move a type from one class library to another.

Latest answer: Type forwarding is a technique to move types from one assembly to another without the clients needing to recompile the assemblies.................
Read answer

What is SOAPFormatter? Explain how to serialize an object.

Latest answer: It is an xml based serialization technique which is used to serialize and deserialize objects and data across networks.................
Read answer

Explain why we use XML Serialization.

Latest answer: Serialization allows persisting objects. XML serializations stores objects in form of XML which has become a storage standard.........
Read answer

Explain with an example using C#.NET - how to use XML to Serialize an object.

Latest answer: Use the namespace “System.Xml.Serialization”.........
Read answer

Explain with an example using C#.NET - how to use XML to deserialize an object.

Latest answer: XmlSerializer srl = new XmlSerializer(typeof(Class1));........
Read answer

Debug Build vs. Release build in .NET.

Latest answer: In Debug mode, You can use the development environment's integrated debugging functions.........
Read answer

What is Code Access Security? Describe the purpose of CAS.

Latest answer: Code access security is a mechanism to help protect computer systems from malicious code........
Read answer

What is a Permission? What is a Permission Set?

Latest answer: Permission is a rule to enforce restriction on a piece of managed code.........
Read answer

What are code groups in .NET?

Latest answer: Code group is a logical grouping of code that follows some given conditions for membership.........
Read answer

 

 
Want to be hunted by potential employers? Just submit your key skills!

Popular FAQs

.NET .Net Architecture ADO.NET Java Oracle C#.NET
VB.NET DOT.NET AJAX ASP.NET NET Framework OOPS in .NET
C++ Sql Server Data warehousing EJB MySQL Linux
PHP UML Networking Testing XML  
 
Copyright © 2008 - 2010 CareerRide.com. All rights reserved.