开发者

Pattern for Scalable Solutions for .NET

Which is the best pattern to work with objec开发者_如何转开发t serialization, WCF and nhibernate + Oracle.

I mean, nhibernate is a Generic ORM tool, and i would like to make my WCF Service generic too.

Imagine that, my service has only 3 Generic Methods: "Save", "Delete", "Get" and each method has its message type.

I've tried to serialize object using JSON ... and pass it to WCF, but i've had a lot of problems with JSON Serialization (cyclic references and etc).

How do you guys implement a large-scalable-solution?


If you are looking for a data access over WCF, look into WCF Data Services. Its supports many data formats including JSON

The protocol is discussed here: http://www.odata.org/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜