Questions tagged [upshot]

Client-side JavaScript library to work with remote data exposed over HTTP Web APIs

Built to be integrated with Knockout.js and to provide extensive cross-browser support, Upshot.js is a lightweight but powerful client-side library to work with Web APIs, providing data sources so entities can be queried, updated, deleted and created over those APIs transparently and with minimal effort.

55 questions
51
votes
4 answers

Where can I find Upshot.js examples and documentation?

Steve Sanderson gave a very interesting presentations at Techdays 2012 in the Netherlands. In one of them he presented a library that he used for client-server communication in MVC application: Upshot. I was really amazed how easy it was to use it,…
Michal B.
  • 5,676
  • 6
  • 42
  • 70
19
votes
6 answers

Current status of Upshot.js

I am thinking of using upshot.js along with Knockout in one of my very important projects. I do not see any documentation or any activity around upshot. Before I commit to this decision, is this project still active? If the entire asp.net stack…
Ajay
  • 746
  • 1
  • 10
  • 25
9
votes
2 answers

Upshot/Knockout Architectural Best Practices - What is the preferred provider to use in communicating between Upshot and .NET?

For a current project, I am trying to get a feel for how to effectively utilize Knockout 2.1.0, Upshot 1.0.0.2, ASP.NET MVC4, and Entity Framework 4.3. There are a lot of basic architectural questions which don't seem to have ready answers. I am…
Anthony Gatlin
  • 4,407
  • 5
  • 37
  • 53
9
votes
1 answer

How can I configure Upshot to make partial updates of a ViewModel back to the server?

I have created a Single Page Application (ASP.NET MVC4) using Steven Sanderson's instructions. The issue I'm currently seeing is that whenever I edit an item and save the changes, Upshot sends the whole item back to the server and not only the…
Juan Campa
  • 1,181
  • 2
  • 14
  • 20
8
votes
4 answers

upshot js vs. breeze js

Is upshot js under active development? All upshot articles have been written in March 2012. Is upshot js stable? Breeze seems to be under active development. Is it ready for production? The vs spa application template was added and later…
Clive
  • 1,128
  • 2
  • 11
  • 19
7
votes
1 answer

Single Page Application, upshot.js, DbContext and DbDataController : Only Entity Models are supported?

When using the examples for Single Page Application, I've the following TodoItem controller: public partial class MVC4TestController : DbDataController { public IQueryable GetTodoItems() { return…
Stef Heyenrath
  • 9,335
  • 12
  • 66
  • 121
5
votes
1 answer

How to configure Upshot.js for an OData service?

In the Upshot.js library, that is part of the http://www.asp.net/single-page-application feature of ASP.NET MVC 4 Beta, how can it be configured to work with an OData service developed with WCF Data Services? The source code contains a…
Fernando Correia
  • 21,803
  • 13
  • 83
  • 116
4
votes
1 answer

Binding upshot to a Web API in a different project

I am trying to create a SPA application, to take advantage of upshot and its capabilities. However, the services exposing the data (i.e. the Web API) is in a completely separate project, already hosted on IIS. I would like to bind upshot to that…
Szilard Muzsi
  • 1,881
  • 2
  • 16
  • 20
4
votes
2 answers

How to set up a Single-Page Application in Visual Studio 2010

I've read about Single-Page Applications recently and wanted to try one out. After watching Steve Sanderson's presentation (http://channel9.msdn.com/Events/TechDays/Techdays-2012-the-Netherlands/2159) I wanted to create a Single-Page App in my…
4
votes
2 answers

Upshot.js and LINQ to XML

Playing around with Upshot and the DbDataController all seems fine. I am wondering if Upshot is compatible with a normal ApiController? e.g. An Api Controller Post method which takes a Model and then adds that model to an XML file in some way or…
MaxWillmott
  • 2,170
  • 2
  • 23
  • 34
3
votes
1 answer

How does one access and bind the entity meta-data (through JavaScript on the client) available from Upshot?

One of the supposed benefits of Upshot is its ability to query meta-data exposed through Data Annotations. How would one access meta-data for entity properties for things like string length, default values, display name, description information, and…
3
votes
1 answer

upshot.js + signalr + knockout

Is it possible to combine upshot/knockout with signalr (I can only find questions about knockout and signalr only)? For example if I add a Task using: self.addTask = function () { var task = new Task({ LastUpdated : new…
user1167132
  • 31
  • 1
  • 3
2
votes
1 answer

Upshot MVC 4 handling of Date, knockout bindings

How does upshot.js handles DateTime objects? As it seems its just creating "normal" strings and not creating a real JS date object. All the problems related to JSON date formatting and MVC are discussed here already: Handling dates with Asp.Net…
Obiwan007
  • 646
  • 1
  • 8
  • 20
2
votes
1 answer

How to databind JQuery Mobile with Knockout and Upshot

I am trying to build a JQuery Mobile UI which uses upshot for getting data from the service and then uses Knockout.js to bind the values to a list. I am able to populate the data however, the JQuery mobile styles are not getting rendered. Here is my…
user1288411
  • 149
  • 1
  • 10
2
votes
1 answer

Creating new upshot js entities

I'm building a site as a Single Page Application using ASP.NET MVC 4 Beta . The sample app talks about adding new entities and it uses a constructor function for it's product entity. However I have many entity types and I'm not going to write a…
1
2 3 4