Improve company productivity with a Business Account.Sign Up

x
?
Solved

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

Posted on 2009-04-01
1
Medium Priority
?
425 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
ID: 24056830
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …
Did you know PowerShell can save you time with SaaS platforms? Simply leverage RESTfulAPIs to build your own PowerShell modules. These will kill repetitive tickets and tabs, using the command Invoke-RestMethod. Tune into this webinar to learn how…

586 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