The code below constructs a url for a password reset method something like this
It works fine locally but on the dev server
it does not add a forward slash before the verifyuser.aspx?
I have tried every combination even hard coding the slash in but it will not add it.
I am sure it is to do with the way the IIS virtual is set - but I have not access to it
Can anyone help?
string baseURL = Request.Url.GetLeftPart(UriPartial.Authority) + Request.ApplicationPath;
string verifyUrl = "VerifyUser.aspx?Verify=" + VerinID.ToString();
VeriURL = baseURL + verifyUrl;