You have several options:
- Use the System.Drawing namespace to create a bitmap to draw onto with
Graphics
object and then save the image to file or stream it to the browser for display. Check out Creating Images on the Fly with ASP.NET for a tutorial. - Use SVG (Scalable Vector Graphics). Check out SVG Tutorial.
- Use HTML5 Canvas. Check out Getting Started with the HTML 5 Canvas for a tutorial.