#83 fixed wrong port in generated url. Added app domain in WebApplication and use it for generating url.