Error!
Success!

Client Rendering Views with Spark and ASP.NET MVC

0
kicks

Client Rendering Views with Spark and ASP.NET MVC  (Unpublished)

There are quiet a few tutorials for Spark floating around, but I wanted to call out what appears to be a well hidden secret in the samples: the client rendering of views. In short, the client rendering produces JavaScript you can invoke on the client to render the same HTML you see when rendering a server-side partial view. This means you can happily fetch JSON from the server and use it to produce HTML without duplicating the server-side template logic on the client.


Kicked By:
Drop Kicked By: