How do I modify my WCF service to work with ASP.NET pages?
Posted
by Scott
on Stack Overflow
See other posts from Stack Overflow
or by Scott
Published on 2010-03-30T00:29:32Z
Indexed on
2010/03/30
0:33 UTC
Read the original article
Hit count: 534
I created a WCF service (.NET 3.5) that grabs data from a db and returns a list of objects. It works just fine. I tested it using the WCFTestClient application and got the desired results.
Now, I tried to create an ASP.NET web application and consume the service. After enabling <serviceDebug includeExceptionDetailInFaults="true"/>
in the config file, the error message is "Object reference not set to an instance of an object."
How do I modify the service to work with ASP.NET?
Thanks!
© Stack Overflow or respective owner