开发者

How to develope a signature generator in ASP.net / c# for board-signatures?

开发者 https://www.devze.com 2023-02-17 06:10 出处:网络
my goal is to develop a signature generator for board-signatures. I have my database with a few information about characters in a online-game.

my goal is to develop a signature generator for board-signatures.

I have my database with a few information about characters in a online-game. A user should get a image-link, and should be able to write it in there board-signature. In the Image should be a link to my page and a few information from my database.

Here is an example, which 开发者_JAVA百科I want to build for another online game: http://www.zetbit.com/

How to do that in ASP.Net / C# / .NET 3.5?


I would suggest the following steps:

  1. Create an .ashx (Generic Handler) in your site: http://msdn.microsoft.com/en-us/library/bb398986.aspx
  2. Use System.Drawing to load the background images: Dynamically Rendering asp:Image from BLOB entry in ASP.NET
  3. Draw the image text on them: http://www.codeproject.com/KB/web-image/TextOnImage.aspx
  4. Set an Http Expires header with a reasonable amount of time to minimize requests to your site
  5. Include a bit of html that includes an <a href='..'> tag around the image url that points to your ashx handler. (this is the part that users would copy and paste into their signature)
0

精彩评论

暂无评论...
验证码 换一张
取 消