REST WCF Causes IIS to crash

I am attempting to create my first wcf service based on the REST architecture and something is going wrong. This is a simple service that returns a product list. I just wish to have this in a REST style implementation.

Could someone please look at the project and tell me where am I going wrong?  I am using Windows 7 32 bit and Visual Studio 2012 to build and test this project.

The project compiles, but when I run it from Visual Studio, it crashes the IIS process.
ModSpaceAsked:
Who is Participating?
 
ModSpaceConnect With a Mentor Author Commented:
I had to make a few changes to the product class in order to get this working. Now this is a fully working solution.
0
 
käµfm³d 👽Commented:
Which project?
0
 
ModSpaceAuthor Commented:
I attached a file in my post. Anyway I have made some progress. I realize that the project works if my function returns a simple type like a string.

In case of complex types, it fails.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
käµfm³d 👽Commented:
There's no attachment in your original post.
0
 
ModSpaceAuthor Commented:
Here is the project. I have uploaded this to my dropbox folder.

https://www.dropbox.com/s/ji08t13tuczshds/Lesson2.zip
0
 
ModSpaceAuthor Commented:
This solution is too simple for my present needs.
0
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.

All Courses

From novice to tech pro — start learning today.