What is Virtual path in ASP.Net

Answers were Sorted based on User's Feedback



What is Virtual path in ASP.Net..

Answer / nandu

suppose A browser request was made using the following URL:
http://www.contoso.com/MyApplication/MyPages/Default.aspx.

The term "virtual path" refers to the portion of the
request URL that follows the server identifier; in this
case, the virtual path is the
following: /MyApplication/MyPages/Default.aspx.

Is This Answer Correct ?    4 Yes 0 No

What is Virtual path in ASP.Net..

Answer / shiv

Virtual Path is the file path inside a folder of web
application.

Example <img src="../Images/SampleImage.jpg" />

Here, the image contril shows the file
named "SampleImage.jpg" inside the folder "Images" of the
web application.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?

1 Answers  


Explain the differences between managed and unmanaged code?

0 Answers  


What is the difference between application state and caching?

0 Answers  


What are the different types of sessions in asp.net?

0 Answers  


if you disable view state of a textbox will it maintain data during postbacks.if yes reason

9 Answers   FactorH, Jindal, Oxi Infotech,






How does windows service lifecycle differ from a .standard. Exe?

0 Answers  


What are session state modes?

0 Answers  


You have multiline textbox and submit button. if you paste xml content into multiline textbox and hit submit button. what action will perform?

6 Answers   D&B,


What is %20 in a url?

0 Answers  


After capturing the SelectIndexChanged event for a ListBox Control, you find that the event handler doesn?t execute. What could be the problem be? a) The AutoEventWireup attribute is set to False b) The AutomaticPostBack attribute is set to False c) The codebehind module is not properly compiled d) The ListBox must be defined WithEvents.

2 Answers   Syntax Softtech,


What are generics? why it is used? architecture of ASP.NET?

7 Answers   Path Infotech, Satyam, TCS,


What does a switch do?

0 Answers  


Categories