English 中文(简体)
WCF - 保留WCF(IIS Hosted)中的目标参考资料
原标题:WCF - Preserving Object References in WCF (IIS Hosted)

我正在getting。

Object graph for type MyCompany.MyEntity contains cycles and cannot be serialized if reference tracking is disabled. . Please see InnerException for more details.

在使用含有提及其他物体的物体的服务时(这些物体基本上属于lin类实体)。

I am reading this which explains how to enable preserving references for this case in the self hoseted service environment: http://blogs.msdn.com/b/sowmy/archive/2006/03/26/561188.aspx

然而,我的服务必须放在国际公务员制度中。 • 如何使该处能够正确编订名牌照?

最佳回答

这比我想象的要容易,而且肯定会更容易本条的内容: 我刚刚利用这一[概念=真实]来解决这个问题。

问题回答

暂无回答




相关问题
Test "User Must Change Password" field in .Net 3.5

I m trying to perform some basic AD User managment tasks in C# using .Net 3.5 I ve got a System.DirectoryServices.AccountManagement.UserPrincipal object that contains the user details. I can call ...

Entity Framework - Many to many question

I have a table called ASB and a table called PeopleInvolved. There is a junction table called PeopleInvolved_ASB which simply contains an ASBID and a PeopleInvolvedID column. The columns act as a ...

WCF: DuplexChannelFactory timeout error

I m using a DuplexChannelFactory when accessing my WCF service so that my service can use a callBackChannel to communicate back to the client. That s all fine but I get a timeout error when creating ...

AutoResetEvent, ManualResetEvent vs Monitor

Lets say I have to orchestrate a synchronization algorithm in .Net 3.5 SP1 and any of the synchronization primitives listed in the title fit perfectly for the task. From a performance perspective, is ...

Managing multiple .Net-Frameworks on a webserver

So I m in charge to deploy my project on the productive server where some other ASP.NET-Websites are also set up. The problem now is that I wrote my whole project under .NET 3.5 but on the webserver ...

Unit Testing .NET 3.5 projects using MStest in VS2010

There s a bug/feature in Visual Studio 2010 where you can t create a unit test project with the 2.0 CLR. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=483891&wa=...

热门标签