David Tate
  • Home
  • About
  • Books
  • DIY Tech MBA

javascript

Glorious Hack #97: Wrapping regular ViewResults as JSON for rich client-side processing

I recently had the need on a ASP.NET MVC/js project to wrap the results of a controller action in JSON so the middle-class UI could consume and then do one of: * Redisplay the current active popup because validation failed (and I wanted to use the built-in MVC validation)
David Tate Nov 17, 2011
  • [Product of BGA Studios]:
  • Navigating Remote Work
  • DIY Tech MBA
  • 10x Debugger
David Tate © 2026. Powered by Ghost