azure - Azure appservices 预热永远持续
问题描述
我正在以相当好的计划在 azure appservices 上运行我的 asp.net C# 应用程序,并且我的应用程序初始化速度非常慢。每次我部署或重新启动应用程序时都会发生这种情况。
起初,我认为我的 global.asax Application_Startup 需要很长时间才能从数据库加载配置。但后来我意识到它甚至需要 20 多分钟才能到达我的 Application_Startup。
我正在寻找有关在哪里寻找问题根本原因的想法。
非常感谢
解决方案
I would suggest to check for Azure Metrics logs to get more details, also one of the best thing which I love to do is remote debugging on Azure app. You can check below post for more details on remote debugging:
推荐阅读
- c# - .Net Web API 在请求中添加属性
- java - 在没有 HATEOAS 的情况下获得响应的最佳方式是什么?
- graphql - 多个字段解析器使用不同的查询参数解析相同的 REST API
- mysql - MySQL存储函数给出错误(if - else)
- c# - MVC 更改登陆页面不起作用:Options.Conventions.AddPageRoute(
- python - 如何使用 pandas 为每个用户的选定列填充 NA 的最小值
- php - 如何将数组的多个复选框值插入数据库
- servicestack - PocoDynamo(提供的关键元素与架构不匹配)
- java - Sbt RootProject 或 ProjectRef 不下载 github 项目内容
- android - 如何使用 Glide 检测 gif 的完成情况?