2

This is my first question on SO, so please bear with any mistakes/irregularities.

I wanted to implement SPA for my new project, Hence I reached Steve Sandersion's after some googling blog.

Looking at the code hosted on github, I noticed that I had to use EF to use Upshot, but my DAL is already written in Linq to Sql, which will be very tiresome to migrate to EF.

So my questions are as below

  1. Has anyone successfully used upshot with L2S? If yes some example would help.
  2. Is there any other way to implement the SPA without upshot so that I can reuse my DAL in L2S?

Edited

I just found today that this question stands useless, as using upshot will not be feasible. Microsoft has stopped working on Upshot.Some one please close this question.

Community
  • 1
  • 1
dicemaster
  • 1,203
  • 10
  • 22

2 Answers2

1

I don't think it is possible. Microsoft has made it sure that people using Linq-to-sql don't survive. Better use something like jquery and web api with some js mvvm libraries.

1

As far as I know this should be possible. When using upshot you don't need to use entity framework, you can do the wireing for your self.

In my ria 4 html demo, I make use of ria services to get the data from the server to the upshot client. This way it doesn't depend on the DAL you have. Ria services works by conventions, meaning insert, update and remove methods are present on every domaincontext and you can implement them as you want. For more info you can read this blogpost on setting everything up. And this on for the CRUD operations.

Kristof Degrave
  • 4,142
  • 22
  • 32
  • I checked your demo. It really looks gr8. Do you know of any documentation for Upshot? Thanks – dicemaster Dec 03 '12 at 14:36
  • 1
    Well, this could be an issue. MS recently decided to suspend the upshot development for an unknow time. So the most information you will find is on blogs like mine. I can give you an other framework that does the same "breeze.js" (http://www.breezejs.com/). But I haven't got a chance to take a closer look at it. – Kristof Degrave Dec 03 '12 at 19:16