ASP.NET website looks different when deployed

后端 未结 5 1199
野性不改
野性不改 2021-02-19 18:10

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:19

    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.

提交回复
热议问题