notation - Absolute URL paths mysteriously broken - Am I doing it Wrong? -


i developing asp.net mvc application, , have been while.

i use ~ notation relative urls, can use same code testing , deployment.

when i'm running localhost using http://localhost:xxxx

when system live url pattern http://server_name/build_db_name

previously, ~ notation suffice ~/management/employees work fine, unknown reason, not case anymore.

so under impression i've somehow been doing wrong.

so question: what reliable way of constructing relative urls?


Comments