ASP.NET website looks different when deployed

后端 未结 5 1690
礼貌的吻别
礼貌的吻别 2021-02-19 17:51

I have googled around for the answer to this question, but haven\'t come up with anything. Maybe the search terms I used were too generic... Anyway, here goes:

I am disc

5条回答
  •  花落未央
    2021-02-19 18:40

    I've seen similar behavior related to trusted sites/intranet sites/internet sites security settings. When you run in debug mode is the URL you are using different from when you publish it? I've seen sometimes when I debug using a URL like http://localhost/xxx and when I access the same site straight from IIS using a URL like http://machinename.domain.com/xxx that one resolves to a trusted site or local intranet and the other to internet and it changes the appearance based on the IE settings.

提交回复
热议问题