Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法将 ELMAH 配置为在 Azure blob 中写入日志,以便可以在一个地方监视来自多个实例的日志记录?例如,将 ELMAH 配置为写入 blob,而不是写入文件系统中的文件。
我想这可以使用 SQL 来完成,但我试图避免再添加一个组件。
你可以使用这个:
Azure 表存储上的 Elmah
或这个:
Elmah 与 Windows Azure 表存储
两者都使用表存储与 Blob。我们已经使用后者几年了,效果很好。