alias/ short form of address of silverlight app on hosting

三世轮回 提交于 2020-01-16 18:53:26

问题


I host my Silverlight app in commercial hosting, but to get it I must put in address field in browser all physical path to aspx file ;/

http://netmajor.home.pl/SecretaryAppNav.Web/SecretaryAppNavTestPage.aspx

It is some way to configure application that I can write short address of my page ?


回答1:


If netmajor.home.pl is under your control, you could simply move a copy of the SecretaryAppNavTestPage.aspx page to the root of your website and rename it to something simpler.

Then you could access it via http://netmajor.home.pl/SL.aspx or whatever you want to call it.

There is no code behind for that page (or you could use the matching .html test page that you will also find in your project).

If you were to make it your default page (index.aspx or default.aspx) you could just use http://netmajor.home.pl/

Hope this helps.



来源:https://stackoverflow.com/questions/3558864/alias-short-form-of-address-of-silverlight-app-on-hosting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!