“~” means in asp.net application?

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


Please Help Members By Posting Answers For Below Questions

How many types cache in asp net?

750


Is session stored in browser?

703


How to bind all the binding controls in a page at once in ASP.NET?

717


Difference between singleton and singlecall.

758


What is the adavantage of using ASP.NET routing?

859


What are the new login controls in asp.net 2.0?

679


How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?

714


How is the asp.net mvc architecture different from others? : asp.net mvc

678


How do u deploy your asp.net application?

782


Is it true that a Web service must be written in .NET or not?

807


Explain how to prepare culture-specific formatting in .net.

713


What is Web API Routing?

803


How would you create a permanent cookie?

780


What is an il?

735


What are the different web pages?

660