ASP.NET MVC custom ActionResult (ImageResult)(blog.maartenballiauw.be)

submitted by maartenbamaartenba(5845) 3 years, 8 months ago

The ASP.NET MVC framework introduces the concept of returning an ActionResult in Controllers since the "preview preview" release on CodePlex. The purpose of this concept is to return a generic ActionResult object for each Controller method, allowing different child classes returning different results. In this blog post, I will build a custom ActionResult class which will render an image to the HTTP response stream.

add a comment |category: |Views: 1045

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story