Solved

wcf returns object with null property if I have no breakpoints. Linq to SQL class

Posted on 2009-04-01
1
393 Views
Last Modified: 2012-05-06
Hi

I have a problem with my wcf service. My webservice it returning a ticket object. This object has a property called sessions. When i am debugging my stuff and putting in breakpoint everything goes ok but as soon as i remove these breakpoints this sessions is null.

When i put a breakpoint in the service the object is ok but when this object is returned by the service it has some null values.

My classes i try to pass is made from the Linq To Sql designer. Maybe this is related?



0
Comment
Question by:jaydb
1 Comment
 

Accepted Solution

by:
jaydb earned 0 total points
Comment Utility
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How do I get the id from URL? 19 47
XML to SQL Table using c# 5 44
ConsoleSql 1 14
getting id from database 5 24
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now