简体   繁体   English

如何创建在请求时更新的动态图像?

[英]How to create a dynamic image that updates when requested?

So I'm trying to make my own forum signature generator for some friends, and I've gotten most of the work done. 所以我正在尝试为一些朋友制作我自己的论坛签名生成器,并且我已经完成了大部分工作。 My real issue now is refreshing the information when the image is requested from my server. 我现在的真正问题是在从我的服务器请求图像时刷新信息。

I have almost no clue how to even go about it, so I'm sorry if my question is poorly written. 我几乎不知道如何去做,所以如果我的问题写得不好,我很抱歉。 Basically, I'm looking for someone to push me in the right direction on how to have the image refresh from the datasource when it gets requested, but only if it has been more than 5 minutes to prevent an overload. 基本上,我正在寻找有人向我推进如何在请求时从数据源刷新图像的正确方向,但前提是它已超过5分钟以防止过载。

Thank you. 谢谢。 I'll post code here, as I try to make it work once I get my start. 我会在这里发布代码,因为一旦我开始我就试着让它工作。

You will have to create a new HTTP handler. 您将不得不创建一个新的HTTP处理程序。 Check out this msdn post . 看看这个msdn帖子

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM