开发者

Dynamic alternative to RIA services?

开发者 https://www.devze.com 2023-03-23 02:59 出处:网络
I\'m building a silverlight line of business application in silverlight 4 using RIA services currently and i\'m finding RIA services to be more and more of a pain everyday..

I'm building a silverlight line of business application in silverlight 4 using RIA services currently and i'm finding RIA services to be more and more of a pain everyday..

A lot of the database interaction in this application doesn't follow the usual CRUD pattern and some of the data just doesn't "fit" with the RIA services style of doing things..

Even more importantly it doesn't fit the way my brain thinks about web services!

(I think that abstraction often gets in the way of the business problem you're trying to solve)

It's got to a point where a scary chunk of the code base is workarounds for the object context and spoofing ID's to create some kind of unique key etc..

I'd also like to swap out entity framework for 开发者_开发问答rob conery's massive (he thinks the same way as me about abstraction, dynamic typing etc..)

Are there any alternatives which work using dynamic typing and JSON?

If not I may have to roll my own!


Have you looked at WCF Data Services? http://msdn.microsoft.com/en-us/data/bb931106.aspx


You might also find that WCF Web APIs suits you better. http://codebetter.com/glennblock/2010/11/01/wcf-web-apis-http-your-way/#0_undefined,0_

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号