Stories recently tagged with 'ActionResult'

How to pass Dictionary as a parameter to an ActionResult(stackoverflow.com)

submitted by crpietschmanncrpietschmann(11.3k) 2 years, 7 months ago

I'm using jQuery to make an Ajax call using an Http Post in ASP.NET MVC. I would like to be able to pass a Dictionary of values. I finally figured out the best solution is to pass JSON via the Http Post and use a custom ModelBinder to convert the JSON to a Dictionary. One thing I did in my solution is created a JsonDictionary object that inherits from Dictionary so that I can attach the custom ModelBinder to the JsonDictionary type, and it wont cause any conflicts in the future if I use Dictionary as a ActionResult parameter later on for a different purpose than JSON. read more...

add a comment |category: |Views: 121

tags: another

ASP.Net MVC RSS Feed Action Result(blogs.microsoft.co.il)

submitted by JemmJemm(9604) 3 years, 1 month ago

"ASP.Net MVC ships with several Action Results. If you want to return a RSS Feed as a result, here is what you should do." read more...

add a comment |category: |Views: 50

tags: another

ASP.NET MVC DeveloperZen Feed Action Result(developerzen.com)

submitted by ekampfekampf(3195) 3 years, 1 month ago

Describes an easy way to expose RSS feeds as a controller's action result in ASP,NET MVC. read more...

add a comment |category: |Views: 35

tags: another