.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> IIS >> Post New Question Subscribe to Interview Questions

What is a virtual directory?

Posted By :nishithraj     Posted Date :March 29, 2010    Points :10   Category :IIS 
It is the deployment platform for the ASP.NET Websites in IIS. It hanldes the request and response messages(from client & Server).

You can also find related Interview Question to What is a virtual directory?  below: 

What is web application virtual directory?

  
A virtual directory appears to client browsers as though it were
contained in a Web server's root directory, even though it can physically Reside somewhere else. (More...)

What is Active Directory? What is the namespace used to access the Microsoft Active Directories? What are ADSI Directories?

  
Active Directory Service Interfaces (ADSI) is a programmatic interface for Microsoft Windows Active Directory. It enables your applications to interact with diverse directories on a network, using a single interface. Visual Studio .NET and the .NET Framework make it easy to add ADSI functionality with the DirectoryEntry and DirectorySearcher components.

Using ADSI, you can create applications that perform common administrative tasks, such as backing up databases, accessing printers, and administering user accounts. (More...)

Explain Virtual Function in C#.

  
Virtual functions implement the concept of polymorphism are the same as in C#, except that you use the override keyword with the virtual function implementaion in the child class.

The parent class uses the same virtual keyword. Every class that overrides the virtual method will use the override keyword.


class Shape{
public virtual void Draw()
{ Console.WriteLine("Shape.Draw") ; }
}
class Rectangle : Shape{
public override void Draw()
{ Console.WriteLine("Rectangle.Draw"); }
} (More...)

What are virtual path providers?

  
Its the path providing facility to provide the virtual content to compiler. For example, a virtual path provider provides a means to supply content from locations other than the file system.

To attain the same following step(s) are required :
1. Create a VirtualPathProvider class, and implement all the required methods to handle files and folder requests.

2. Register the virtual path provider to let the ASP.NET hosting environment know where the content will be served from.

3. Create VirtualFile and VirtualDirectory objects to stream the content.


For more details, visit http://support.microsoft.com/kb/910441 (More...)

What are the differences between web part page gallery, site gallery,Virtual server gallery and online gallery in SharePoint?

  
Web Part Page Gallery in SharePoint is the default gallery provided by Microsoft that comes installed with SharePoint. Site Gallery is specific to one sharepoint website site. Virtual Server gallery is specific to that virtual server and online gallery is available for download web parts from MSDN. (More...)

Can you override private virtual methods in .NET Framework?

  
No, moreover, you cannot access private methods in inherited classes, have to be protected in the base class to allow any sort of access. (More...)

What is a virtual function ?

  
virtual function is a function that you want to force derived classes to override. if a class has any overridden pure virtuals, it is an "abstract" class and you can't create objects of that type. (More...)

What is the keyword used in VB to carry out the work of virtual keyword of C#?

  
The Overridable keyword. It declare a method to support polymorphism. (More...)

Expalin one difference between Abstract and virtual methods?

  
Virtual method can be overriden in any of its derived class and abstract method must be overriden in any of the non abstract class. (More...)

What's the use of pure virtual function in c#?

  
The virtual function is used to allow the subclasses to provide implementation for that method using the keyword override.

class MyClass
{
public void MyMethod()
{
Console.WriteLine("MyClass.MyMethod is called");
}
public virtual void MyVirtualMethod()
{
Console.WriteLine("MyClass.MyVirtualMethod is called");
}
} (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend