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
0
votes
1 answer

Upshot setFilter

I am trying to filter an upshot RemoteDataSource. With the setFilter function I can pass in an array of filters, but at the moment there is no way of specifying whether I want to apply (filter1 AND filter2), or (filter1 OR filter2). Looking into the…
Szilard Muzsi
  • 1,881
  • 2
  • 16
  • 20
0
votes
0 answers

MVC 5 offline application VS2013

I want to create a SPA in visual studio 2013 with MVC 5 capable to work offline and syncronize the data when back online. I saw there is a template in MVC 4 that work with knockout and upshot but I cannot find the same template in MVC 5. What is…
user4019463
0
votes
1 answer

Setting datasource url in upshot.js

I just watched an awesome presentation about Single Page App. I also looked at the sample code but couldn't figure out where we set WebApi url in upshot. We set datasource here: @(Html.UpshotContext(bufferChanges:…
londondev
  • 231
  • 2
  • 13
0
votes
1 answer

Upshot without DbDataController

I was going through the single page applications of the MVC4 and I could see that upshot.js interacting with the WebApi which is really cool. But going through the controller code i found that the Controller derives from the DbDataController which…
Moble Joseph
  • 647
  • 4
  • 14
0
votes
1 answer

Stuck with MVVM declaration using knockout & upshot

I have my service returinig data in this format Now I am trying to access data in html this way I am able to access the current period but not the Id of WebChartView. BTW I am using MVC4 chartResult is the view Model
Pavan Josyula
  • 1,355
  • 3
  • 13
  • 25
0
votes
1 answer

Scaffolded Upshot context not calling webapi?

I am following a very simple tutorial by Steve Sanderson and it seems like the scaffolded script does not call my webapi: cshtml code: @(Html.UpshotContext().DataSource(x => x.GetAllBugs())) Generated…
Bonk
  • 1,859
  • 9
  • 28
  • 46
0
votes
1 answer

Upshot/Knockout Architectural Best Practices - What is the preferred of method of limiting user access to functions exposed through the WebAPI?

A fundamental idea in implementing a single page application with Knockout and Upshot is that most of the data will received from and sent to the server in JSON format using AJAX. On the server, we will expose a number of endpoints (using perhaps…
Anthony Gatlin
  • 4,407
  • 5
  • 37
  • 53
0
votes
2 answers

Upshot/Knockout Architectural Best Practices - Which client-side validation library should be used with Knockout and Upshot?

There are at least three possible validation libraries which might work well with Knockout. These include: jQuery Validation (jQuery Plugin) Knockout.Validation [Knockout Plugin] (https://github.com/ericmbarnard/Knockout-Validation) Knock-Knock…
Anthony Gatlin
  • 4,407
  • 5
  • 37
  • 53
0
votes
1 answer

how to bind something to a function in knockout.js

I am using knockout.js and upshot.js to get a list of items from API controller on the server. This is basically my view model: self.templatesDataSource = upshot.dataSources.Templates.refresh(); self.templates =…
Alex Polkhovsky
  • 3,340
  • 5
  • 29
  • 37
0
votes
1 answer

refreshing knockout model after committing changes to upshot datasource

I followed the MVC4 SPA walkthrough example and created a simple application where I pull down a list of 10 topics, let users mark them as safe or bad, and then save changes. Now, when users save changes, I would like to reload the list with next 10…
Alex Polkhovsky
  • 3,340
  • 5
  • 29
  • 37
1 2 3
4