Answer Posted / s. verma
Absolute paths are not portable between applications. If you
move the application that the absolute path points to, the
links will break.
Relative paths in the style of client elements can be
difficult to maintain if you move resources or pages to
different folders.
To overcome these disadvantages, ASP.NET makes available the
Web application root operator (~), which you can use when
specifying a path in server controls. ASP.NET resolves the ~
operator to the root of the current application. You can use
the ~ operator in conjunction with folders to specify a path
that is based on the current root.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Explain About WebService
Define page fragment caching?
What is a web api endpoint?
Where would you use an ihttpmodule, and what are the limitations if any?
What is validation in asp.net?
Explain about Automatic resource management?
Is asp.net different from asp? If yes, explain how?
What is clickid?
Explain the page lifecycle of an asp.net mvc? : asp.net mvc
What are the different methods of session maintenance in asp.net?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
What are the various types of cookies in asp.net?
Where session id is stored?
Define data caching?
What is the difference between session.abandon() vs clear()?