0

I implemented some code using backbone.js in Asp.NEt MVC3 and found backbone.js very helpful. Actually I am developing the data warehouse application where user at view side can run/save his data analysis. And after relogin can re-run the saved analysis. On clicking the save button at toolbar system persist the analysis in DB.

My question is that can someone point links where backbone.js interacts with rest based service using Asp.NET MVC 4 so to save/retrieve the data in DB .

Please do advice me the better way as well.

1 Answer 1

1

I've built several very large systems on top of ASP.NET MVC4 and WebAPI, with Backbone, recently. I highly recommend WebAPI. It's very easy to use, and works very well with Backbone.

http://www.asp.net/web-api

As one example of an app that I've built with it:

https://ravenhq.com/

The registration, login, management, and account settings are all Backbone on top of WebAPI.

Sign up to request clarification or add additional context in comments.

3 Comments

Web API is nice but SignalR noise is also giving me hints to explore it as well. Any thoughts ?
We had SignlR in RavenHQ for a while. it got pulled out because we were having issues right before going live. I'm not sure if it got put back in. But I love working with SignalR for realtime data updates. I wrote a post about how I do that, here: lostechies.com/derickbailey/2012/04/19/… but there are a lot of other options for making it work
@Derick Bailey how you handled authentication in your webapi, did you followed rest paradigm. or do you rely on cookies/ any third party.i have been pulling my hair how to avoid form based authentication with web api +backbone.js. the other part how you send the token/credentials via backbone. did you encrypt to base64.. ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.