[C #] Modification of the dynamic generating image method for my web page

xiaoxiao2021-03-06  14

I used to introduce a web page dynamic generating picture method, found that this method is not good in practice, the application for stand-alone version is OK, but if the user requests for the C / S mode, each user request must regenerate a picture , Read and write a disk.

I have seen the method introduced in the latest cultivation I found that it is best to save the picture in the server's memory.

The following code can be done directly to display the pie chart.

/

<% @ Page language = "c #" ContentType = "image / jpeg"%>

<% @ Import namespace = "system.drawing"%>