This post extends part 1 and talks about how to get all the already submitted reviews, display them, and enable rating and commenting functionality on them, all using knockout js. This includes using knockout templates, adding additional functions/observables to pre-mapped view models, extending knockout binding handlers, and implementing a ‘show more’ function to dynamically load another page of results. Continue reading “Umbraco, knockout js and forms part 2” »
This post is about how to implement Umbraco MVC forms with Unobtrusive bootstrap validation and use knockout js to perform data binding. It also covers adding additional functions and properties to mapped observables without having to add them to your c# view models.
I recently had to create a REST service using .net’s web api. The only problem was that it was outputting the class name and properties ‘as-is’ and the root node was just was ‘ArrayOfClassName.’ This post is about outputting custom elements, attributes and root nodes using Xml serialization.