iis - How to change localhost to custom url for a project in visual studio? -


i working on outlook web addin (owa) project , downloaded sample project internet showing basic information of selected email. email information showing in .html page , .html page showing in iframe of owa. till point , can see details , handled project downloaded.

now our main requirement when user clicks on "inbox" need capture event , something. problem facing owa running in different domain , .html page running using visual studio running in different domain. don't have control on owa , if iframe page , main page both not in same domain can't execute js code parent page elements.

owa url: https://inexyz.customdomain.com/owa/#path=/mail

iframe url: https://localhost:12345/messageread.html

the problem facing how can run addin project incustomdomain.com. if host on local iis while debugging how can append messageread.html page url iframe? there way change localhost:12345 customdomain.com while debuggin using visual studio.

to resolve above problem tried change project url in visual studio. i've checked checkbox "override application root url" , set custom url "https://machinename.customdomain.com/messageread.html" , instead of "iis express" set "local iis", created vistural directory same. if try brows messageread.html page using virtual directory it's working fine when try run solution (web addin project) it's showing "deployment error" , in error list window shows nothing.

i using visual studio 2015.

exchange server 2013.

os: windows 10.

iis: 10

anyone idea, how can change project url visual studio instead of localhost:prot?


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -