Hi all,
I have to show runtime genrated image on a View in ASP.NET MVC web application. please can you suggest me how should i rrender this image (should i use aspx or ashx file) Being new to MVC i am asking this foolish question
Hi all,
I have to show runtime genrated image on a View in ASP.NET MVC web application. please can you suggest me how should i rrender this image (should i use aspx or ashx file) Being new to MVC i am asking this foolish question
If you choose between aspx and ashx - ashx is the better because they are lighter. In ASP.NET MVC you can also create your own ImageResult and use Controller's action to render images. You can use GDI++ to generate the images. If you need transparent images I suggest you save all images as .png files because the quallity of GDI++ generated .png-s is better than any other format.