Return Pixel in MVC Controller - C#

Return Pixel in MVC Controller - C#

code snippet

c#
public FileContentResult Pixel()
{
   string gif1x1 = @"R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
   return new FileContentResult(Convert.FromBase64String(gif1x1), "image/gif");
}

"It is never too late to be what you might have been"

Contact me!

Have questions? Feel free to use the form or send me an email with any questions.

I will be responsive to your requests and your questions.