【问题标题】:Design being messed-up after deploying on Azure [closed]在 Azure 上部署后设计被搞砸了[关闭]
【发布时间】:2020-04-25 09:39:45
【问题描述】:

当我通过 Visual Studio 在 localhost 上运行时,我的应用程序看起来不错,但是当我在 AZURE Web App Service 上发布它时它会造成混乱。我正在使用 Azure Web 应用服务的免费层级。

Image of the header of homepage at the local host

Image of the header of homepage at the Azure web app-service

Home page items at the localhost

Home page items at azure web-app-service

Button at the homepage at localhost

Button at azure web-app-service

我的网站链接是https://auctionit.azurewebsites.net/

【问题讨论】:

    标签: asp.net asp.net-mvc twitter-bootstrap azure azure-web-app-service


    【解决方案1】:

    如果您检查控制台选项卡,您会发现某些文件未正确加载。我相信这就是布局被破坏的原因,在 Azure 方面没有问题。

    【讨论】:

    • 如何处理这些文件?
    • 这是来自您网站的错误。我不知道它们是什么意思。打开开发者工具栏,你会看到
    【解决方案2】:

    与 Azure 免费层无关。

    根据您在此处显示的内容,这与样式有关。检查您的 CSS 和内联样式。确保正确部署所有 css 和其他与样式相关的资源。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-01-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多